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: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 87.5 % 1034 905 6 123 1 904 2
Current Date: 2026-08-27 14:31:44 +0300 Functions: 100.0 % 31 31 1 30
Baseline: lcov-20260827-baseline Branches: 70.2 % 654 459 4 191 1 458
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 60.0 % 5 3 2 1 2
(30,360] days: 88.6 % 140 124 16 124
(360..) days: 87.5 % 889 778 6 105 778
Function coverage date bins:
(30,360] days: 100.0 % 4 4 1 3
(360..) days: 100.0 % 27 27 27
Branch coverage date bins:
(7,30] days: 25.0 % 4 1 3 1
(30,360] days: 73.0 % 115 84 31 84
(360..) days: 69.9 % 535 374 4 157 1 373

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
heap_vacuum_rel GNC 16325 92.7 % (227 / 245) 79.3 % (111 / 140)
lazy_scan_heap CBC 16325 83.6 % (92 / 110) 67.1 % (51 / 76)
heap_vacuum_eager_scan_setup CBC 16325 34.3 % (12 / 35) 16.7 % (4 / 24)
vacuum_error_callback CBC 33 64.5 % (20 / 31) 33.3 % (8 / 24)
lazy_scan_new_or_empty CBC 97428 46.9 % (15 / 32) 36.4 % (8 / 22)
lazy_vacuum CBC 1050 95.5 % (21 / 22) 60.0 % (18 / 30)
heap_page_would_be_all_visible CBC 87068 91.5 % (54 / 59) 81.1 % (43 / 53)
lazy_vacuum_all_indexes CBC 1036 88.2 % (30 / 34) 58.3 % (14 / 24)
count_nondeletable_pages CBC 248 88.1 % (37 / 42) 70.0 % (21 / 30)
lazy_scan_noprune CBC 64 89.6 % (60 / 67) 71.0 % (22 / 31)
lazy_vacuum_heap_page CBC 23358 100.0 % (40 / 40) 76.5 % (26 / 34)
lazy_vacuum_heap_rel CBC 1034 100.0 % (36 / 36) 63.6 % (14 / 22)
lazy_truncate_heap CBC 250 93.3 % (28 / 30) 77.3 % (17 / 22)
lazy_check_wraparound_failsafe CBC 19419 23.5 % (4 / 17) 33.3 % (2 / 6)
dead_items_alloc CBC 16325 100.0 % (18 / 18) 85.0 % (17 / 20)
find_next_unskippable_block CBC 84264 84.4 % (27 / 32) 81.2 % (13 / 16)
lazy_scan_prune CBC 95395 100.0 % (36 / 36) 88.5 % (23 / 26)
lazy_cleanup_all_indexes CBC 14784 100.0 % (22 / 22) 75.0 % (6 / 8)
heap_vac_scan_next_block CBC 113753 100.0 % (23 / 23) 93.8 % (15 / 16)
lazy_cleanup_one_index CBC 23297 100.0 % (17 / 17) 50.0 % (1 / 2)
lazy_vacuum_one_index CBC 2046 100.0 % (17 / 17) 50.0 % (1 / 2)
should_attempt_truncation CBC 16323 100.0 % (9 / 9) 90.0 % (9 / 10)
update_relstats_all_indexes CBC 16173 100.0 % (12 / 12) 87.5 % (7 / 8)
dead_items_cleanup CBC 16323 100.0 % (5 / 5) 100.0 % (2 / 2)
dead_items_reset CBC 1048 100.0 % (10 / 10) 100.0 % (2 / 2)
update_vacuum_error_info CBC 147413 100.0 % (9 / 9) 100.0 % (2 / 2)
vacuum_reap_lp_read_stream_next CBC 24392 100.0 % (7 / 7) 100.0 % (2 / 2)
cmpOffsetNumbers CBC 5821424 100.0 % (2 / 2)
dead_items_add CBC 23581 100.0 % (8 / 8)
heap_page_is_all_visible CBC 63710 100.0 % (2 / 2)
restore_vacuum_error_info CBC 49734 100.0 % (5 / 5)

Generated by: LCOV version 2.0-1