LCOV - differential code coverage report
Current view: top level - src/backend/executor - nodeAgg.c (source / functions) Coverage Total Hit UBC GBC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 94.7 % 1533 1452 81 32 1420 40
Current Date: 2026-05-29 21:51:00 -0400 Functions: 98.3 % 58 57 1 15 42 2
Baseline: lcov-20260530-034037-baseline Branches: 81.1 % 936 759 177 2 2 755 1 3
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 34 34 32 2
(360..) days: 94.6 % 1499 1418 81 1418
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 98.2 % 56 55 1 13 42
Branch coverage date bins:
(30,360] days: 75.0 % 4 3 1 2 1
(360..) days: 81.1 % 932 756 176 2 754

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 56 76.2 % (32 / 42) 45.0 % (9 / 20)
ExecAggRetrieveInstrumentation CBC 68 87.5 % (7 / 8) 50.0 % (1 / 2)
AggGetAggref CBC 163 80.0 % (8 / 10) 50.0 % (4 / 8)
AggStateIsShared CBC 163 80.0 % (8 / 10) 50.0 % (4 / 8)
ExecAggEstimate CBC 393 100.0 % (7 / 7) 75.0 % (3 / 4)
ExecAggInitializeDSM CBC 393 100.0 % (10 / 10) 75.0 % (3 / 4)
AggRegisterCallback CBC 433 85.7 % (6 / 7) 33.3 % (2 / 6)
ExecAggInitializeWorker CBC 1107 100.0 % (4 / 4)
build_hash_table GNC 3774 100.0 % (14 / 14) 75.0 % (3 / 4)
find_cols CBC 4893 100.0 % (13 / 13) 100.0 % (2 / 2)
find_hash_columns CBC 4893 100.0 % (56 / 56) 91.7 % (22 / 24)
hash_create_memory GNC 4893 100.0 % (9 / 9)
hashagg_spill_finish CBC 8412 94.4 % (17 / 18) 83.3 % (5 / 6)
hashagg_spill_init GNC 8412 100.0 % (19 / 19) 100.0 % (8 / 8)
hash_choose_num_partitions GNC 10043 90.0 % (18 / 20) 70.0 % (7 / 10)
agg_fill_hash_table CBC 10959 100.0 % (13 / 13) 100.0 % (4 / 4)
hashagg_finish_initial_spills CBC 11067 100.0 % (12 / 12) 100.0 % (4 / 4)
build_hash_tables GNC 11226 86.7 % (13 / 15) 83.3 % (5 / 6)
finalize_partialaggregate CBC 12304 100.0 % (20 / 20) 72.2 % (13 / 18)
GetAggInitVal CBC 16809 100.0 % (6 / 6)
hash_agg_enter_spill_mode GNC 17636 100.0 % (16 / 16) 75.0 % (6 / 8)
hashagg_batch_new GNC 17957 100.0 % (8 / 8)
hash_agg_update_metrics GNC 29024 95.2 % (20 / 21) 92.9 % (13 / 14)
agg_refill_hash_table GNC 29567 100.0 % (59 / 59) 81.2 % (26 / 32)
ExecReScanAgg GNC 31511 91.1 % (41 / 45) 75.0 % (45 / 60)
hash_agg_entry_size CBC 34212 100.0 % (11 / 11) 100.0 % (2 / 2)
ExecEndAgg GNC 34526 96.8 % (30 / 31) 91.7 % (22 / 24)
ExecInitAgg GNC 34659 94.7 % (301 / 318) 78.9 % (172 / 218)
process_ordered_aggregate_single CBC 35804 97.6 % (40 / 41) 80.0 % (24 / 30)
build_pertrans_for_aggref GNC 38240 100.0 % (104 / 104) 81.5 % (44 / 54)
hashagg_reset_spill_state CBC 42189 57.1 % (8 / 14) 50.0 % (3 / 6)
hashagg_recompile_expressions CBC 43256 100.0 % (22 / 22) 92.9 % (13 / 14)
hash_agg_set_limits CBC 49745 89.5 % (17 / 19) 80.0 % (8 / 10)
find_cols_walker CBC 56679 100.0 % (20 / 20) 78.6 % (11 / 14)
initialize_phase CBC 58112 100.0 % (21 / 21) 87.5 % (14 / 16)
agg_retrieve_direct CBC 151944 100.0 % (101 / 101) 93.8 % (75 / 80)
initialize_aggregates CBC 189022 93.3 % (14 / 15) 83.3 % (5 / 6)
agg_retrieve_hash_table CBC 322990 100.0 % (9 / 9) 100.0 % (6 / 6)
hash_agg_check_limits GNC 333869 100.0 % (18 / 18) 91.7 % (11 / 12)
initialize_hash_entry CBC 333869 100.0 % (10 / 10) 100.0 % (4 / 4)
agg_retrieve_hash_table_in_memory CBC 340947 100.0 % (36 / 36) 100.0 % (10 / 10)
advance_transition_function CBC 479830 57.6 % (19 / 33) 57.1 % (8 / 14)
ExecAgg CBC 515381 100.0 % (17 / 17) 85.7 % (12 / 14)
project_aggregates CBC 533549 100.0 % (6 / 6) 75.0 % (3 / 4)
finalize_aggregates CBC 533557 100.0 % (30 / 30) 91.7 % (22 / 24)
prepare_projection_slot CBC 533557 100.0 % (13 / 13) 92.9 % (13 / 14)
hashagg_spill_tuple CBC 711076 100.0 % (28 / 28) 91.7 % (11 / 12)
finalize_aggregate CBC 718841 94.3 % (33 / 35) 96.2 % (25 / 26)
initialize_aggregate CBC 728744 95.7 % (22 / 23) 87.5 % (7 / 8)
hashagg_batch_read CBC 729033 83.3 % (15 / 18) 37.5 % (6 / 16)
AggCheckCallContext CBC 3517084 100.0 % (14 / 14) 92.9 % (13 / 14)
lookup_hash_entries CBC 4686323 91.7 % (22 / 24) 90.0 % (9 / 10)
select_current_set CBC 5321863 100.0 % (6 / 6) 100.0 % (2 / 2)
prepare_hash_slot CBC 5486961 100.0 % (9 / 9) 100.0 % (2 / 2)
fetch_input_tuple CBC 20409540 100.0 % (10 / 10) 91.7 % (11 / 12)
advance_aggregates CBC 20775985 100.0 % (3 / 3)

Generated by: LCOV version 2.5.0-beta