LCOV - differential code coverage report
Current view: top level - src/backend/access/heap - vacuumlazy.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GIC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 86.6 % 1053 912 18 1 122 11 130 771 28 91
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 32 32 14 18 3
Baseline: lcov-20260315-024220-baseline Branches: 68.2 % 682 465 39 1 177 6 2 88 369 40 71
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 88.0 % 25 22 3 22
(30,360] days: 84.8 % 145 123 15 7 108 15
(360..) days: 86.9 % 883 767 1 115 11 756
Function coverage date bins:
(30,360] days: 100.0 % 5 5 5
(360..) days: 100.0 % 27 27 9 18
Branch coverage date bins:
(7,30] days: 77.8 % 27 21 6 21
(30,360] days: 64.2 % 120 77 33 10 67 10
(360..) days: 68.6 % 535 367 1 167 6 2 359

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 13667 93.6 % (219 / 234) 79.5 % (105 / 132)
lazy_scan_heap GNC 13667 84.9 % (90 / 106) 69.4 % (50 / 72)
heap_vacuum_eager_scan_setup GNC 13667 34.3 % (12 / 35) 16.7 % (4 / 24)
vacuum_error_callback CBC 21 38.7 % (12 / 31) 16.7 % (4 / 24)
lazy_scan_new_or_empty GNC 76627 50.0 % (15 / 30) 33.3 % (8 / 24)
heap_page_would_be_all_visible GNC 70501 87.9 % (51 / 58) 75.5 % (37 / 49)
lazy_scan_prune GNC 75269 100.0 % (58 / 58) 76.9 % (40 / 52)
lazy_vacuum CBC 721 95.5 % (21 / 22) 60.0 % (18 / 30)
lazy_vacuum_all_indexes CBC 707 88.2 % (30 / 34) 58.3 % (14 / 24)
count_nondeletable_pages CBC 170 88.1 % (37 / 42) 70.0 % (21 / 30)
lazy_scan_noprune CBC 98 89.6 % (60 / 67) 71.0 % (22 / 31)
lazy_vacuum_heap_rel CBC 706 100.0 % (36 / 36) 59.1 % (13 / 22)
identify_and_fix_vm_corruption GNC 75269 46.7 % (7 / 15) 50.0 % (8 / 16)
lazy_vacuum_heap_page GNC 15873 100.0 % (40 / 40) 76.5 % (26 / 34)
lazy_truncate_heap CBC 172 93.3 % (28 / 30) 77.3 % (17 / 22)
find_next_unskippable_block GNC 66783 81.2 % (26 / 32) 75.0 % (12 / 16)
lazy_check_wraparound_failsafe GNC 15739 23.5 % (4 / 17) 33.3 % (2 / 6)
dead_items_alloc GNC 13667 100.0 % (18 / 18) 85.0 % (17 / 20)
lazy_cleanup_all_indexes CBC 12435 100.0 % (22 / 22) 75.0 % (6 / 8)
heap_vac_scan_next_block GNC 90294 100.0 % (23 / 23) 93.8 % (15 / 16)
lazy_cleanup_one_index CBC 19383 100.0 % (17 / 17) 50.0 % (1 / 2)
lazy_vacuum_one_index CBC 1356 100.0 % (17 / 17) 50.0 % (1 / 2)
should_attempt_truncation CBC 13666 100.0 % (9 / 9) 90.0 % (9 / 10)
update_relstats_all_indexes CBC 13536 100.0 % (12 / 12) 87.5 % (7 / 8)
dead_items_cleanup CBC 13666 100.0 % (5 / 5) 100.0 % (2 / 2)
dead_items_reset GNC 720 100.0 % (10 / 10) 100.0 % (2 / 2)
update_vacuum_error_info CBC 114117 100.0 % (9 / 9) 100.0 % (2 / 2)
vacuum_reap_lp_read_stream_next CBC 16579 100.0 % (7 / 7) 100.0 % (2 / 2)
cmpOffsetNumbers CBC 4371385 100.0 % (2 / 2)
dead_items_add CBC 16035 100.0 % (8 / 8)
restore_vacuum_error_info CBC 37317 100.0 % (5 / 5)

Generated by: LCOV version 2.4-beta