LCOV - code coverage report
Current view: top level - src/bin/psql Coverage Total Hit
Test: PostgreSQL 19devel Lines: 59.9 % 12167 7293
Test Date: 2026-03-19 04:15:52 Functions: 60.7 % 545 331
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 %

File Sort by file name Line Coverage Sort by line coverage Function Coverage Sort by function coverage
Rate Total Hit Rate Total Hit
sql_help.c
0.5%0.5%
0.5 % 570 3 0.5 % 190 1
tab-complete.in.c
27.0%27.0%
27.0 % 2482 669 97.4 % 39 38
prompt.c
33.3%33.3%
33.3 % 216 72 100.0 % 1 1
large_obj.c
53.3%53.3%
53.3 % 107 57 85.7 % 7 6
copy.c
56.0%56.0%
56.0 % 273 153 100.0 % 6 6
mainloop.c
64.0%64.0%
64.0 % 258 165 100.0 % 1 1
command.c
65.5%65.5%
65.5 % 2595 1700 91.7 % 109 100
psqlscanslash.l
66.0%66.0%
66.0 % 300 198 85.7 % 7 6
input.c
74.6%74.6%
74.6 % 126 94 100.0 % 4 4
startup.c
74.9%74.9%
74.9 % 577 432 95.3 % 43 41
common.c
75.3%75.3%
75.3 % 990 745 92.7 % 41 38
describe.c
78.6%78.6%
78.6 % 2758 2168 90.9 % 55 50
variables.c
80.5%80.5%
80.5 % 185 149 84.6 % 13 11
input.h
83.3%83.3%
83.3 % 6 5 83.3 % 6 5
stringutils.c
86.0%86.0%
86.0 % 107 92 100.0 % 3 3
crosstabview.c
95.3%95.3%
95.3 % 236 225 100.0 % 15 15
help.c
96.1%96.1%
96.1 % 381 366 100.0 % 5 5

Generated by: LCOV version 2.0-1