LCOV - code coverage report
Current view: top level - src/backend/access/heap - heapam.c (source / functions) Coverage Total Hit
Test: Code coverage Lines: 70.8 % 3549 2514
Test Date: 2026-01-26 10:56:24 Functions: 90.5 % 84 76
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 47.2 % 2490 1176

Function Name Sort by function name Hit count Sort by function hit count
AssertHasSnapshotForToast 2068295
ConditionalMultiXactIdWait 0
Do_MultiXactIdWait 1
DoesMultiXactIdConflict 0
ExtractReplicaIdentity 327930
FreeBulkInsertState 621
FreezeMultiXactId 0
GetBulkInsertState 664
GetMultiXactIdHintBits 2
HeapCheckForSerializableConflictOut 6782812
HeapDetermineColumnsInfo 24127
HeapTupleGetUpdateXid 3
HeapTupleHeaderAdvanceConflictHorizon 196068
MultiXactIdGetUpdateXid 4
MultiXactIdWait 1
ReleaseBulkInsertStatePin 10021
UpdateXmaxHintBits 0
bitmapheap_stream_read_next 44484
bottomup_nblocksfavorable 183
bottomup_sort_and_shrink 183
bottomup_sort_and_shrink_cmp 46170
check_inplace_rel_lock 10378
check_lock_if_inplace_updateable_rel 24127
compute_infobits 314971
compute_new_xmax_infomask 335669
get_mxact_status_for_lock 3
heap_abort_speculative 0
heap_acquire_tuplock 0
heap_attr_equals 104887
heap_beginscan 346049
heap_delete 303827
heap_endscan 345325
heap_fetch 411927
heap_fetch_next_buffer 855599
heap_finish_speculative 86
heap_freeze_prepared_tuples 1921
heap_freeze_tuple 114899
heap_get_latest_tid 49
heap_getnext 1670031
heap_getnextslot 16244684
heap_getnextslot_tidrange 878
heap_hot_search_buffer 4375432
heap_index_delete_tuples 1037
heap_inplace_lock 10566
heap_inplace_unlock 2613
heap_inplace_update_and_unlock 7953
heap_insert 1680027
heap_lock_tuple 400949
heap_lock_updated_tuple 1
heap_lock_updated_tuple_rec 1
heap_multi_insert 60314
heap_multi_insert_pages 61216
heap_pre_freeze_checks 1921
heap_prepare_freeze_tuple 1062076
heap_prepare_insert 1900891
heap_prepare_pagescan 797940
heap_rescan 2698
heap_scan_stream_read_next_parallel 30515
heap_scan_stream_read_next_serial 1133424
heap_set_tidrange 343
heap_setscanlimits 417
heap_tuple_needs_eventual_freeze 122351
heap_tuple_should_freeze 841020
heap_update 24127
heapgettup 1742010
heapgettup_advance_block 788504
heapgettup_continue_page 1738132
heapgettup_initial_block 344920
heapgettup_pagemode 16173616
heapgettup_start_page 21862
index_delete_check_htid 88977
index_delete_prefetch_buffer 3680
index_delete_sort 1037
index_delete_sort_cmp 1889554
initscan 348747
log_heap_new_cid 0
log_heap_update 23699
log_heap_visible 6127
page_collect_tuples 797940
simple_heap_delete 118843
simple_heap_insert 57339
simple_heap_update 17527
test_lockmode_for_conflict 0
xmax_infomask_changed 10

Generated by: LCOV version 2.3.2-1