LCOV - code coverage report
Current view: top level - src/backend/access/heap - heapam.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 91.9 % 2799 2573
Test Date: 2026-09-25 14:15:41 Functions: 100.0 % 80 80
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 77.7 % 2024 1572

Function Name Sort by function name Hit count Sort by function hit count
AssertHasSnapshotForToast 16776577
ConditionalMultiXactIdWait 6
Do_MultiXactIdWait 61
DoesMultiXactIdConflict 218
ExtractReplicaIdentity 4299348
FreeBulkInsertState 2920
FreezeMultiXactId 7
GetBulkInsertState 3157
GetMultiXactIdHintBits 76809
HeapCheckForSerializableConflictOut 41751858
HeapDetermineColumnsInfo 2392666
HeapTupleGetUpdateXid 159913
HeapTupleHeaderAdvanceConflictHorizon 4107989
MultiXactIdGetUpdateXid 162053
MultiXactIdWait 55
ReleaseBulkInsertStatePin 90779
UpdateXmaxHintBits 245
bitmapheap_stream_read_next 259763
bottomup_nblocksfavorable 2917
bottomup_sort_and_shrink 2917
bottomup_sort_and_shrink_cmp 257493
compute_infobits 6541719
compute_new_xmax_infomask 6672519
get_mxact_status_for_lock 115456
heap_abort_speculative 16
heap_acquire_tuplock 344
heap_attr_equals 999167
heap_beginscan 476106
heap_delete 1906973
heap_endscan 472863
heap_fetch 2862535
heap_fetch_next_buffer 4121675
heap_finish_speculative 2236
heap_freeze_prepared_tuples 27610
heap_freeze_tuple 459485
heap_get_latest_tid 207
heap_getnext 12627230
heap_getnextslot 61902677
heap_getnextslot_tidrange 6740
heap_index_delete_tuples 7848
heap_inplace_lock 218306
heap_inplace_unlock 121101
heap_inplace_update_and_unlock 97186
heap_insert 12016380
heap_lock_tuple 571760
heap_lock_updated_tuple 2225
heap_lock_updated_tuple_rec 2223
heap_multi_insert 460565
heap_multi_insert_pages 468373
heap_pre_freeze_checks 27610
heap_prepare_freeze_tuple 13856556
heap_prepare_insert 13810959
heap_prepare_pagescan 3111570
heap_rescan 654466
heap_scan_stream_read_next_parallel 146241
heap_scan_stream_read_next_serial 4192830
heap_set_tidrange 1366
heap_setscanlimits 3281
heap_tuple_needs_eventual_freeze 141697
heap_tuple_should_freeze 9115590
heap_update 2392667
heapgettup 9488031
heapgettup_advance_block 3101553
heapgettup_continue_page 9461440
heapgettup_initial_block 1091277
heapgettup_pagemode 65048740
heapgettup_start_page 117092
index_delete_check_htid 732047
index_delete_prefetch_buffer 25592
index_delete_sort 7848
index_delete_sort_cmp 17630984
initscan 1130572
log_heap_new_cid 27654
log_heap_update 2380643
page_collect_tuples 3111570
simple_heap_delete 798023
simple_heap_insert 1100461
simple_heap_update 134627
test_lockmode_for_conflict 38777
xmax_infomask_changed 5417

Generated by: LCOV version 2.0-1