LCOV - differential code coverage report
Current view: top level - src/bin/pg_rewind - filemap.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DCB
Current: 7a15cff1f11193467898da1c1fabf06fd2caee04 vs 84a3778c79c2d28b4dc281d03ef2ab019b16483b Lines: 84.7 % 261 221 1 39 32 189 15
Current Date: 2025-12-15 18:36:29 -0500 Functions: 94.7 % 19 18 1 8 10 3
Baseline: lcov-20251216-010103-baseline Branches: 72.6 % 186 135 3 48 21 114
Baseline Date: 2025-12-15 13:30:48 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 94.4 % 36 34 1 1 32 2
(360..) days: 83.1 % 225 187 38 187
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 93.3 % 15 14 1 4 10
Branch coverage date bins:
(30,360] days: 88.5 % 26 23 3 21 2
(360..) days: 70.0 % 160 112 48 112

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 656 100.0 % (2 / 2)
action_to_str CBC 5855 87.5 % (14 / 16) 85.7 % (6 / 7)
process_target_file CBC 16969 90.9 % (10 / 11) 87.5 % (7 / 8)
process_source_file GNC 17006 76.9 % (10 / 13) 75.0 % (9 / 12)
check_file_excluded CBC 17670 92.3 % (24 / 26) 67.9 % (19 / 28)
decide_file_action GNC 17687 80.8 % (42 / 52) 70.6 % (36 / 51)
getFileContentType GNC 18106 100.0 % (30 / 30) 85.0 % (17 / 20)
insert_filehash_entry GNC 33975 100.0 % (17 / 17) 100.0 % (2 / 2)
lookup_filehash_entry CBC 84621 100.0 % (2 / 2)
process_target_wal_block_change GNC 84621 93.8 % (15 / 16) 78.6 % (11 / 14)
datasegpath CBC 101355 66.7 % (4 / 6) 50.0 % (1 / 2)
final_filemap_cmp CBC 189096 100.0 % (10 / 10) 100.0 % (6 / 6)

Generated by: LCOV version 2.4-beta