LCOV - code coverage report
Current view: top level - src/backend/access/heap - heapam.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 92.0 % 2812 2588
Test Date: 2026-11-25 14:16:11 Functions: 100.0 % 80 80
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 77.9 % 2044 1593

Function Name Sort by function name Hit count Sort by function hit count
FreezeMultiXactId 7
ConditionalMultiXactIdWait 8
heap_abort_speculative 16
MultiXactIdWait 58
Do_MultiXactIdWait 66
heap_get_latest_tid 207
DoesMultiXactIdConflict 227
UpdateXmaxHintBits 258
heap_acquire_tuplock 362
heap_set_tidrange 1426
heap_lock_updated_tuple_rec 2230
heap_lock_updated_tuple 2232
heap_finish_speculative 2236
bottomup_nblocksfavorable 2802
bottomup_sort_and_shrink 2802
FreeBulkInsertState 3176
heap_setscanlimits 3357
GetBulkInsertState 3444
xmax_infomask_changed 5433
heap_index_delete_tuples 8105
index_delete_sort 8105
heap_getnextslot_tidrange 8400
index_delete_prefetch_buffer 26525
heap_freeze_prepared_tuples 28611
heap_pre_freeze_checks 28611
log_heap_new_cid 31240
test_lockmode_for_conflict 38777
GetMultiXactIdHintBits 76845
ReleaseBulkInsertStatePin 90786
heap_inplace_update_and_unlock 100806
get_mxact_status_for_lock 115489
heapgettup_start_page 117521
heap_inplace_unlock 124281
heap_tuple_needs_eventual_freeze 142522
simple_heap_update 143709
heap_scan_stream_read_next_parallel 146678
HeapTupleGetUpdateXid 159969
MultiXactIdGetUpdateXid 162111
heap_inplace_lock 225110
bottomup_sort_and_shrink_cmp 249469
bitmapheap_stream_read_next 260417
heap_endscan 454201
heap_beginscan 457754
heap_freeze_tuple 463476
heap_multi_insert 485199
heap_multi_insert_pages 494072
heap_rescan 727498
heap_lock_tuple 762920
index_delete_check_htid 764509
simple_heap_delete 840659
heap_attr_equals 1045609
simple_heap_insert 1141864
heapgettup_initial_block 1145377
initscan 1185252
heap_delete 1949895
log_heap_update 2393961
HeapDetermineColumnsInfo 2406011
heap_update 2406012
heap_fetch 2865124
heapgettup_advance_block 3129769
heap_prepare_pagescan 3139381
page_collect_tuples 3139381
HeapTupleHeaderAdvanceConflictHorizon 4168461
heap_fetch_next_buffer 4195427
heap_scan_stream_read_next_serial 4275146
ExtractReplicaIdentity 4355605
compute_infobits 6600964
compute_new_xmax_infomask 6731791
heap_tuple_should_freeze 8010493
heapgettup_continue_page 9487334
heapgettup 9515105
heap_insert 12206106
heap_prepare_freeze_tuple 12379197
heap_getnext 12629015
heap_prepare_insert 14051703
AssertHasSnapshotForToast 17047205
index_delete_sort_cmp 17507019
HeapCheckForSerializableConflictOut 43219704
heap_getnextslot 64204045
heapgettup_pagemode 67326479

Generated by: LCOV version 2.0-1