LCOV - differential code coverage report
Current view: top level - src/backend/executor - nodeAgg.c (source / functions) Coverage Total Hit UBC GBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 94.7 % 1533 1452 81 1452
Current Date: 2026-07-25 17:13:00 -0400 Functions: 98.3 % 58 57 1 57
Baseline: lcov-20260726-baseline Branches: 81.1 % 936 759 177 1 758
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 34 34 34
(360..) days: 94.6 % 1499 1418 81 1418
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 98.2 % 56 55 1 55
Branch coverage date bins:
(30,360] days: 75.0 % 4 3 1 3
(360..) days: 81.1 % 932 756 176 1 755

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
ExecInitAgg CBC 34677 94.7 % (301 / 318) 78.9 % (172 / 218)
ExecReScanAgg CBC 31536 91.1 % (41 / 45) 75.0 % (45 / 60)
process_ordered_aggregate_multi CBC 56 76.2 % (32 / 42) 45.0 % (9 / 20)
build_pertrans_for_aggref CBC 38196 100.0 % (104 / 104) 81.5 % (44 / 54)
hashagg_batch_read CBC 789977 83.3 % (15 / 18) 37.5 % (6 / 16)
advance_transition_function CBC 479820 57.6 % (19 / 33) 57.1 % (8 / 14)
agg_refill_hash_table CBC 29699 100.0 % (59 / 59) 81.2 % (26 / 32)
process_ordered_aggregate_single CBC 35804 97.6 % (40 / 41) 80.0 % (24 / 30)
agg_retrieve_direct CBC 152222 100.0 % (101 / 101) 93.8 % (75 / 80)
finalize_partialaggregate CBC 12848 100.0 % (20 / 20) 72.2 % (13 / 18)
AggGetAggref CBC 163 80.0 % (8 / 10) 50.0 % (4 / 8)
AggGetTempMemoryContext UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
AggRegisterCallback CBC 433 85.7 % (6 / 7) 33.3 % (2 / 6)
AggStateIsShared CBC 163 80.0 % (8 / 10) 50.0 % (4 / 8)
find_cols_walker CBC 57817 100.0 % (20 / 20) 78.6 % (11 / 14)
hash_choose_num_partitions CBC 10067 90.0 % (18 / 20) 70.0 % (7 / 10)
hashagg_reset_spill_state CBC 42132 57.1 % (8 / 14) 50.0 % (3 / 6)
ExecAgg CBC 518733 100.0 % (17 / 17) 85.7 % (12 / 14)
ExecEndAgg CBC 34553 96.8 % (30 / 31) 91.7 % (22 / 24)
finalize_aggregates CBC 536696 100.0 % (30 / 30) 91.7 % (22 / 24)
hash_agg_enter_spill_mode CBC 17656 100.0 % (16 / 16) 75.0 % (6 / 8)
hash_agg_set_limits CBC 50171 89.5 % (17 / 19) 80.0 % (8 / 10)
initialize_phase CBC 58235 100.0 % (21 / 21) 87.5 % (14 / 16)
AggCheckCallContext CBC 3638274 100.0 % (14 / 14) 92.9 % (13 / 14)
ExecAggEstimate CBC 396 100.0 % (7 / 7) 75.0 % (3 / 4)
ExecAggInitializeDSM CBC 396 100.0 % (10 / 10) 75.0 % (3 / 4)
ExecAggRetrieveInstrumentation CBC 68 87.5 % (7 / 8) 50.0 % (1 / 2)
agg_retrieve_hash_table_in_memory CBC 343887 100.0 % (36 / 36) 90.0 % (9 / 10)
build_hash_table CBC 3903 100.0 % (14 / 14) 75.0 % (3 / 4)
build_hash_tables CBC 11271 86.7 % (13 / 15) 83.3 % (5 / 6)
fetch_input_tuple CBC 20270311 100.0 % (10 / 10) 91.7 % (11 / 12)
finalize_aggregate CBC 719243 94.3 % (33 / 35) 96.2 % (25 / 26)
find_hash_columns CBC 5078 100.0 % (56 / 56) 95.8 % (23 / 24)
hash_agg_check_limits CBC 376488 100.0 % (18 / 18) 91.7 % (11 / 12)
hash_agg_update_metrics CBC 29151 95.2 % (20 / 21) 92.9 % (13 / 14)
hashagg_recompile_expressions CBC 43272 100.0 % (22 / 22) 92.9 % (13 / 14)
hashagg_spill_finish CBC 8432 94.4 % (17 / 18) 83.3 % (5 / 6)
hashagg_spill_tuple CBC 771940 100.0 % (28 / 28) 91.7 % (11 / 12)
initialize_aggregate CBC 729635 95.7 % (22 / 23) 87.5 % (7 / 8)
initialize_aggregates CBC 149514 93.3 % (14 / 15) 83.3 % (5 / 6)
lookup_hash_entries CBC 4738970 91.7 % (22 / 24) 90.0 % (9 / 10)
prepare_projection_slot CBC 536696 100.0 % (13 / 13) 92.9 % (13 / 14)
project_aggregates CBC 536688 100.0 % (6 / 6) 75.0 % (3 / 4)
agg_fill_hash_table CBC 11006 100.0 % (13 / 13) 100.0 % (4 / 4)
agg_retrieve_hash_table CBC 325850 100.0 % (9 / 9) 100.0 % (6 / 6)
find_cols CBC 5078 100.0 % (13 / 13) 100.0 % (2 / 2)
hash_agg_entry_size CBC 34558 100.0 % (11 / 11) 100.0 % (2 / 2)
hash_choose_num_buckets CBC 3903 100.0 % (7 / 7) 100.0 % (2 / 2)
hashagg_finish_initial_spills CBC 11114 100.0 % (12 / 12) 100.0 % (4 / 4)
hashagg_spill_init CBC 8432 100.0 % (19 / 19) 100.0 % (8 / 8)
initialize_hash_entry CBC 376488 100.0 % (10 / 10) 100.0 % (4 / 4)
prepare_hash_slot CBC 5600472 100.0 % (9 / 9) 100.0 % (2 / 2)
select_current_set CBC 5295731 100.0 % (6 / 6) 100.0 % (2 / 2)
ExecAggInitializeWorker CBC 1117 100.0 % (4 / 4)
GetAggInitVal CBC 16946 100.0 % (6 / 6)
advance_aggregates CBC 20674316 100.0 % (3 / 3)
hash_create_memory CBC 5078 100.0 % (9 / 9)
hashagg_batch_new CBC 18037 100.0 % (8 / 8)

Generated by: LCOV version 2.0-1