LCOV - differential code coverage report
Current view: top level - src/backend/access/heap - pruneheap.c (source / functions) Coverage Total Hit UNC UBC CBC DUB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 91.3 % 745 680 1 64 680 1
Current Date: 2026-11-05 14:14:01 +0100 Functions: 96.4 % 28 27 1 27
Baseline: lcov-20261105-baseline Branches: 73.9 % 675 499 176 499
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 86.7 % 309 268 1 40 268
(360..) days: 94.5 % 436 412 24 412
Function coverage date bins:
(30,360] days: 92.9 % 14 13 1 13
(360..) days: 100.0 % 14 14 14
Branch coverage date bins:
(30,360] days: 74.7 % 296 221 75 221
(360..) days: 73.4 % 379 278 101 278

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_get_root_tuples CBC 139760 89.2 % (33 / 37) 63.2 % (24 / 38)
heap_log_freeze_cmp CBC 1579614 87.5 % (21 / 24) 85.0 % (17 / 20)
heap_log_freeze_eq CBC 1266486 100.0 % (7 / 7) 87.5 % (7 / 8)
heap_log_freeze_new_plan CBC 29886 100.0 % (7 / 7)
heap_log_freeze_plan CBC 25218 100.0 % (17 / 17) 75.0 % (9 / 12)
heap_page_fix_vm_corruption UNC 0 0.0 % (0 / 33) 0.0 % (0 / 26)
heap_page_prune_and_freeze CBC 224617 98.9 % (92 / 93) 87.7 % (107 / 122)
heap_page_prune_execute CBC 85579 100.0 % (46 / 46) 68.3 % (41 / 60)
heap_page_prune_opt CBC 11873028 100.0 % (38 / 38) 96.2 % (25 / 26)
heap_page_will_freeze CBC 211763 100.0 % (27 / 27) 81.8 % (36 / 44)
heap_page_will_set_vm CBC 211763 100.0 % (18 / 18) 90.0 % (27 / 30)
heap_prune_chain CBC 19037458 83.6 % (56 / 67) 66.0 % (33 / 50)
heap_prune_record_dead CBC 3781769 100.0 % (10 / 10) 66.7 % (4 / 6)
heap_prune_record_dead_or_unused CBC 3817122 85.7 % (6 / 7) 75.0 % (3 / 4)
heap_prune_record_prunable CBC 629254 87.5 % (7 / 8) 75.0 % (6 / 8)
heap_prune_record_redirect CBC 73590 100.0 % (11 / 11) 66.7 % (4 / 6)
heap_prune_record_unchanged_lp_dead CBC 1626984 85.7 % (6 / 7) 50.0 % (2 / 4)
heap_prune_record_unchanged_lp_normal CBC 15245347 95.5 % (42 / 44) 81.0 % (17 / 21)
heap_prune_record_unchanged_lp_redirect CBC 188210 100.0 % (4 / 4) 50.0 % (1 / 2)
heap_prune_record_unchanged_lp_unused CBC 347234 100.0 % (4 / 4) 50.0 % (1 / 2)
heap_prune_record_unused CBC 108969 100.0 % (9 / 9) 66.7 % (4 / 6)
heap_prune_satisfies_vacuum CBC 19184901 100.0 % (11 / 11) 78.6 % (11 / 14)
htsv_get_valid_status CBC 19168677 100.0 % (3 / 3) 50.0 % (2 / 4)
log_heap_prune_and_freeze CBC 154110 95.9 % (71 / 74) 75.6 % (62 / 82)
page_verify_redirects CBC 82537 100.0 % (16 / 16) 66.7 % (8 / 12)
prune_freeze_fast_path CBC 12854 85.0 % (17 / 20) 56.2 % (9 / 16)
prune_freeze_plan CBC 211763 96.6 % (56 / 58) 81.2 % (26 / 32)
prune_freeze_setup CBC 224617 100.0 % (45 / 45) 65.0 % (13 / 20)

Generated by: LCOV version 2.0-1