LCOV - code coverage report
Current view: top level - src/backend/utils/sort - tuplesort.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 91.6 % 917 840
Test Date: 2026-11-25 14:16:11 Functions: 100.0 % 58 58
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 70.5 % 532 375

Function Name Sort by function name Hit count Sort by function hit count
tuplesort_rescan 38
leader_takeover_tapes 133
tuplesort_estimate_shared 134
mergeonerun 146
tuplesort_space_type_name 172
tuplesort_initialize_shared 182
tuplesort_method_name 196
tuplesort_attach_shared 204
init_slab_allocator 223
mergeruns 223
tuplesort_skiptuples 258
merge_read_buffer_size 263
tuplesort_get_stats 264
make_bounded_heap 269
sort_bounded_heap 269
tuplesort_used_bound 329
beginmerge 355
worker_freeze_result_tape 385
worker_get_identifier 385
worker_nomergeruns 385
inittapes 475
reversedirection 538
inittapestate 608
tuplesort_set_bound 823
markrunend 1310
selectnewtape 1310
tuplesort_reset 2199
tuplesort_updatemax 2463
grow_memtuples 5423
radix_sort_tuple 7744
verify_memtuples_sorted 7744
tuplesort_merge_order 11379
tuplesort_heap_delete_top 13637
tuplesort_heap_insert 13926
tuplesort_restorepos 28324
radix_sort_recursive 48245
tuplesort_performsort 150765
tuplesort_sort_memtuples 151052
tuplesort_end 175331
tuplesort_begin_common 175535
tuplesort_free 177530
tuplesort_begin_batch 177734
tuplesort_markpos 356017
dumptuples 771498
ssup_datum_int64_cmp 1949287
free_sort_tuple 2154675
ssup_datum_uint64_cmp 2549353
consider_abort_common 2901621
tuplesort_readtup_alloc 3666047
mergereadnext 3725435
getlen 3922442
tuplesort_heap_replace_top 4078560
tuplesort_gettuple_common 18184031
tuplesort_puttuple_common 19603643
current_byte 27142486
normalize_datum 27190731
ssup_datum_uint32_cmp 123876436
ssup_datum_int32_cmp 166284201

Generated by: LCOV version 2.0-1