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: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 88.6 % 1031 913 16 3 99 24 109 780 27 91
Current Date: 2026-06-29 16:15:13 +0200 Functions: 100.0 % 31 31 13 18 3
Baseline: lcov-20260630-baseline Branches: 71.8 % 650 467 22 2 159 19 2 69 377
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 87.1 % 140 122 16 2 109 13
(360..) days: 88.8 % 891 791 3 97 24 767
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 100.0 % 27 27 9 18
Branch coverage date bins:
(30,360] days: 71.3 % 115 82 22 11 69 13
(360..) days: 72.0 % 535 385 2 148 19 2 364

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 6106808 100.0 % (2 / 2)
count_nondeletable_pages CBC 261 88.1 % (37 / 42) 70.0 % (21 / 30)
dead_items_add CBC 24629 100.0 % (8 / 8)
dead_items_alloc GNC 16511 100.0 % (18 / 18) 85.0 % (17 / 20)
dead_items_cleanup CBC 16509 100.0 % (5 / 5) 100.0 % (2 / 2)
dead_items_reset GNC 1072 100.0 % (10 / 10) 100.0 % (2 / 2)
find_next_unskippable_block GNC 96615 84.4 % (27 / 32) 81.2 % (13 / 16)
heap_page_is_all_visible GNC 69222 100.0 % (2 / 2)
heap_page_would_be_all_visible GNC 93633 93.2 % (55 / 59) 79.2 % (42 / 53)
heap_vac_scan_next_block GNC 126779 100.0 % (23 / 23) 93.8 % (15 / 16)
heap_vacuum_eager_scan_setup GNC 16511 54.3 % (19 / 35) 45.8 % (11 / 24)
heap_vacuum_rel GNC 16511 91.9 % (226 / 246) 78.6 % (110 / 140)
lazy_check_wraparound_failsafe GNC 19676 23.5 % (4 / 17) 33.3 % (2 / 6)
lazy_cleanup_all_indexes CBC 14975 100.0 % (22 / 22) 75.0 % (6 / 8)
lazy_cleanup_one_index CBC 23629 100.0 % (17 / 17) 50.0 % (1 / 2)
lazy_scan_heap GNC 16511 84.9 % (90 / 106) 69.4 % (50 / 72)
lazy_scan_new_or_empty GNC 110268 46.9 % (15 / 32) 36.4 % (8 / 22)
lazy_scan_noprune CBC 71 94.0 % (63 / 67) 83.9 % (26 / 31)
lazy_scan_prune GNC 108236 100.0 % (36 / 36) 88.5 % (23 / 26)
lazy_truncate_heap CBC 263 93.3 % (28 / 30) 77.3 % (17 / 22)
lazy_vacuum CBC 1074 95.5 % (21 / 22) 60.0 % (18 / 30)
lazy_vacuum_all_indexes CBC 1060 88.2 % (30 / 34) 58.3 % (14 / 24)
lazy_vacuum_heap_page GNC 24411 100.0 % (40 / 40) 76.5 % (26 / 34)
lazy_vacuum_heap_rel CBC 1058 100.0 % (36 / 36) 63.6 % (14 / 22)
lazy_vacuum_one_index CBC 2088 100.0 % (17 / 17) 50.0 % (1 / 2)
restore_vacuum_error_info CBC 51185 100.0 % (5 / 5)
should_attempt_truncation CBC 16509 100.0 % (9 / 9) 90.0 % (9 / 10)
update_relstats_all_indexes CBC 16365 100.0 % (12 / 12) 87.5 % (7 / 8)
update_vacuum_error_info CBC 161717 100.0 % (9 / 9) 100.0 % (2 / 2)
vacuum_error_callback CBC 33 64.5 % (20 / 31) 33.3 % (8 / 24)
vacuum_reap_lp_read_stream_next CBC 25469 100.0 % (7 / 7) 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1