LCOV - code coverage report
Current view: top level - src/bin/psql Hit Total Coverage
Test: PostgreSQL 18devel Lines: 6940 11568 60.0 %
Date: 2025-03-30 17:15:16 Functions: 326 536 60.8 %
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 %

Filename Sort by name Line Coverage Sort by line coverage Functions Sort by function coverage
command.c
64.9%64.9%
64.9 % 1645 / 2533 90.7 % 97 / 107
common.c
75.2%75.2%
75.2 % 728 / 968 92.5 % 37 / 40
copy.c
56.0%56.0%
56.0 % 153 / 273 100.0 % 6 / 6
crosstabview.c
95.3%95.3%
95.3 % 225 / 236 100.0 % 15 / 15
describe.c
77.5%77.5%
77.5 % 2059 / 2657 90.9 % 50 / 55
help.c
95.9%95.9%
95.9 % 355 / 370 100.0 % 5 / 5
input.c
75.0%75.0%
75.0 % 99 / 132 90.0 % 9 / 10
large_obj.c
53.3%53.3%
53.3 % 57 / 107 85.7 % 6 / 7
mainloop.c
64.0%64.0%
64.0 % 165 / 258 100.0 % 1 / 1
prompt.c
35.7%35.7%
35.7 % 71 / 199 100.0 % 1 / 1
psqlscanslash.l
61.6%61.6%
61.6 % 77 / 125 85.7 % 6 / 7
sql_help.c
0.5%0.5%
0.5 % 3 / 555 0.5 % 1 / 185
startup.c
74.8%74.8%
74.8 % 431 / 576 95.3 % 41 / 43
stringutils.c
86.0%86.0%
86.0 % 92 / 107 100.0 % 3 / 3
tab-complete.in.c
27.7%27.7%
27.7 % 633 / 2289 97.4 % 37 / 38
variables.c
80.3%80.3%
80.3 % 147 / 183 84.6 % 11 / 13

Generated by: LCOV version 1.14