LCOV - differential code coverage report
Current view: top level - src/bin/pg_rewind - filemap.c (source / functions) Coverage Total Hit UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 84.7 % 261 221 40 221
Current Date: 2026-07-25 17:13:00 -0400 Functions: 94.7 % 19 18 1 18
Baseline: lcov-20260726-baseline Branches: 72.6 % 186 135 51 135
Baseline Date: 2026-07-25 19:16:42 +0200 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 14
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)
decide_file_action CBC 18759 80.8 % (42 / 52) 70.6 % (36 / 51)
process_source_file CBC 18041 76.9 % (10 / 13) 75.0 % (9 / 12)
action_to_str CBC 5959 87.5 % (14 / 16) 85.7 % (6 / 7)
check_file_excluded CBC 18742 92.3 % (24 / 26) 67.9 % (19 / 28)
datasegpath CBC 102070 66.7 % (4 / 6) 50.0 % (1 / 2)
process_target_file CBC 18002 90.9 % (10 / 11) 87.5 % (7 / 8)
process_target_wal_block_change CBC 84276 93.8 % (15 / 16) 78.6 % (11 / 14)
decide_file_actions CBC 15 100.0 % (13 / 13) 100.0 % (4 / 4)
decide_wal_file_action CBC 30 100.0 % (5 / 5) 100.0 % (4 / 4)
filehash_init CBC 15 100.0 % (3 / 3)
final_filemap_cmp CBC 201932 100.0 % (10 / 10) 100.0 % (6 / 6)
getFileContentType CBC 19178 100.0 % (30 / 30) 85.0 % (17 / 20)
insert_filehash_entry CBC 36043 100.0 % (17 / 17) 100.0 % (2 / 2)
keepwal_add_entry CBC 20 100.0 % (6 / 6) 50.0 % (2 / 4)
keepwal_entry_exists CBC 694 100.0 % (2 / 2)
keepwal_init CBC 15 100.0 % (3 / 3)
lookup_filehash_entry CBC 84276 100.0 % (2 / 2)
print_filemap CBC 15 100.0 % (11 / 11) 91.7 % (11 / 12)

Generated by: LCOV version 2.0-1