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: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 94.7 % 1533 1452 81 16 1436 22
Current Date: 2026-11-05 14:14:01 +0100 Functions: 98.3 % 58 57 1 3 54
Baseline: lcov-20261105-baseline Branches: 81.2 % 942 765 1 176 2 7 756
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 7 7 7
(30,360] days: 100.0 % 35 35 16 19
(360..) days: 94.6 % 1491 1410 81 1410
Function coverage date bins:
(360..) days: 98.3 % 58 57 1 3 54
Branch coverage date bins:
(1,7] days: 83.3 % 6 5 1 5
(30,360] days: 80.0 % 10 8 1 1 7 1
(360..) days: 81.2 % 926 752 174 2 750

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 GNC 35475 94.7 % (306 / 323) 79.3 % (176 / 222)
ExecReScanAgg CBC 31533 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 GNC 38910 100.0 % (100 / 100) 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 29815 100.0 % (59 / 59) 81.2 % (26 / 32)
process_ordered_aggregate_single CBC 35808 97.6 % (40 / 41) 80.0 % (24 / 30)
agg_retrieve_direct CBC 152834 100.0 % (101 / 101) 93.8 % (75 / 80)
finalize_partialaggregate CBC 13054 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 63629 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 43054 57.1 % (8 / 14) 50.0 % (3 / 6)
ExecAgg CBC 541666 100.0 % (17 / 17) 85.7 % (12 / 14)
ExecEndAgg CBC 35343 96.8 % (30 / 31) 91.7 % (22 / 24)
finalize_aggregates CBC 559058 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 49263 89.5 % (17 / 19) 80.0 % (8 / 10)
initialize_phase CBC 59054 100.0 % (21 / 21) 87.5 % (14 / 16)
prepare_projection_slot CBC 559058 100.0 % (14 / 14) 87.5 % (14 / 16)
AggCheckCallContext CBC 3639669 100.0 % (14 / 14) 92.9 % (13 / 14)
ExecAggEstimate CBC 400 100.0 % (7 / 7) 75.0 % (3 / 4)
ExecAggInitializeDSM CBC 400 100.0 % (10 / 10) 75.0 % (3 / 4)
ExecAggRetrieveInstrumentation CBC 68 87.5 % (7 / 8) 50.0 % (1 / 2)
build_hash_table CBC 4040 100.0 % (14 / 14) 75.0 % (3 / 4)
build_hash_tables CBC 11536 86.7 % (13 / 15) 83.3 % (5 / 6)
fetch_input_tuple CBC 20749878 100.0 % (10 / 10) 91.7 % (11 / 12)
finalize_aggregate CBC 719093 94.3 % (33 / 35) 96.2 % (25 / 26)
find_hash_columns GNC 5267 100.0 % (54 / 54) 95.8 % (23 / 24)
hash_agg_check_limits CBC 402783 100.0 % (18 / 18) 91.7 % (11 / 12)
hash_agg_update_metrics CBC 29414 95.2 % (20 / 21) 92.9 % (13 / 14)
hashagg_recompile_expressions CBC 43404 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 730307 95.7 % (22 / 23) 87.5 % (7 / 8)
initialize_aggregates CBC 150111 93.3 % (14 / 15) 83.3 % (5 / 6)
lookup_hash_entries CBC 4766610 91.7 % (22 / 24) 90.0 % (9 / 10)
project_aggregates CBC 559046 100.0 % (6 / 6) 75.0 % (3 / 4)
agg_fill_hash_table CBC 11269 100.0 % (13 / 13) 100.0 % (4 / 4)
agg_retrieve_hash_table CBC 347735 100.0 % (9 / 9) 100.0 % (6 / 6)
agg_retrieve_hash_table_in_memory CBC 365772 100.0 % (36 / 36) 100.0 % (10 / 10)
find_cols CBC 5611 100.0 % (13 / 13) 100.0 % (2 / 2)
hash_agg_entry_size CBC 33695 100.0 % (11 / 11) 100.0 % (2 / 2)
hash_choose_num_buckets CBC 4040 100.0 % (7 / 7) 100.0 % (2 / 2)
hashagg_finish_initial_spills CBC 11377 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 402783 100.0 % (10 / 10) 100.0 % (4 / 4)
prepare_hash_slot CBC 5628116 100.0 % (9 / 9) 100.0 % (2 / 2)
select_current_set CBC 5325472 100.0 % (6 / 6) 100.0 % (2 / 2)
ExecAggInitializeWorker CBC 1165 100.0 % (4 / 4)
GetAggInitVal CBC 17597 100.0 % (6 / 6)
advance_aggregates CBC 21153233 100.0 % (3 / 3)
hash_create_memory CBC 5267 100.0 % (9 / 9)
hashagg_batch_new CBC 18037 100.0 % (8 / 8)

Generated by: LCOV version 2.0-1