LCOV - differential code coverage report
Current view: top level - src/backend/executor - nodeAgg.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 94.7 % 1527 1446 81 16 1430 22
Current Date: 2026-10-12 11:56:10 +0200 Functions: 98.3 % 58 57 1 3 54
Baseline: lcov-20261012-baseline Branches: 81.1 % 936 759 1 176 1 7 751
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 49 49 16 33
(360..) days: 94.5 % 1478 1397 81 1397
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: 83.3 % 12 10 1 1 7 3
(360..) days: 81.1 % 924 749 175 1 748

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 3638225 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 541224 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 35021 96.8 % (30 / 31) 91.7 % (22 / 24)
ExecInitAgg GNC 35145 94.7 % (301 / 318) 78.9 % (172 / 218)
ExecReScanAgg CBC 31328 91.1 % (41 / 45) 75.0 % (45 / 60)
GetAggInitVal CBC 17311 100.0 % (6 / 6)
advance_aggregates CBC 21034420 100.0 % (3 / 3)
advance_transition_function CBC 479855 57.6 % (19 / 33) 57.1 % (8 / 14)
agg_fill_hash_table CBC 11117 100.0 % (13 / 13) 100.0 % (4 / 4)
agg_refill_hash_table CBC 29793 100.0 % (59 / 59) 81.2 % (26 / 32)
agg_retrieve_direct CBC 152512 100.0 % (101 / 101) 93.8 % (75 / 80)
agg_retrieve_hash_table CBC 347993 100.0 % (9 / 9) 100.0 % (6 / 6)
agg_retrieve_hash_table_in_memory CBC 366030 100.0 % (36 / 36) 90.0 % (9 / 10)
build_hash_table CBC 4016 100.0 % (14 / 14) 75.0 % (3 / 4)
build_hash_tables CBC 11382 86.7 % (13 / 15) 83.3 % (5 / 6)
build_pertrans_for_aggref GNC 38540 100.0 % (100 / 100) 81.5 % (44 / 54)
fetch_input_tuple CBC 20630515 100.0 % (10 / 10) 91.7 % (11 / 12)
finalize_aggregate CBC 719280 94.3 % (33 / 35) 96.2 % (25 / 26)
finalize_aggregates CBC 559032 100.0 % (30 / 30) 91.7 % (22 / 24)
finalize_partialaggregate CBC 13134 100.0 % (20 / 20) 72.2 % (13 / 18)
find_cols CBC 5227 100.0 % (13 / 13) 100.0 % (2 / 2)
find_cols_walker CBC 58629 100.0 % (20 / 20) 78.6 % (11 / 14)
find_hash_columns GNC 5227 100.0 % (54 / 54) 95.8 % (23 / 24)
hash_agg_check_limits CBC 402509 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 34971 100.0 % (11 / 11) 100.0 % (2 / 2)
hash_agg_set_limits CBC 50584 89.5 % (17 / 19) 80.0 % (8 / 10)
hash_agg_update_metrics CBC 29262 95.2 % (20 / 21) 92.9 % (13 / 14)
hash_choose_num_buckets CBC 4016 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 5227 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 11225 100.0 % (12 / 12) 100.0 % (4 / 4)
hashagg_recompile_expressions CBC 43270 100.0 % (22 / 22) 92.9 % (13 / 14)
hashagg_reset_spill_state CBC 42598 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 730016 95.7 % (22 / 23) 87.5 % (7 / 8)
initialize_aggregates CBC 149801 93.3 % (14 / 15) 83.3 % (5 / 6)
initialize_hash_entry CBC 402509 100.0 % (10 / 10) 100.0 % (4 / 4)
initialize_phase CBC 58507 100.0 % (21 / 21) 87.5 % (14 / 16)
lookup_hash_entries CBC 4766097 91.7 % (22 / 24) 90.0 % (9 / 10)
prepare_hash_slot CBC 5627599 100.0 % (9 / 9) 100.0 % (2 / 2)
prepare_projection_slot CBC 559032 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 559024 100.0 % (6 / 6) 75.0 % (3 / 4)
select_current_set CBC 5323995 100.0 % (6 / 6) 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1