LCOV - differential code coverage report
Current view: top level - src/backend/executor - nodeAgg.c (source / functions) Coverage Total Hit LBC UBC GNC CBC DCB
Current: c3df85756ceb0246958ef2b72c04aba51e52de13 vs 167cb26718e3eae4fef470900b4cd1d434f15649 Lines: 94.7 % 1520 1439 81 32 1407 40
Current Date: 2025-12-18 07:33:40 +0900 Functions: 98.3 % 58 57 1 15 42 2
Baseline: lcov-20251218-005734-baseline Branches: 80.6 % 928 748 1 179 2 746
Baseline Date: 2025-12-17 11:55:04 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 18 18 18
(30,360] days: 96.4 % 56 54 2 14 40
(360..) days: 94.5 % 1446 1367 79 1367
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 98.2 % 55 54 1 12 42
Branch coverage date bins:
(30,360] days: 80.0 % 10 8 2 2 6
(360..) days: 80.6 % 918 740 1 177 740

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 25986 94.7 % (301 / 318) 78.9 % (172 / 218)
advance_transition_function CBC 362154 57.6 % (19 / 33) 57.1 % (8 / 14)
process_ordered_aggregate_multi CBC 42 76.2 % (32 / 42) 45.0 % (9 / 20)
hashagg_reset_spill_state CBC 32216 57.1 % (8 / 14) 50.0 % (3 / 6)
AggGetTempMemoryContext UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
ExecReScanAgg GNC 27362 91.1 % (41 / 45) 75.0 % (45 / 60)
hashagg_batch_read CBC 606279 83.3 % (15 / 18) 37.5 % (6 / 16)
AggGetAggref CBC 123 80.0 % (8 / 10) 50.0 % (4 / 8)
AggStateIsShared CBC 123 80.0 % (8 / 10) 50.0 % (4 / 8)
finalize_aggregate CBC 561350 94.3 % (33 / 35) 96.2 % (25 / 26)
hash_agg_set_limits CBC 33341 89.5 % (17 / 19) 80.0 % (8 / 10)
hash_choose_num_partitions GNC 7521 90.0 % (18 / 20) 70.0 % (7 / 10)
lookup_hash_entries CBC 3453955 91.7 % (22 / 24) 90.0 % (9 / 10)
AggRegisterCallback CBC 330 85.7 % (6 / 7) 33.3 % (2 / 6)
ExecAggRetrieveInstrumentation CBC 51 87.5 % (7 / 8) 50.0 % (1 / 2)
ExecEndAgg GNC 25887 96.8 % (30 / 31) 91.7 % (22 / 24)
hash_agg_update_metrics GNC 22267 95.2 % (20 / 21) 92.9 % (13 / 14)
hashagg_spill_finish CBC 6306 94.4 % (17 / 18) 83.3 % (5 / 6)
hashagg_spill_init GNC 6306 93.3 % (14 / 15) 83.3 % (5 / 6)
hashagg_spill_tuple CBC 592812 96.4 % (27 / 28) 83.3 % (10 / 12)
initialize_aggregate CBC 569069 95.7 % (22 / 23) 87.5 % (7 / 8)
initialize_aggregates CBC 152960 93.3 % (14 / 15) 83.3 % (5 / 6)
process_ordered_aggregate_single CBC 26879 97.6 % (40 / 41) 80.0 % (24 / 30)
AggCheckCallContext CBC 2706494 100.0 % (14 / 14) 92.9 % (13 / 14)
ExecAgg CBC 411873 100.0 % (17 / 17) 78.6 % (11 / 14)
ExecAggEstimate CBC 293 100.0 % (7 / 7) 75.0 % (3 / 4)
ExecAggInitializeDSM CBC 293 100.0 % (10 / 10) 75.0 % (3 / 4)
ExecAggInitializeWorker CBC 830 100.0 % (4 / 4)
GetAggInitVal CBC 13524 100.0 % (6 / 6)
advance_aggregates CBC 14922102 100.0 % (3 / 3)
agg_fill_hash_table CBC 8728 100.0 % (13 / 13) 100.0 % (4 / 4)
agg_refill_hash_table GNC 22663 100.0 % (58 / 58) 81.2 % (26 / 32)
agg_retrieve_direct CBC 125097 100.0 % (101 / 101) 93.8 % (75 / 80)
agg_retrieve_hash_table CBC 252207 100.0 % (9 / 9) 100.0 % (6 / 6)
agg_retrieve_hash_table_in_memory CBC 265674 100.0 % (36 / 36) 90.0 % (9 / 10)
build_hash_tables GNC 8920 100.0 % (12 / 12) 100.0 % (4 / 4)
build_pertrans_for_aggref GNC 28617 100.0 % (104 / 104) 81.5 % (44 / 54)
fetch_input_tuple CBC 14587042 100.0 % (10 / 10) 91.7 % (11 / 12)
finalize_aggregates CBC 420828 100.0 % (30 / 30) 91.7 % (22 / 24)
finalize_partialaggregate CBC 9482 100.0 % (20 / 20) 72.2 % (13 / 18)
find_cols CBC 3520 100.0 % (13 / 13) 100.0 % (2 / 2)
find_cols_walker CBC 42015 100.0 % (20 / 20) 78.6 % (11 / 14)
find_hash_columns CBC 3520 100.0 % (56 / 56) 91.7 % (22 / 24)
hash_agg_check_limits GNC 259929 100.0 % (14 / 14) 87.5 % (7 / 8)
hash_agg_enter_spill_mode GNC 13224 100.0 % (15 / 15) 75.0 % (6 / 8)
hash_agg_entry_size CBC 21097 100.0 % (11 / 11) 100.0 % (2 / 2)
hash_create_memory GNC 3520 100.0 % (9 / 9)
hashagg_batch_new GNC 13467 100.0 % (8 / 8)
hashagg_finish_initial_spills CBC 8800 100.0 % (12 / 12) 100.0 % (4 / 4)
hashagg_recompile_expressions CBC 33020 100.0 % (22 / 22) 92.9 % (13 / 14)
initialize_hash_entry CBC 259929 100.0 % (10 / 10) 100.0 % (4 / 4)
initialize_phase CBC 46706 100.0 % (21 / 21) 87.5 % (14 / 16)
prepare_hash_slot CBC 4113993 100.0 % (9 / 9) 100.0 % (2 / 2)
prepare_projection_slot CBC 420828 100.0 % (13 / 13) 92.9 % (13 / 14)
project_aggregates CBC 420822 100.0 % (6 / 6) 75.0 % (3 / 4)
select_current_set CBC 3953518 100.0 % (6 / 6) 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta