LCOV - code coverage report
Current view: top level - src/backend/executor - nodeAgg.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 94.7 % 1500 1420
Test Date: 2026-08-02 05:15:46 Functions: 98.3 % 58 57
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 83.4 % 856 714

Function Name Sort by function name Hit count Sort by function hit count
AggCheckCallContext 3553065
AggGetAggref 163
AggGetTempMemoryContext 0
AggRegisterCallback 433
AggStateIsShared 163
ExecAgg 517174
ExecAggEstimate 396
ExecAggInitializeDSM 396
ExecAggInitializeWorker 1116
ExecAggRetrieveInstrumentation 68
ExecEndAgg 34598
ExecInitAgg 34722
ExecReScanAgg 31806
GetAggInitVal 16986
advance_aggregates 20745444
advance_transition_function 479778
agg_fill_hash_table 11115
agg_refill_hash_table 29808
agg_retrieve_direct 152173
agg_retrieve_hash_table 324227
agg_retrieve_hash_table_in_memory 342264
build_hash_table 3896
build_hash_tables 11403
build_pertrans_for_aggref 38248
fetch_input_tuple 20343446
finalize_aggregate 719398
finalize_aggregates 534884
finalize_partialaggregate 11677
find_cols 5071
find_cols_walker 57797
find_hash_columns 5071
hash_agg_check_limits 374746
hash_agg_enter_spill_mode 17656
hash_agg_entry_size 34609
hash_agg_set_limits 50222
hash_agg_update_metrics 29260
hash_choose_num_buckets 3896
hash_choose_num_partitions 10067
hash_create_memory 5071
hashagg_batch_new 18037
hashagg_batch_read 795951
hashagg_finish_initial_spills 11223
hashagg_recompile_expressions 43411
hashagg_reset_spill_state 42316
hashagg_spill_finish 8432
hashagg_spill_init 8432
hashagg_spill_tuple 777914
initialize_aggregate 728609
initialize_aggregates 149434
initialize_hash_entry 374746
initialize_phase 58410
lookup_hash_entries 4737088
prepare_hash_slot 5604564
prepare_projection_slot 534884
process_ordered_aggregate_multi 56
process_ordered_aggregate_single 35804
project_aggregates 534876
select_current_set 5293843

Generated by: LCOV version 2.0-1