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 % 2801 2577
Test Date: 2026-11-04 22:15:53 Functions: 100.0 % 80 80
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 78.1 % 2026 1582

Function Name Sort by function name Hit count Sort by function hit count
AssertHasSnapshotForToast 16836823
ConditionalMultiXactIdWait 8
Do_MultiXactIdWait 66
DoesMultiXactIdConflict 223
ExtractReplicaIdentity 4326749
FreeBulkInsertState 2928
FreezeMultiXactId 6
GetBulkInsertState 3165
GetMultiXactIdHintBits 76823
HeapCheckForSerializableConflictOut 42304729
HeapDetermineColumnsInfo 2406077
HeapTupleGetUpdateXid 159932
HeapTupleHeaderAdvanceConflictHorizon 4131102
MultiXactIdGetUpdateXid 162075
MultiXactIdWait 58
ReleaseBulkInsertStatePin 90779
UpdateXmaxHintBits 247
bitmapheap_stream_read_next 260318
bottomup_nblocksfavorable 3029
bottomup_sort_and_shrink 3029
bottomup_sort_and_shrink_cmp 256324
compute_infobits 6549657
compute_new_xmax_infomask 6710494
get_mxact_status_for_lock 115471
heap_abort_speculative 16
heap_acquire_tuplock 351
heap_attr_equals 1014756
heap_beginscan 480400
heap_delete 1920965
heap_endscan 476968
heap_fetch 2872926
heap_fetch_next_buffer 4138993
heap_finish_speculative 2236
heap_freeze_prepared_tuples 27514
heap_freeze_tuple 457673
heap_get_latest_tid 207
heap_getnext 12676443
heap_getnextslot 62212994
heap_getnextslot_tidrange 8400
heap_index_delete_tuples 7953
heap_inplace_lock 224753
heap_inplace_unlock 127319
heap_inplace_update_and_unlock 97414
heap_insert 12046404
heap_lock_tuple 762713
heap_lock_updated_tuple 2230
heap_lock_updated_tuple_rec 2228
heap_multi_insert 463382
heap_multi_insert_pages 471459
heap_pre_freeze_checks 27514
heap_prepare_freeze_tuple 13278360
heap_prepare_insert 13846175
heap_prepare_pagescan 3130464
heap_rescan 651974
heap_scan_stream_read_next_parallel 146609
heap_scan_stream_read_next_serial 4211837
heap_set_tidrange 1426
heap_setscanlimits 3355
heap_tuple_needs_eventual_freeze 141596
heap_tuple_should_freeze 8699567
heap_update 2406078
heapgettup 9489508
heapgettup_advance_block 3119087
heapgettup_continue_page 9462661
heapgettup_initial_block 1092750
heapgettup_pagemode 65408453
heapgettup_start_page 117146
index_delete_check_htid 757737
index_delete_prefetch_buffer 25814
index_delete_sort 7953
index_delete_sort_cmp 18173132
initscan 1132374
log_heap_new_cid 28542
log_heap_update 2384030
page_collect_tuples 3130464
simple_heap_delete 801778
simple_heap_insert 1102526
simple_heap_update 135959
test_lockmode_for_conflict 38777
xmax_infomask_changed 5422

Generated by: LCOV version 2.0-1