LCOV - code coverage report
Current view: top level - src/backend/executor - nodeAgg.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 94.6 % 1494 1414
Test Date: 2026-10-02 22:15:56 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 3553277
AggGetAggref 163
AggGetTempMemoryContext 0
AggRegisterCallback 433
AggStateIsShared 163
ExecAgg 537680
ExecAggEstimate 396
ExecAggInitializeDSM 396
ExecAggInitializeWorker 1116
ExecAggRetrieveInstrumentation 68
ExecEndAgg 34738
ExecInitAgg 34862
ExecReScanAgg 31574
GetAggInitVal 17184
advance_aggregates 20886580
advance_transition_function 479749
agg_fill_hash_table 11202
agg_refill_hash_table 29893
agg_retrieve_direct 151970
agg_retrieve_hash_table 345089
agg_retrieve_hash_table_in_memory 363126
build_hash_table 3989
build_hash_tables 11489
build_pertrans_for_aggref 38283
fetch_input_tuple 20484443
finalize_aggregate 719148
finalize_aggregates 555459
finalize_partialaggregate 11880
find_cols 5184
find_cols_walker 58359
find_hash_columns 5184
hash_agg_check_limits 399453
hash_agg_enter_spill_mode 17656
hash_agg_entry_size 34606
hash_agg_set_limits 50219
hash_agg_update_metrics 29347
hash_choose_num_buckets 3989
hash_choose_num_partitions 10067
hash_create_memory 5184
hashagg_batch_new 18037
hashagg_batch_read 795951
hashagg_finish_initial_spills 11310
hashagg_recompile_expressions 43404
hashagg_reset_spill_state 42449
hashagg_spill_finish 8432
hashagg_spill_init 8432
hashagg_spill_tuple 777914
initialize_aggregate 728578
initialize_aggregates 149232
initialize_hash_entry 399453
initialize_phase 58324
lookup_hash_entries 4761743
prepare_hash_slot 5629219
prepare_projection_slot 555459
process_ordered_aggregate_multi 56
process_ordered_aggregate_single 35804
project_aggregates 555451
select_current_set 5318320

Generated by: LCOV version 2.0-1