LCOV - differential code coverage report
Current view: top level - src/backend/executor - nodeAgg.c (source / functions) Coverage Total Hit UBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 94.7 % 1533 1452 81 32 1420 40
Current Date: 2026-03-14 14:10:32 -0400 Functions: 98.3 % 58 57 1 15 42 2
Baseline: lcov-20260315-024220-baseline Branches: 81.0 % 936 758 178 2 756 1 3
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 100.0 % 1 1 1
(30,360] days: 97.0 % 67 65 2 32 33
(360..) days: 94.6 % 1465 1386 79 1386
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:
[..1] days: 50.0 % 2 1 1 1
(30,360] days: 100.0 % 4 4 2 2
(360..) days: 81.0 % 930 753 177 753

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)
find_cols CBC 3587 100.0 % (13 / 13) 100.0 % (2 / 2)
find_hash_columns CBC 3587 100.0 % (56 / 56) 91.7 % (22 / 24)
hash_create_memory GNC 3587 100.0 % (9 / 9)
hashagg_spill_finish CBC 6311 94.4 % (17 / 18) 83.3 % (5 / 6)
hashagg_spill_init GNC 6311 100.0 % (19 / 19) 100.0 % (8 / 8)
hash_choose_num_partitions GNC 7526 90.0 % (18 / 20) 70.0 % (7 / 10)
agg_fill_hash_table CBC 8853 100.0 % (13 / 13) 100.0 % (4 / 4)
hashagg_finish_initial_spills CBC 8933 100.0 % (12 / 12) 100.0 % (4 / 4)
build_hash_tables GNC 9055 86.7 % (13 / 15) 83.3 % (5 / 6)
finalize_partialaggregate CBC 9337 100.0 % (20 / 20) 72.2 % (13 / 18)
hash_agg_enter_spill_mode GNC 13229 100.0 % (16 / 16) 75.0 % (6 / 8)
hashagg_batch_new GNC 13472 100.0 % (8 / 8)
GetAggInitVal CBC 13752 100.0 % (6 / 6)
hash_agg_entry_size CBC 21592 100.0 % (11 / 11) 100.0 % (2 / 2)
hash_agg_update_metrics GNC 22405 95.2 % (20 / 21) 92.9 % (13 / 14)
agg_refill_hash_table GNC 22806 100.0 % (59 / 59) 81.2 % (26 / 32)
process_ordered_aggregate_single CBC 26879 97.6 % (40 / 41) 80.0 % (24 / 30)
ExecReScanAgg GNC 27710 91.1 % (41 / 45) 75.0 % (45 / 60)
ExecEndAgg GNC 27721 96.8 % (30 / 31) 91.7 % (22 / 24)
ExecInitAgg GNC 27836 94.7 % (301 / 318) 78.9 % (172 / 218)
build_pertrans_for_aggref GNC 30728 100.0 % (104 / 104) 81.5 % (44 / 54)
hashagg_recompile_expressions CBC 33128 100.0 % (22 / 22) 92.9 % (13 / 14)
hash_agg_set_limits CBC 33732 89.5 % (17 / 19) 80.0 % (8 / 10)
hashagg_reset_spill_state CBC 34148 57.1 % (8 / 14) 50.0 % (3 / 6)
find_cols_walker CBC 42445 100.0 % (20 / 20) 78.6 % (11 / 14)
initialize_phase CBC 48818 100.0 % (21 / 21) 87.5 % (14 / 16)
agg_retrieve_direct CBC 126605 100.0 % (101 / 101) 93.8 % (75 / 80)
initialize_aggregates CBC 154430 93.3 % (14 / 15) 83.3 % (5 / 6)
agg_retrieve_hash_table CBC 258002 100.0 % (9 / 9) 100.0 % (6 / 6)
hash_agg_check_limits GNC 265572 100.0 % (18 / 18) 91.7 % (11 / 12)
initialize_hash_entry CBC 265572 100.0 % (10 / 10) 100.0 % (4 / 4)
agg_retrieve_hash_table_in_memory CBC 271474 100.0 % (36 / 36) 90.0 % (9 / 10)
advance_transition_function CBC 362165 57.6 % (19 / 33) 57.1 % (8 / 14)
ExecAgg CBC 419547 100.0 % (17 / 17) 85.7 % (12 / 14)
project_aggregates CBC 427948 100.0 % (6 / 6) 75.0 % (3 / 4)
finalize_aggregates CBC 427954 100.0 % (30 / 30) 91.7 % (22 / 24)
prepare_projection_slot CBC 427954 100.0 % (13 / 13) 92.9 % (13 / 14)
finalize_aggregate CBC 563026 94.3 % (33 / 35) 96.2 % (25 / 26)
initialize_aggregate CBC 570593 95.7 % (22 / 23) 87.5 % (7 / 8)
hashagg_spill_tuple CBC 603312 100.0 % (28 / 28) 91.7 % (11 / 12)
hashagg_batch_read CBC 616784 83.3 % (15 / 18) 37.5 % (6 / 16)
AggCheckCallContext CBC 2809728 100.0 % (14 / 14) 92.9 % (13 / 14)
lookup_hash_entries CBC 3626411 91.7 % (22 / 24) 90.0 % (9 / 10)
select_current_set CBC 4130929 100.0 % (6 / 6) 100.0 % (2 / 2)
prepare_hash_slot CBC 4296961 100.0 % (9 / 9) 100.0 % (2 / 2)
fetch_input_tuple CBC 15022796 100.0 % (10 / 10) 91.7 % (11 / 12)
advance_aggregates CBC 15360402 100.0 % (3 / 3)

Generated by: LCOV version 2.4-beta