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 08:15:43 Functions: 100.0 % 80 80
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 77.6 % 2024 1571

Function Name Sort by function name Hit count Sort by function hit count
ConditionalMultiXactIdWait 6
FreezeMultiXactId 7
heap_abort_speculative 17
MultiXactIdWait 55
Do_MultiXactIdWait 61
heap_get_latest_tid 207
DoesMultiXactIdConflict 218
UpdateXmaxHintBits 244
heap_acquire_tuplock 343
heap_set_tidrange 1366
heap_lock_updated_tuple_rec 2223
heap_lock_updated_tuple 2225
heap_finish_speculative 2236
FreeBulkInsertState 2916
bottomup_nblocksfavorable 2966
bottomup_sort_and_shrink 2966
GetBulkInsertState 3154
heap_setscanlimits 3273
xmax_infomask_changed 5416
heap_getnextslot_tidrange 6740
heap_index_delete_tuples 7947
index_delete_sort 7947
index_delete_prefetch_buffer 25718
log_heap_new_cid 27521
heap_freeze_prepared_tuples 27624
heap_pre_freeze_checks 27624
test_lockmode_for_conflict 38777
GetMultiXactIdHintBits 76806
ReleaseBulkInsertStatePin 90779
heap_inplace_update_and_unlock 97332
get_mxact_status_for_lock 115453
heapgettup_start_page 117126
heap_inplace_unlock 126462
simple_heap_update 135339
heap_scan_stream_read_next_parallel 146231
heap_tuple_needs_eventual_freeze 146440
HeapTupleGetUpdateXid 159912
MultiXactIdGetUpdateXid 162052
heap_inplace_lock 223810
bitmapheap_stream_read_next 259589
bottomup_sort_and_shrink_cmp 266026
heap_multi_insert 460428
heap_multi_insert_pages 468365
heap_endscan 470845
heap_freeze_tuple 471626
heap_beginscan 474090
heap_lock_tuple 571771
heap_rescan 657788
index_delete_check_htid 744621
simple_heap_delete 797889
heap_attr_equals 1001576
heapgettup_initial_block 1092854
simple_heap_insert 1100266
initscan 1131878
heap_delete 1906840
log_heap_update 2381356
HeapDetermineColumnsInfo 2393378
heap_update 2393379
heap_fetch 2862482
heapgettup_advance_block 3095634
heap_prepare_pagescan 3105357
page_collect_tuples 3105357
HeapTupleHeaderAdvanceConflictHorizon 4088785
heap_fetch_next_buffer 4119221
heap_scan_stream_read_next_serial 4188488
ExtractReplicaIdentity 4299928
compute_infobits 6542514
compute_new_xmax_infomask 6673315
heap_tuple_should_freeze 9264322
heapgettup_continue_page 9477358
heapgettup 9503926
heap_insert 12014918
heap_getnext 12647250
heap_prepare_insert 13809275
heap_prepare_freeze_tuple 14117470
AssertHasSnapshotForToast 16775558
index_delete_sort_cmp 17983409
HeapCheckForSerializableConflictOut 41714143
heap_getnextslot 62066060
heapgettup_pagemode 65216248

Generated by: LCOV version 2.0-1