LCOV - code coverage report
Current view: top level - src/common Coverage Total Hit
Test: PostgreSQL 20devel Lines: 80.4 % 6547 5262
Test Date: 2026-07-21 09:15:43 Functions: 88.8 % 464 412
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 % Branches: 68.7 % 4073 2798

File Sort by file name Line Coverage Sort by line coverage Branch Coverage Sort by branch coverage Function Coverage Sort by function coverage
Rate Total Hit Rate Total Hit Rate Total Hit
pgfnames.c
0.0%
0.0 % 25 0.0 % 22 0.0 % 2
sprompt.c
65.7%65.7%
65.7 % 35 23 31.8 % 22 7 50.0 % 2 1
unicode_category.c
31.9%31.9%
31.9 % 235 75 35.3 % 150 53 60.0 % 25 15
fe_memutils.c
54.1%54.1%
54.1 % 111 60 35.9 % 92 33 69.2 % 26 18
hmac_openssl.c
38.8%38.8%
38.8 % 134 52 22.4 % 58 13 70.0 % 10 7
md5_common.c
55.3%55.3%
55.3 % 47 26 35.0 % 20 7 75.0 % 4 3
blkreftable.c
69.3%69.3%
69.3 % 381 264 61.9 % 168 104 77.3 % 22 17
cryptohash_openssl.c
60.7%60.7%
60.7 % 135 82 46.6 % 58 27 80.0 % 10 8
wchar.c
80.8%80.8%
80.8 % 750 606 70.7 % 566 400 82.9 % 76 63
unicode_case.c
90.2%90.2%
90.2 % 123 111 76.2 % 84 64 85.7 % 14 12
logging.c
70.3%70.3%
70.3 % 148 104 51.7 % 89 46 90.0 % 10 9
encnames.c
83.6%83.6%
83.6 % 55 46 64.5 % 62 40 91.7 % 12 11
d2s.c
93.8%93.8%
93.8 % 321 301 92.7 % 150 139 92.3 % 13 12
f2s.c
94.7%94.7%
94.7 % 247 234 90.9 % 132 120 92.9 % 14 13
pg_prng.c
94.4%94.4%
94.4 % 71 67 71.4 % 14 10 94.1 % 17 16
archive.c
100.0%
100.0 % 9 9 50.0 % 4 2 100.0 % 1 1
config_info.c
100.0%
100.0 % 104 104 50.0 % 2 1 100.0 % 1 1
kwlist_d.h
100.0%
100.0 % 9 9 100.0 % 2 2 100.0 % 1 1
kwlookup.c
100.0%
100.0 % 17 17 100.0 % 16 16 100.0 % 1 1
link-canary.c
100.0%
100.0 % 3 3 - 100.0 % 1 1
percentrepl.c
66.7%66.7%
66.7 % 30 20 55.0 % 20 11 100.0 % 1 1
restricted_token.c
100.0%
100.0 % 2 2 - 100.0 % 1 1
rmtree.c
78.6%78.6%
78.6 % 42 33 57.1 % 35 20 100.0 % 1 1
file_perm.c
100.0%
100.0 % 14 14 100.0 % 4 4 100.0 % 2 2
psprintf.c
76.9%76.9%
76.9 % 26 20 50.0 % 12 6 100.0 % 2 2
username.c
68.8%68.8%
68.8 % 16 11 33.3 % 6 2 100.0 % 2 2
controldata_utils.c
69.6%69.6%
69.6 % 69 48 36.2 % 58 21 100.0 % 3 3
pg_get_line.c
77.1%77.1%
77.1 % 35 27 80.0 % 20 16 100.0 % 3 3
base64.c
81.5%81.5%
81.5 % 81 66 72.2 % 54 39 100.0 % 4 4
d2s_intrinsics.h
100.0%
100.0 % 8 8 - 100.0 % 4 4
pg_lzcompress.c
90.1%90.1%
90.1 % 142 128 84.1 % 132 111 100.0 % 4 4
relpath.c
93.8%93.8%
93.8 % 48 45 88.9 % 36 32 100.0 % 4 4
saslprep.c
86.0%86.0%
86.0 % 107 92 72.1 % 68 49 100.0 % 4 4
wait_error.c
52.4%52.4%
52.4 % 42 22 38.7 % 31 12 100.0 % 4 4
checksum_helper.c
83.5%83.5%
83.5 % 121 101 71.4 % 63 45 100.0 % 5 5
ip.c
76.0%76.0%
76.0 % 75 57 60.0 % 60 36 100.0 % 5 5
scram-common.c
65.8%65.8%
65.8 % 114 75 47.1 % 70 33 100.0 % 5 5
string.c
94.9%94.9%
94.9 % 39 37 86.4 % 22 19 100.0 % 5 5
ryu_common.h
100.0%
100.0 % 25 25 100.0 % 6 6 100.0 % 6 6
hashfn.c
98.8%98.8%
98.8 % 168 166 93.8 % 64 60 100.0 % 7 7
compression.c
84.3%84.3%
84.3 % 185 156 76.4 % 127 97 100.0 % 8 8
exec.c
71.6%71.6%
71.6 % 102 73 37.5 % 72 27 100.0 % 8 8
instr_time.c
84.3%84.3%
84.3 % 108 91 58.3 % 60 35 100.0 % 10 10
unicode_norm.c
90.6%90.6%
90.6 % 202 183 85.0 % 147 125 100.0 % 11 11
file_utils.c
72.7%72.7%
72.7 % 216 157 57.8 % 147 85 100.0 % 12 12
binaryheap.c
95.7%95.7%
95.7 % 93 89 80.0 % 30 24 100.0 % 15 15
stringinfo.c
91.8%91.8%
91.8 % 97 89 70.8 % 24 17 100.0 % 16 16
parse_manifest.c
95.6%95.6%
95.6 % 383 366 86.1 % 194 167 100.0 % 19 19
jsonapi.c
87.1%87.1%
87.1 % 997 868 76.9 % 800 615 100.0 % 31 31

Generated by: LCOV version 2.0-1