LCOV - differential code coverage report
Current view: top level - src/backend/executor - nodeAgg.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: 806555e3000d0b0e0c536c1dc65548128d457d86 vs 1d325ad99cb2dec0e8b45ba36909ee0a497d2a57 Lines: 94.7 % 1520 1439 81 32 1407 40
Current Date: 2025-12-17 08:58:58 +0900 Functions: 98.3 % 58 57 1 15 42 2
Baseline: lcov-20251217-005640-baseline Branches: 80.6 % 928 748 180 2 746
Baseline Date: 2025-12-16 12:57:12 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] 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 178 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
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 293 100.0 % (7 / 7) 75.0 % (3 / 4)
ExecAggInitializeDSM CBC 293 100.0 % (10 / 10) 75.0 % (3 / 4)
AggRegisterCallback CBC 330 85.7 % (6 / 7) 33.3 % (2 / 6)
ExecAggInitializeWorker CBC 830 100.0 % (4 / 4)
build_hash_table GNC 2733 100.0 % (14 / 14) 75.0 % (3 / 4)
find_cols CBC 3520 100.0 % (13 / 13) 100.0 % (2 / 2)
find_hash_columns CBC 3520 100.0 % (56 / 56) 91.7 % (22 / 24)
hash_create_memory GNC 3520 100.0 % (9 / 9)
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)
hash_choose_num_partitions GNC 7521 90.0 % (18 / 20) 70.0 % (7 / 10)
agg_fill_hash_table CBC 8722 100.0 % (13 / 13) 100.0 % (4 / 4)
hashagg_finish_initial_spills CBC 8794 100.0 % (12 / 12) 100.0 % (4 / 4)
build_hash_tables GNC 8920 100.0 % (12 / 12) 100.0 % (4 / 4)
finalize_partialaggregate CBC 9349 100.0 % (20 / 20) 72.2 % (13 / 18)
hash_agg_enter_spill_mode GNC 13224 100.0 % (15 / 15) 75.0 % (6 / 8)
hashagg_batch_new GNC 13467 100.0 % (8 / 8)
GetAggInitVal CBC 13526 100.0 % (6 / 6)
hash_agg_entry_size CBC 21091 100.0 % (11 / 11) 100.0 % (2 / 2)
hash_agg_update_metrics GNC 22261 95.2 % (20 / 21) 92.9 % (13 / 14)
agg_refill_hash_table GNC 22662 100.0 % (58 / 58) 81.2 % (26 / 32)
ExecEndAgg GNC 25893 96.8 % (30 / 31) 91.7 % (22 / 24)
ExecInitAgg GNC 25992 94.7 % (301 / 318) 78.9 % (172 / 218)
process_ordered_aggregate_single CBC 26879 97.6 % (40 / 41) 80.0 % (24 / 30)
ExecReScanAgg GNC 27366 91.1 % (41 / 45) 75.0 % (45 / 60)
build_pertrans_for_aggref GNC 28625 100.0 % (104 / 104) 81.5 % (44 / 54)
hashagg_reset_spill_state CBC 32222 57.1 % (8 / 14) 50.0 % (3 / 6)
hashagg_recompile_expressions CBC 33020 100.0 % (22 / 22) 92.9 % (13 / 14)
hash_agg_set_limits CBC 33335 89.5 % (17 / 19) 80.0 % (8 / 10)
find_cols_walker CBC 42015 100.0 % (20 / 20) 78.6 % (11 / 14)
initialize_phase CBC 46711 100.0 % (21 / 21) 87.5 % (14 / 16)
agg_retrieve_direct CBC 125138 100.0 % (101 / 101) 93.8 % (75 / 80)
initialize_aggregates CBC 153006 93.3 % (14 / 15) 83.3 % (5 / 6)
agg_retrieve_hash_table CBC 252067 100.0 % (9 / 9) 100.0 % (6 / 6)
hash_agg_check_limits GNC 259762 100.0 % (14 / 14) 87.5 % (7 / 8)
initialize_hash_entry CBC 259762 100.0 % (10 / 10) 100.0 % (4 / 4)
agg_retrieve_hash_table_in_memory CBC 265534 100.0 % (36 / 36) 90.0 % (9 / 10)
advance_transition_function CBC 362213 57.6 % (19 / 33) 57.1 % (8 / 14)
ExecAgg CBC 411780 100.0 % (17 / 17) 78.6 % (11 / 14)
project_aggregates CBC 420729 100.0 % (6 / 6) 75.0 % (3 / 4)
finalize_aggregates CBC 420735 100.0 % (30 / 30) 91.7 % (22 / 24)
prepare_projection_slot CBC 420735 100.0 % (13 / 13) 92.9 % (13 / 14)
finalize_aggregate CBC 561382 94.3 % (33 / 35) 96.2 % (25 / 26)
initialize_aggregate CBC 568940 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 2706490 100.0 % (14 / 14) 92.9 % (13 / 14)
lookup_hash_entries CBC 3453868 91.7 % (22 / 24) 90.0 % (9 / 10)
select_current_set CBC 3953528 100.0 % (6 / 6) 100.0 % (2 / 2)
prepare_hash_slot CBC 4113906 100.0 % (9 / 9) 100.0 % (2 / 2)
fetch_input_tuple CBC 14587503 100.0 % (10 / 10) 91.7 % (11 / 12)
advance_aggregates CBC 14922568 100.0 % (3 / 3)

Generated by: LCOV version 2.4-beta