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: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 87.8 % 1034 908 3 123 2 1 905 2
Current Date: 2026-09-20 14:13:17 +0900 Functions: 100.0 % 31 31 1 30
Baseline: lcov-20260920-baseline Branches: 70.6 % 654 462 2 190 3 459
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 50.0 % 4 2 2 2
(30,360] days: 88.7 % 141 125 16 1 124
(360..) days: 87.9 % 889 781 3 105 2 779
Function coverage date bins:
(30,360] days: 100.0 % 4 4 1 3
(360..) days: 100.0 % 27 27 27
Branch coverage date bins:
(30,360] days: 72.3 % 119 86 33 1 85
(360..) days: 70.3 % 535 376 2 157 2 374

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
vacuum_error_callback CBC 41 74.2 % (23 / 31) 37.5 % (9 / 24)
lazy_scan_noprune CBC 52 92.5 % (62 / 67) 77.4 % (24 / 31)
count_nondeletable_pages CBC 248 88.1 % (37 / 42) 70.0 % (21 / 30)
lazy_truncate_heap CBC 250 93.3 % (28 / 30) 77.3 % (17 / 22)
lazy_vacuum_heap_rel CBC 1038 100.0 % (36 / 36) 63.6 % (14 / 22)
lazy_vacuum_all_indexes CBC 1040 88.2 % (30 / 34) 58.3 % (14 / 24)
dead_items_reset CBC 1058 100.0 % (10 / 10) 100.0 % (2 / 2)
lazy_vacuum CBC 1060 95.5 % (21 / 22) 60.0 % (18 / 30)
lazy_vacuum_one_index CBC 2028 100.0 % (17 / 17) 50.0 % (1 / 2)
lazy_cleanup_all_indexes CBC 14186 100.0 % (22 / 22) 75.0 % (6 / 8)
update_relstats_all_indexes CBC 15539 100.0 % (12 / 12) 87.5 % (7 / 8)
dead_items_cleanup CBC 15682 100.0 % (5 / 5) 100.0 % (2 / 2)
should_attempt_truncation CBC 15682 100.0 % (9 / 9) 90.0 % (9 / 10)
dead_items_alloc CBC 15685 100.0 % (18 / 18) 85.0 % (17 / 20)
heap_vacuum_eager_scan_setup CBC 15685 34.3 % (12 / 35) 16.7 % (4 / 24)
heap_vacuum_rel GNC 15685 91.8 % (225 / 245) 79.3 % (111 / 140)
lazy_scan_heap CBC 15685 83.6 % (92 / 110) 67.1 % (51 / 76)
lazy_check_wraparound_failsafe CBC 18777 23.5 % (4 / 17) 33.3 % (2 / 6)
lazy_cleanup_one_index CBC 22169 100.0 % (17 / 17) 50.0 % (1 / 2)
lazy_vacuum_heap_page CBC 23896 100.0 % (40 / 40) 76.5 % (26 / 34)
dead_items_add CBC 24134 100.0 % (8 / 8)
vacuum_reap_lp_read_stream_next CBC 24934 100.0 % (7 / 7) 100.0 % (2 / 2)
restore_vacuum_error_info CBC 49129 100.0 % (5 / 5)
heap_page_is_all_visible CBC 65055 100.0 % (2 / 2)
find_next_unskippable_block CBC 84756 84.4 % (27 / 32) 81.2 % (13 / 16)
heap_page_would_be_all_visible CBC 88951 91.5 % (54 / 59) 81.1 % (43 / 53)
lazy_scan_prune CBC 95312 100.0 % (36 / 36) 88.5 % (23 / 26)
lazy_scan_new_or_empty CBC 97374 46.9 % (15 / 32) 36.4 % (8 / 22)
heap_vac_scan_next_block CBC 113059 100.0 % (23 / 23) 93.8 % (15 / 16)
update_vacuum_error_info CBC 146755 100.0 % (9 / 9) 100.0 % (2 / 2)
cmpOffsetNumbers CBC 5798611 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1