LCOV - differential code coverage report
Current view: top level - src/backend/executor - nodeAgg.c (source / functions) Coverage Total Hit UBC GBC GNC CBC DCB
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 94.7 % 1527 1446 81 9 1437 15
Current Date: 2026-08-27 14:31:44 +0300 Functions: 98.3 % 58 57 1 3 54
Baseline: lcov-20260827-baseline Branches: 81.2 % 936 760 176 2 758
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 9 9 9
(30,360] days: 100.0 % 34 34 34
(360..) days: 94.5 % 1484 1403 81 1403
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 98.2 % 56 55 1 3 52
Branch coverage date bins:
(30,360] days: 75.0 % 4 3 1 3
(360..) days: 81.2 % 932 757 175 2 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
AggCheckCallContext CBC 3637924 100.0 % (14 / 14) 92.9 % (13 / 14)
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)
ExecAgg CBC 527169 100.0 % (17 / 17) 85.7 % (12 / 14)
ExecAggEstimate CBC 396 100.0 % (7 / 7) 75.0 % (3 / 4)
ExecAggInitializeDSM CBC 396 100.0 % (10 / 10) 75.0 % (3 / 4)
ExecAggInitializeWorker CBC 1117 100.0 % (4 / 4)
ExecAggRetrieveInstrumentation CBC 68 87.5 % (7 / 8) 50.0 % (1 / 2)
ExecEndAgg CBC 34777 96.8 % (30 / 31) 91.7 % (22 / 24)
ExecInitAgg GNC 34901 94.7 % (301 / 318) 78.9 % (172 / 218)
ExecReScanAgg CBC 31277 91.1 % (41 / 45) 75.0 % (45 / 60)
GetAggInitVal CBC 17172 100.0 % (6 / 6)
advance_aggregates CBC 20717654 100.0 % (3 / 3)
advance_transition_function CBC 479812 57.6 % (19 / 33) 57.1 % (8 / 14)
agg_fill_hash_table CBC 10868 100.0 % (13 / 13) 100.0 % (4 / 4)
agg_refill_hash_table CBC 29566 100.0 % (59 / 59) 81.2 % (26 / 32)
agg_retrieve_direct CBC 152321 100.0 % (101 / 101) 93.8 % (75 / 80)
agg_retrieve_hash_table CBC 334119 100.0 % (9 / 9) 100.0 % (6 / 6)
agg_retrieve_hash_table_in_memory CBC 352156 100.0 % (36 / 36) 100.0 % (10 / 10)
build_hash_table CBC 3905 100.0 % (14 / 14) 75.0 % (3 / 4)
build_hash_tables CBC 11134 86.7 % (13 / 15) 83.3 % (5 / 6)
build_pertrans_for_aggref GNC 38412 100.0 % (100 / 100) 81.5 % (44 / 54)
fetch_input_tuple CBC 20313579 100.0 % (10 / 10) 91.7 % (11 / 12)
finalize_aggregate CBC 719331 94.3 % (33 / 35) 96.2 % (25 / 26)
finalize_aggregates CBC 545197 100.0 % (30 / 30) 91.7 % (22 / 24)
finalize_partialaggregate CBC 12861 100.0 % (20 / 20) 72.2 % (13 / 18)
find_cols CBC 5084 100.0 % (13 / 13) 100.0 % (2 / 2)
find_cols_walker CBC 57875 100.0 % (20 / 20) 78.6 % (11 / 14)
find_hash_columns GNC 5084 100.0 % (54 / 54) 95.8 % (23 / 24)
hash_agg_check_limits CBC 388782 100.0 % (18 / 18) 91.7 % (11 / 12)
hash_agg_enter_spill_mode CBC 17656 100.0 % (16 / 16) 75.0 % (6 / 8)
hash_agg_entry_size CBC 34416 100.0 % (11 / 11) 100.0 % (2 / 2)
hash_agg_set_limits CBC 50029 89.5 % (17 / 19) 80.0 % (8 / 10)
hash_agg_update_metrics CBC 29013 95.2 % (20 / 21) 92.9 % (13 / 14)
hash_choose_num_buckets CBC 3905 100.0 % (7 / 7) 100.0 % (2 / 2)
hash_choose_num_partitions CBC 10067 90.0 % (18 / 20) 70.0 % (7 / 10)
hash_create_memory CBC 5084 100.0 % (9 / 9)
hashagg_batch_new CBC 18037 100.0 % (8 / 8)
hashagg_batch_read CBC 789977 83.3 % (15 / 18) 37.5 % (6 / 16)
hashagg_finish_initial_spills CBC 10976 100.0 % (12 / 12) 100.0 % (4 / 4)
hashagg_recompile_expressions CBC 43133 100.0 % (22 / 22) 92.9 % (13 / 14)
hashagg_reset_spill_state CBC 42217 57.1 % (8 / 14) 50.0 % (3 / 6)
hashagg_spill_finish CBC 8432 94.4 % (17 / 18) 83.3 % (5 / 6)
hashagg_spill_init CBC 8432 100.0 % (19 / 19) 100.0 % (8 / 8)
hashagg_spill_tuple CBC 771940 100.0 % (28 / 28) 91.7 % (11 / 12)
initialize_aggregate CBC 729714 95.7 % (22 / 23) 87.5 % (7 / 8)
initialize_aggregates CBC 149613 93.3 % (14 / 15) 83.3 % (5 / 6)
initialize_hash_entry CBC 388782 100.0 % (10 / 10) 100.0 % (4 / 4)
initialize_phase CBC 58334 100.0 % (21 / 21) 87.5 % (14 / 16)
lookup_hash_entries CBC 4751229 91.7 % (22 / 24) 90.0 % (9 / 10)
prepare_hash_slot CBC 5612731 100.0 % (9 / 9) 100.0 % (2 / 2)
prepare_projection_slot CBC 545197 100.0 % (13 / 13) 92.9 % (13 / 14)
process_ordered_aggregate_multi CBC 56 76.2 % (32 / 42) 45.0 % (9 / 20)
process_ordered_aggregate_single CBC 35804 97.6 % (40 / 41) 80.0 % (24 / 30)
project_aggregates CBC 545189 100.0 % (6 / 6) 75.0 % (3 / 4)
select_current_set CBC 5308280 100.0 % (6 / 6) 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1