LCOV - differential code coverage report
Current view: top level - src/backend/access/heap - vacuumlazy.c (source / functions) Coverage Total Hit LBC UBC GBC GNC CBC DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 87.7 % 1045 916 2 127 2 13 901 4
Current Date: 2026-11-05 14:14:01 +0100 Functions: 100.0 % 31 31 3 28
Baseline: lcov-20261105-baseline Branches: 70.4 % 652 459 3 190 3 456
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 0.0 % 6 0 6
(30,360] days: 85.8 % 127 109 18 13 96
(360..) days: 88.5 % 912 807 2 103 2 805
Function coverage date bins:
(30,360] days: 100.0 % 2 2 1 1
(360..) days: 100.0 % 29 29 2 27
Branch coverage date bins:
(30,360] days: 68.8 % 93 64 29 64
(360..) days: 70.7 % 559 395 3 161 3 392

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
cmpOffsetNumbers CBC 5535145 100.0 % (2 / 2)
count_nondeletable_pages CBC 241 88.1 % (37 / 42) 70.0 % (21 / 30)
dead_items_add CBC 22420 100.0 % (8 / 8)
dead_items_alloc CBC 15784 100.0 % (18 / 18) 85.0 % (17 / 20)
dead_items_cleanup CBC 15782 100.0 % (5 / 5) 100.0 % (2 / 2)
dead_items_reset CBC 1030 100.0 % (10 / 10) 100.0 % (2 / 2)
find_next_unskippable_block CBC 80952 84.4 % (27 / 32) 81.2 % (13 / 16)
heap_page_is_all_visible CBC 78107 100.0 % (2 / 2)
heap_page_would_be_all_visible CBC 100355 91.5 % (54 / 59) 79.2 % (42 / 53)
heap_vac_scan_next_block CBC 109872 100.0 % (23 / 23) 93.8 % (15 / 16)
heap_vacuum_eager_scan_setup CBC 15784 34.3 % (12 / 35) 16.7 % (4 / 24)
heap_vacuum_rel GNC 15784 92.6 % (226 / 244) 81.2 % (112 / 138)
lazy_check_wraparound_failsafe CBC 18805 23.5 % (4 / 17) 33.3 % (2 / 6)
lazy_cleanup_all_indexes CBC 14268 100.0 % (22 / 22) 75.0 % (6 / 8)
lazy_cleanup_one_index GNC 22287 100.0 % (23 / 23) 50.0 % (1 / 2)
lazy_scan_heap CBC 15784 83.6 % (92 / 110) 67.1 % (51 / 76)
lazy_scan_new_or_empty CBC 94088 46.9 % (15 / 32) 36.4 % (8 / 22)
lazy_scan_noprune CBC 80 89.6 % (60 / 67) 71.0 % (22 / 31)
lazy_scan_prune CBC 92068 100.0 % (36 / 36) 88.5 % (23 / 26)
lazy_truncate_heap CBC 243 93.3 % (28 / 30) 77.3 % (17 / 22)
lazy_vacuum CBC 1032 95.5 % (21 / 22) 60.0 % (18 / 30)
lazy_vacuum_all_indexes CBC 1014 88.2 % (30 / 34) 58.3 % (14 / 24)
lazy_vacuum_heap_page CBC 22248 100.0 % (40 / 40) 76.5 % (26 / 34)
lazy_vacuum_heap_rel CBC 1012 100.0 % (36 / 36) 63.6 % (14 / 22)
lazy_vacuum_one_index GNC 1983 100.0 % (23 / 23) 50.0 % (1 / 2)
restore_vacuum_error_info CBC 47529 100.0 % (5 / 5)
should_attempt_truncation CBC 15782 100.0 % (9 / 9) 90.0 % (9 / 10)
update_relstats_all_indexes CBC 15639 100.0 % (12 / 12) 87.5 % (7 / 8)
update_vacuum_error_info CBC 141861 100.0 % (9 / 9) 100.0 % (2 / 2)
vacuum_error_callback CBC 50 64.5 % (20 / 31) 33.3 % (8 / 24)
vacuum_reap_lp_read_stream_next CBC 23260 100.0 % (7 / 7) 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1