LCOV - differential code coverage report
Current view: top level - src/bin/pg_rewind - filemap.c (source / functions) Coverage Total Hit UBC GBC GNC CBC DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 84.7 % 261 221 40 1 220 1
Current Date: 2026-10-12 11:56:10 +0200 Functions: 94.7 % 19 18 1 1 17
Baseline: lcov-20261012-baseline Branches: 73.7 % 186 137 49 2 135
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 1 1 1
(30,360] days: 97.1 % 35 34 1 34
(360..) days: 82.7 % 225 186 39 186
Function coverage date bins:
(30,360] days: 100.0 % 4 4 1 3
(360..) days: 93.3 % 15 14 1 14
Branch coverage date bins:
(30,360] days: 87.5 % 24 21 3 21
(360..) days: 71.6 % 162 116 46 2 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
action_to_str CBC 5868 87.5 % (14 / 16) 85.7 % (6 / 7)
calculate_totals UBC 0 0.0 % (0 / 19) 0.0 % (0 / 12)
check_file_excluded CBC 19708 92.3 % (24 / 26) 75.0 % (21 / 28)
datasegpath CBC 102839 66.7 % (4 / 6) 50.0 % (1 / 2)
decide_file_action CBC 19727 80.8 % (42 / 52) 70.6 % (36 / 51)
decide_file_actions GNC 17 100.0 % (13 / 13) 100.0 % (4 / 4)
decide_wal_file_action CBC 36 100.0 % (5 / 5) 100.0 % (4 / 4)
filehash_init CBC 17 100.0 % (3 / 3)
final_filemap_cmp CBC 209117 100.0 % (10 / 10) 100.0 % (6 / 6)
getFileContentType CBC 20198 100.0 % (30 / 30) 85.0 % (17 / 20)
insert_filehash_entry CBC 38039 100.0 % (17 / 17) 100.0 % (2 / 2)
keepwal_add_entry CBC 22 100.0 % (6 / 6) 50.0 % (2 / 4)
keepwal_entry_exists CBC 659 100.0 % (2 / 2)
keepwal_init CBC 17 100.0 % (3 / 3)
lookup_filehash_entry CBC 84198 100.0 % (2 / 2)
print_filemap CBC 15 100.0 % (11 / 11) 91.7 % (11 / 12)
process_source_file CBC 19042 76.9 % (10 / 13) 75.0 % (9 / 12)
process_target_file CBC 18997 90.9 % (10 / 11) 87.5 % (7 / 8)
process_target_wal_block_change CBC 84198 93.8 % (15 / 16) 78.6 % (11 / 14)

Generated by: LCOV version 2.0-1