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-07-13 00:15:35 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 3553198
AggGetAggref 163
AggGetTempMemoryContext 0
AggRegisterCallback 433
AggStateIsShared 163
ExecAgg 518697
ExecAggEstimate 396
ExecAggInitializeDSM 396
ExecAggInitializeWorker 1111
ExecAggRetrieveInstrumentation 68
ExecEndAgg 34429
ExecInitAgg 34553
ExecReScanAgg 31787
GetAggInitVal 16816
advance_aggregates 20722417
advance_transition_function 479781
agg_fill_hash_table 11108
agg_refill_hash_table 29797
agg_retrieve_direct 151981
agg_retrieve_hash_table 326099
agg_retrieve_hash_table_in_memory 344136
build_hash_table 3877
build_hash_tables 11384
build_pertrans_for_aggref 38074
fetch_input_tuple 20320251
finalize_aggregate 719208
finalize_aggregates 536574
finalize_partialaggregate 11796
find_cols 5084
find_cols_walker 57907
find_hash_columns 5084
hash_agg_check_limits 376655
hash_agg_enter_spill_mode 17656
hash_agg_entry_size 34572
hash_agg_set_limits 50185
hash_agg_update_metrics 29253
hash_choose_num_buckets 3877
hash_choose_num_partitions 10067
hash_create_memory 5084
hashagg_batch_new 18037
hashagg_batch_read 795951
hashagg_finish_initial_spills 11216
hashagg_recompile_expressions 43411
hashagg_reset_spill_state 42147
hashagg_spill_finish 8432
hashagg_spill_init 8432
hashagg_spill_tuple 777914
initialize_aggregate 728564
initialize_aggregates 149241
initialize_hash_entry 376655
initialize_phase 58226
lookup_hash_entries 4738330
prepare_hash_slot 5605806
prepare_projection_slot 536574
process_ordered_aggregate_multi 56
process_ordered_aggregate_single 35804
project_aggregates 536566
select_current_set 5294519

Generated by: LCOV version 2.0-1