LCOV - differential code coverage report
Current view: top level - src/backend/access/heap - vacuumlazy.c (source / functions) Coverage Total Hit UNC UBC GBC GIC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 89.2 % 1031 920 14 97 24 111 785 30 88
Current Date: 2026-05-29 21:51:00 -0400 Functions: 100.0 % 31 31 13 18 3
Baseline: lcov-20260530-034037-baseline Branches: 73.1 % 650 475 20 155 23 2 71 379 41 66
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 89.0 % 145 129 14 2 111 18
(360..) days: 89.3 % 886 791 95 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: 74.8 % 123 92 20 11 71 21
(360..) days: 72.7 % 527 383 144 23 2 358

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 34 77.4 % (24 / 31) 58.3 % (14 / 24)
lazy_scan_noprune CBC 60 92.5 % (62 / 67) 77.4 % (24 / 31)
count_nondeletable_pages CBC 218 88.1 % (37 / 42) 70.0 % (21 / 30)
lazy_truncate_heap CBC 220 93.3 % (28 / 30) 77.3 % (17 / 22)
lazy_vacuum_heap_rel CBC 894 100.0 % (36 / 36) 63.6 % (14 / 22)
lazy_vacuum_all_indexes CBC 895 88.2 % (30 / 34) 58.3 % (14 / 24)
dead_items_reset GNC 909 100.0 % (10 / 10) 100.0 % (2 / 2)
lazy_vacuum CBC 911 95.5 % (21 / 22) 60.0 % (18 / 30)
lazy_vacuum_one_index CBC 1725 100.0 % (17 / 17) 50.0 % (1 / 2)
lazy_cleanup_all_indexes CBC 14806 100.0 % (22 / 22) 75.0 % (6 / 8)
update_relstats_all_indexes CBC 16173 100.0 % (12 / 12) 87.5 % (7 / 8)
dead_items_cleanup CBC 16317 100.0 % (5 / 5) 100.0 % (2 / 2)
should_attempt_truncation CBC 16317 100.0 % (9 / 9) 90.0 % (9 / 10)
dead_items_alloc GNC 16320 100.0 % (18 / 18) 85.0 % (17 / 20)
lazy_scan_heap GNC 16320 84.9 % (90 / 106) 69.4 % (50 / 72)
lazy_check_wraparound_failsafe GNC 18953 23.5 % (4 / 17) 33.3 % (2 / 6)
lazy_vacuum_heap_page GNC 19445 100.0 % (40 / 40) 76.5 % (26 / 34)
dead_items_add CBC 19647 100.0 % (8 / 8)
vacuum_reap_lp_read_stream_next CBC 20339 100.0 % (7 / 7) 100.0 % (2 / 2)
lazy_cleanup_one_index CBC 23243 100.0 % (17 / 17) 50.0 % (1 / 2)
restore_vacuum_error_info CBC 45305 100.0 % (5 / 5)
heap_page_is_all_visible GNC 68355 100.0 % (2 / 2)
find_next_unskippable_block GNC 82519 84.4 % (27 / 32) 81.2 % (13 / 16)
heap_page_would_be_all_visible GNC 87800 91.5 % (54 / 59) 81.1 % (43 / 53)
lazy_scan_prune GNC 92439 100.0 % (36 / 36) 88.5 % (23 / 26)
lazy_scan_new_or_empty GNC 94452 46.9 % (15 / 32) 36.4 % (8 / 22)
heap_vac_scan_next_block GNC 110772 100.0 % (23 / 23) 93.8 % (15 / 16)
update_vacuum_error_info CBC 139979 100.0 % (9 / 9) 100.0 % (2 / 2)
cmpOffsetNumbers CBC 4840950 100.0 % (2 / 2)

Generated by: LCOV version 2.5.0-beta