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

Function Name Sort by function name Hit count Sort by function hit count
AssertHasSnapshotForToast 16699766
ConditionalMultiXactIdWait 6
Do_MultiXactIdWait 61
DoesMultiXactIdConflict 218
ExtractReplicaIdentity 4314831
FreeBulkInsertState 3383
FreezeMultiXactId 6
GetBulkInsertState 3622
GetMultiXactIdHintBits 76870
HeapCheckForSerializableConflictOut 42512571
HeapDetermineColumnsInfo 2388311
HeapTupleGetUpdateXid 159952
HeapTupleHeaderAdvanceConflictHorizon 4110627
MultiXactIdGetUpdateXid 162091
MultiXactIdWait 55
ReleaseBulkInsertStatePin 90779
UpdateXmaxHintBits 283
bitmapheap_stream_read_next 260161
bottomup_nblocksfavorable 2692
bottomup_sort_and_shrink 2692
bottomup_sort_and_shrink_cmp 254011
compute_infobits 6570951
compute_new_xmax_infomask 6676549
get_mxact_status_for_lock 115521
heap_abort_speculative 16
heap_acquire_tuplock 380
heap_attr_equals 999048
heap_beginscan 488141
heap_delete 1926863
heap_endscan 484817
heap_fetch 2841739
heap_fetch_next_buffer 4272410
heap_finish_speculative 2216
heap_freeze_prepared_tuples 27836
heap_freeze_tuple 452256
heap_get_latest_tid 207
heap_getnext 12683198
heap_getnextslot 61509132
heap_getnextslot_tidrange 6512
heap_index_delete_tuples 8156
heap_inplace_lock 231815
heap_inplace_unlock 129967
heap_inplace_update_and_unlock 101825
heap_insert 11892841
heap_lock_tuple 571779
heap_lock_updated_tuple 2228
heap_lock_updated_tuple_rec 2226
heap_multi_insert 491754
heap_multi_insert_pages 500312
heap_pre_freeze_checks 27836
heap_prepare_freeze_tuple 13063339
heap_prepare_insert 13742060
heap_prepare_pagescan 3248476
heap_rescan 650870
heap_scan_stream_read_next_parallel 146271
heap_scan_stream_read_next_serial 4343504
heap_set_tidrange 1374
heap_setscanlimits 3300
heap_tuple_needs_eventual_freeze 154992
heap_tuple_should_freeze 8577590
heap_update 2388312
heapgettup 9432820
heapgettup_advance_block 3236888
heapgettup_continue_page 9405217
heapgettup_initial_block 1106616
heapgettup_pagemode 64766146
heapgettup_start_page 116993
index_delete_check_htid 745073
index_delete_prefetch_buffer 27384
index_delete_sort 8156
index_delete_sort_cmp 17219295
initscan 1139011
log_heap_new_cid 26639
log_heap_update 2376303
page_collect_tuples 3248476
simple_heap_delete 842612
simple_heap_insert 1092925
simple_heap_update 143877
test_lockmode_for_conflict 38781
xmax_infomask_changed 5454

Generated by: LCOV version 2.0-1