LCOV - differential code coverage report
Current view: top level - src/backend/executor - nodeAgg.c (source / functions) Coverage Total Hit UBC CBC
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 94.7 % 1528 1447 81 1447
Current Date: 2025-09-06 07:49:51 +0900 Functions: 98.3 % 58 57 1 57
Baseline: lcov-20250906-005545-baseline Branches: 80.6 % 930 750 180 750
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 96.6 % 59 57 2 57
(360..) days: 94.6 % 1469 1390 79 1390
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 98.2 % 57 56 1 56
Branch coverage date bins:
(30,360] days: 80.0 % 10 8 2 8
(360..) days: 80.7 % 920 742 178 742

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
AggGetTempMemoryContext UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
process_ordered_aggregate_multi CBC 42 76.2 % (32 / 42) 45.0 % (9 / 20)
ExecAggRetrieveInstrumentation CBC 51 87.5 % (7 / 8) 50.0 % (1 / 2)
AggGetAggref CBC 123 80.0 % (8 / 10) 50.0 % (4 / 8)
AggStateIsShared CBC 123 80.0 % (8 / 10) 50.0 % (4 / 8)
ExecAggEstimate CBC 278 100.0 % (7 / 7) 75.0 % (3 / 4)
ExecAggInitializeDSM CBC 278 100.0 % (10 / 10) 75.0 % (3 / 4)
AggRegisterCallback CBC 330 85.7 % (6 / 7) 33.3 % (2 / 6)
ExecAggInitializeWorker CBC 776 100.0 % (4 / 4)
build_hash_table CBC 2312 100.0 % (14 / 14) 75.0 % (3 / 4)
hash_choose_num_buckets CBC 2312 100.0 % (7 / 7) 100.0 % (2 / 2)
find_cols CBC 2832 100.0 % (13 / 13) 100.0 % (2 / 2)
find_hash_columns CBC 2832 100.0 % (56 / 56) 91.7 % (22 / 24)
hash_create_memory CBC 2832 100.0 % (9 / 9)
hashagg_spill_finish CBC 6306 94.4 % (17 / 18) 83.3 % (5 / 6)
hashagg_spill_init CBC 6306 93.3 % (14 / 15) 83.3 % (5 / 6)
hash_choose_num_partitions CBC 7521 90.0 % (18 / 20) 70.0 % (7 / 10)
finalize_partialaggregate CBC 7818 100.0 % (20 / 20) 72.2 % (13 / 18)
agg_fill_hash_table CBC 8139 100.0 % (13 / 13) 100.0 % (4 / 4)
hashagg_finish_initial_spills CBC 8211 100.0 % (12 / 12) 100.0 % (4 / 4)
build_hash_tables CBC 8323 100.0 % (13 / 13) 83.3 % (5 / 6)
GetAggInitVal CBC 10004 100.0 % (6 / 6)
hash_agg_enter_spill_mode CBC 13224 100.0 % (15 / 15) 75.0 % (6 / 8)
hashagg_batch_new CBC 13467 100.0 % (8 / 8)
hash_agg_entry_size CBC 17835 100.0 % (11 / 11) 100.0 % (2 / 2)
hash_agg_update_metrics CBC 21678 95.2 % (20 / 21) 92.9 % (13 / 14)
ExecEndAgg CBC 21953 96.8 % (30 / 31) 91.7 % (22 / 24)
ExecInitAgg CBC 22046 94.7 % (305 / 322) 78.9 % (172 / 218)
agg_refill_hash_table CBC 22076 100.0 % (59 / 59) 81.2 % (26 / 32)
build_pertrans_for_aggref CBC 24490 100.0 % (105 / 105) 81.5 % (44 / 54)
process_ordered_aggregate_single CBC 26879 97.6 % (40 / 41) 80.0 % (24 / 30)
ExecReScanAgg CBC 27209 91.3 % (42 / 46) 75.0 % (45 / 60)
hashagg_reset_spill_state CBC 28106 57.1 % (8 / 14) 50.0 % (3 / 6)
hash_agg_set_limits CBC 30127 89.5 % (17 / 19) 80.0 % (8 / 10)
hashagg_recompile_expressions CBC 32844 100.0 % (22 / 22) 92.9 % (13 / 14)
find_cols_walker CBC 33465 100.0 % (20 / 20) 78.6 % (11 / 14)
initialize_phase CBC 42785 100.0 % (21 / 21) 87.5 % (14 / 16)
agg_retrieve_direct CBC 121821 100.0 % (101 / 101) 93.8 % (75 / 80)
initialize_aggregates CBC 149703 93.3 % (14 / 15) 83.3 % (5 / 6)
agg_retrieve_hash_table CBC 248517 100.0 % (9 / 9) 100.0 % (6 / 6)
hash_agg_check_limits CBC 256810 100.0 % (14 / 14) 87.5 % (7 / 8)
initialize_hash_entry CBC 256810 100.0 % (10 / 10) 100.0 % (4 / 4)
agg_retrieve_hash_table_in_memory CBC 261984 100.0 % (36 / 36) 90.0 % (9 / 10)
advance_transition_function CBC 362149 57.6 % (19 / 33) 57.1 % (8 / 14)
ExecAgg CBC 401909 100.0 % (17 / 17) 85.7 % (12 / 14)
project_aggregates CBC 414459 100.0 % (6 / 6) 75.0 % (3 / 4)
finalize_aggregates CBC 414465 100.0 % (30 / 30) 91.7 % (22 / 24)
prepare_projection_slot CBC 414465 100.0 % (13 / 13) 92.9 % (13 / 14)
finalize_aggregate CBC 556900 94.3 % (33 / 35) 96.2 % (25 / 26)
initialize_aggregate CBC 562948 95.7 % (22 / 23) 87.5 % (7 / 8)
hashagg_spill_tuple CBC 592812 96.4 % (27 / 28) 83.3 % (10 / 12)
hashagg_batch_read CBC 606279 83.3 % (15 / 18) 37.5 % (6 / 16)
AggCheckCallContext CBC 2676201 100.0 % (14 / 14) 92.9 % (13 / 14)
lookup_hash_entries CBC 2951796 91.7 % (22 / 24) 90.0 % (9 / 10)
select_current_set CBC 3440309 100.0 % (6 / 6) 100.0 % (2 / 2)
prepare_hash_slot CBC 3611834 100.0 % (9 / 9) 100.0 % (2 / 2)
fetch_input_tuple CBC 13657713 100.0 % (10 / 10) 91.7 % (11 / 12)
advance_aggregates CBC 13996417 100.0 % (3 / 3)

Generated by: LCOV version 2.4-beta