LCOV - code coverage report
Current view: top level - src/backend/access/heap - heapam.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 91.6 % 2800 2566
Test Date: 2026-07-26 08:15:28 Functions: 100.0 % 80 80
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 77.2 % 2026 1564

Function Name Sort by function name Hit count Sort by function hit count
AssertHasSnapshotForToast 16652281
ConditionalMultiXactIdWait 6
Do_MultiXactIdWait 61
DoesMultiXactIdConflict 218
ExtractReplicaIdentity 4310108
FreeBulkInsertState 3368
FreezeMultiXactId 6
GetBulkInsertState 3605
GetMultiXactIdHintBits 76876
HeapCheckForSerializableConflictOut 42407242
HeapDetermineColumnsInfo 2386647
HeapTupleGetUpdateXid 159952
HeapTupleHeaderAdvanceConflictHorizon 4015316
MultiXactIdGetUpdateXid 162092
MultiXactIdWait 55
ReleaseBulkInsertStatePin 90779
UpdateXmaxHintBits 282
bitmapheap_stream_read_next 261315
bottomup_nblocksfavorable 2756
bottomup_sort_and_shrink 2756
bottomup_sort_and_shrink_cmp 265487
compute_infobits 6565503
compute_new_xmax_infomask 6671101
get_mxact_status_for_lock 115527
heap_abort_speculative 16
heap_acquire_tuplock 379
heap_attr_equals 993365
heap_beginscan 485589
heap_delete 1923805
heap_endscan 482277
heap_fetch 2841977
heap_fetch_next_buffer 4404915
heap_finish_speculative 2216
heap_freeze_prepared_tuples 26254
heap_freeze_tuple 456301
heap_get_latest_tid 207
heap_getnext 12548964
heap_getnextslot 61308587
heap_getnextslot_tidrange 6512
heap_index_delete_tuples 8478
heap_inplace_lock 230017
heap_inplace_unlock 128818
heap_inplace_update_and_unlock 101164
heap_insert 11851618
heap_lock_tuple 571716
heap_lock_updated_tuple 2226
heap_lock_updated_tuple_rec 2224
heap_multi_insert 490216
heap_multi_insert_pages 498522
heap_pre_freeze_checks 26254
heap_prepare_freeze_tuple 13092675
heap_prepare_insert 13698263
heap_prepare_pagescan 3395168
heap_rescan 638482
heap_scan_stream_read_next_parallel 146271
heap_scan_stream_read_next_serial 4475843
heap_set_tidrange 1374
heap_setscanlimits 3282
heap_tuple_needs_eventual_freeze 128265
heap_tuple_should_freeze 8481634
heap_update 2386648
heapgettup 9430626
heapgettup_advance_block 3384275
heapgettup_continue_page 9403097
heapgettup_initial_block 1091568
heapgettup_pagemode 64433561
heapgettup_start_page 116944
index_delete_check_htid 765285
index_delete_prefetch_buffer 27938
index_delete_sort 8478
index_delete_sort_cmp 17516258
initscan 1124071
log_heap_new_cid 26608
log_heap_update 2374638
page_collect_tuples 3395168
simple_heap_delete 839570
simple_heap_insert 1089635
simple_heap_update 142123
test_lockmode_for_conflict 38781
xmax_infomask_changed 5453

Generated by: LCOV version 2.0-1