LCOV - differential code coverage report
Current view: top level - src/backend/access/heap - vacuumlazy.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DUB DCB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 85.7 % 1024 878 2 8 136 13 17 848 2 16
Current Date: 2025-09-06 07:49:51 +0900 Functions: 100.0 % 30 30 2 28 2
Baseline: lcov-20250907-010129-baseline Branches: 67.3 % 664 447 13 3 201 10 19 418
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 72.9 % 207 151 2 1 53 1 17 133
(360..) days: 89.0 % 817 727 7 83 12 715
Function coverage date bins:
(30,360] days: 100.0 % 4 4 2 2
(360..) days: 100.0 % 26 26 26
Branch coverage date bins:
(30,360] days: 55.3 % 132 73 13 46 3 19 51
(360..) days: 70.3 % 532 374 3 155 7 367

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 18 61.3 % (19 / 31) 29.2 % (7 / 24)
lazy_scan_noprune CBC 82 80.6 % (54 / 67) 61.3 % (19 / 31)
count_nondeletable_pages CBC 172 88.1 % (37 / 42) 70.0 % (21 / 30)
lazy_truncate_heap CBC 174 93.3 % (28 / 30) 77.3 % (17 / 22)
lazy_vacuum_all_indexes CBC 667 88.2 % (30 / 34) 58.3 % (14 / 24)
lazy_vacuum_heap_rel CBC 667 100.0 % (36 / 36) 63.6 % (14 / 22)
dead_items_reset CBC 681 100.0 % (7 / 7) 100.0 % (2 / 2)
lazy_vacuum CBC 681 95.5 % (21 / 22) 60.0 % (18 / 30)
lazy_vacuum_one_index CBC 1272 100.0 % (17 / 17) 50.0 % (1 / 2)
lazy_cleanup_all_indexes CBC 11845 100.0 % (22 / 22) 75.0 % (6 / 8)
update_relstats_all_indexes CBC 12889 100.0 % (12 / 12) 87.5 % (7 / 8)
dead_items_alloc CBC 13017 100.0 % (18 / 18) 80.0 % (16 / 20)
dead_items_cleanup CBC 13017 100.0 % (5 / 5) 100.0 % (2 / 2)
heap_vacuum_eager_scan_setup GNC 13017 34.3 % (12 / 35) 16.7 % (4 / 24)
heap_vacuum_rel GNC 13017 93.2 % (204 / 219) 79.4 % (100 / 126)
lazy_scan_heap CBC 13017 85.3 % (93 / 109) 69.4 % (50 / 72)
should_attempt_truncation CBC 13017 100.0 % (9 / 9) 90.0 % (9 / 10)
lazy_check_wraparound_failsafe CBC 14966 23.5 % (4 / 17) 33.3 % (2 / 6)
lazy_vacuum_heap_page CBC 15026 100.0 % (32 / 32) 70.0 % (21 / 30)
dead_items_add CBC 15091 100.0 % (8 / 8)
vacuum_reap_lp_read_stream_next CBC 15693 100.0 % (7 / 7) 100.0 % (2 / 2)
lazy_cleanup_one_index CBC 18441 100.0 % (17 / 17) 50.0 % (1 / 2)
restore_vacuum_error_info CBC 35406 100.0 % (5 / 5)
find_next_unskippable_block CBC 61084 85.3 % (29 / 34) 81.2 % (13 / 16)
heap_page_is_all_visible CBC 64297 89.6 % (43 / 48) 80.6 % (25 / 31)
lazy_scan_prune CBC 68753 76.4 % (55 / 72) 64.9 % (48 / 74)
lazy_scan_new_or_empty CBC 70110 51.7 % (15 / 29) 33.3 % (8 / 24)
heap_vac_scan_next_block CBC 83127 96.6 % (28 / 29) 90.0 % (18 / 20)
update_vacuum_error_info CBC 105690 100.0 % (9 / 9) 100.0 % (2 / 2)
cmpOffsetNumbers CBC 3419609 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta