LCOV - differential code coverage report
Current view: top level - src/bin/pg_rewind - filemap.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 84.7 % 261 221 1 39 34 187 17
Current Date: 2026-05-29 21:51:00 -0400 Functions: 94.7 % 19 18 1 9 9 3
Baseline: lcov-20260530-034037-baseline Branches: 72.6 % 186 135 3 48 21 114 2 8
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 97.1 % 35 34 1 34
(360..) days: 82.7 % 226 187 39 187
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 93.3 % 15 14 1 5 9
Branch coverage date bins:
(30,360] days: 87.5 % 24 21 3 21
(360..) days: 70.4 % 162 114 48 114

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
calculate_totals UBC 0 0.0 % (0 / 19) 0.0 % (0 / 12)
filehash_init CBC 15 100.0 % (3 / 3)
keepwal_init CBC 15 100.0 % (3 / 3)
print_filemap GNC 15 100.0 % (11 / 11) 91.7 % (11 / 12)
keepwal_add_entry CBC 20 100.0 % (6 / 6) 50.0 % (2 / 4)
decide_wal_file_action GNC 30 100.0 % (5 / 5) 100.0 % (4 / 4)
keepwal_entry_exists CBC 694 100.0 % (2 / 2)
action_to_str CBC 5958 87.5 % (14 / 16) 85.7 % (6 / 7)
process_target_file CBC 18002 90.9 % (10 / 11) 87.5 % (7 / 8)
process_source_file GNC 18041 76.9 % (10 / 13) 75.0 % (9 / 12)
check_file_excluded CBC 18742 92.3 % (24 / 26) 67.9 % (19 / 28)
decide_file_action GNC 18759 80.8 % (42 / 52) 70.6 % (36 / 51)
getFileContentType GNC 19178 100.0 % (30 / 30) 85.0 % (17 / 20)
insert_filehash_entry GNC 36043 100.0 % (17 / 17) 100.0 % (2 / 2)
lookup_filehash_entry CBC 84347 100.0 % (2 / 2)
process_target_wal_block_change GNC 84347 93.8 % (15 / 16) 78.6 % (11 / 14)
datasegpath CBC 102141 66.7 % (4 / 6) 50.0 % (1 / 2)
final_filemap_cmp GNC 201142 100.0 % (10 / 10) 100.0 % (6 / 6)

Generated by: LCOV version 2.5.0-beta