LCOV - differential code coverage report
Current view: top level - src/backend/optimizer/plan - planner.c (source / functions) Coverage Total Hit UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 96.8 % 2647 2561 86 2561
Current Date: 2026-07-25 17:13:00 -0400 Functions: 100.0 % 66 66 66
Baseline: lcov-20260726-baseline Branches: 83.5 % 2402 2005 397 2005
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 93.8 % 32 30 2 30
(30,360] days: 97.0 % 305 296 9 296
(360..) days: 96.8 % 2310 2235 75 2235
Function coverage date bins:
(7,30] days: 100.0 % 3 3 3
(30,360] days: 100.0 % 5 5 5
(360..) days: 100.0 % 58 58 58
Branch coverage date bins:
(7,30] days: 68.8 % 32 22 10 22
(30,360] days: 80.9 % 272 220 52 220
(360..) days: 84.0 % 2098 1763 335 1763

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
standard_planner CBC 331475 91.5 % (162 / 177) 76.4 % (107 / 140)
create_partial_grouping_paths CBC 31872 99.1 % (115 / 116) 81.3 % (109 / 134)
create_unique_paths CBC 6954 94.6 % (88 / 93) 65.7 % (46 / 70)
grouping_planner CBC 389750 98.3 % (229 / 233) 88.3 % (166 / 188)
preprocess_limit CBC 3725 77.1 % (37 / 48) 67.9 % (38 / 56)
consider_groupingsets_paths CBC 1777 97.4 % (112 / 115) 82.2 % (74 / 90)
create_partial_unique_paths CBC 4009 90.0 % (36 / 40) 59.4 % (19 / 32)
adjust_paths_for_srfs CBC 10688 100.0 % (31 / 31) 81.0 % (47 / 58)
create_partial_distinct_paths CBC 2004 91.1 % (41 / 45) 71.1 % (27 / 38)
get_number_of_groups CBC 41116 97.1 % (34 / 35) 79.2 % (38 / 48)
optimize_window_clauses CBC 2326 97.8 % (44 / 45) 81.5 % (44 / 54)
subquery_planner CBC 392733 100.0 % (234 / 234) 94.0 % (158 / 168)
add_paths_to_grouping_rel CBC 35155 98.6 % (70 / 71) 84.5 % (49 / 58)
gather_grouping_paths CBC 2590 86.4 % (19 / 22) 55.0 % (11 / 20)
postprocess_setop_tlist CBC 4933 81.2 % (13 / 16) 55.0 % (11 / 20)
expression_planner_with_deps CBC 267 100.0 % (14 / 14) 60.0 % (12 / 20)
apply_scanjoin_target_to_paths CBC 404868 100.0 % (57 / 57) 90.0 % (63 / 70)
create_ordinary_grouping_paths CBC 35868 97.1 % (34 / 35) 84.8 % (39 / 46)
group_var_eqop CBC 584 77.8 % (7 / 9) 50.0 % (7 / 14)
make_pathkeys_for_window CBC 4973 86.7 % (13 / 15) 56.2 % (9 / 16)
adjust_group_pathkeys_for_groupagg CBC 1678 100.0 % (71 / 71) 90.6 % (58 / 64)
create_final_distinct_paths CBC 2094 100.0 % (40 / 40) 86.4 % (38 / 44)
create_ordered_paths CBC 61078 96.0 % (48 / 50) 89.7 % (52 / 58)
create_partitionwise_grouping_paths CBC 685 97.6 % (40 / 41) 76.9 % (20 / 26)
create_window_paths CBC 2326 87.0 % (20 / 23) 75.0 % (18 / 24)
extract_rollup_sets CBC 901 98.8 % (80 / 81) 89.7 % (52 / 58)
make_sort_input_target CBC 57870 100.0 % (49 / 49) 88.9 % (48 / 54)
preprocess_groupclause CBC 7585 96.8 % (30 / 31) 85.0 % (34 / 40)
common_prefix_cmp CBC 180 91.3 % (21 / 23) 85.3 % (29 / 34)
create_distinct_paths CBC 2004 88.9 % (16 / 18) 50.0 % (5 / 10)
create_final_unique_paths CBC 7151 100.0 % (26 / 26) 82.1 % (23 / 28)
generate_setop_child_grouplist CBC 10697 95.0 % (19 / 20) 72.2 % (13 / 18)
make_group_input_target CBC 34118 100.0 % (28 / 28) 82.1 % (23 / 28)
create_grouping_paths CBC 34118 100.0 % (28 / 28) 87.5 % (28 / 32)
create_one_window_path CBC 2482 100.0 % (39 / 39) 89.5 % (34 / 38)
group_by_has_partkey CBC 640 96.4 % (27 / 28) 87.5 % (28 / 32)
make_window_input_target CBC 2326 100.0 % (29 / 29) 89.5 % (34 / 38)
plan_cluster_use_sort CBC 145 97.6 % (41 / 42) 66.7 % (8 / 12)
preprocess_qual_conditions CBC 996478 86.7 % (13 / 15) 75.0 % (12 / 16)
select_rowmark_type CBC 11510 90.0 % (18 / 20) 71.4 % (10 / 14)
make_partial_grouping_target CBC 3216 100.0 % (26 / 26) 87.5 % (21 / 24)
mark_partial_aggref CBC 15396 100.0 % (9 / 9) 70.0 % (7 / 10)
preprocess_grouping_sets CBC 910 100.0 % (55 / 55) 93.5 % (43 / 46)
standard_qp_callback CBC 384797 93.4 % (57 / 61) 91.7 % (33 / 36)
limit_needed CBC 834903 100.0 % (16 / 16) 85.7 % (12 / 14)
name_active_windows CBC 2326 100.0 % (16 / 16) 90.0 % (18 / 20)
preprocess_rowmarks CBC 392443 100.0 % (44 / 44) 92.9 % (26 / 28)
select_active_windows CBC 2326 100.0 % (20 / 20) 83.3 % (10 / 12)
can_partial_agg CBC 34073 88.9 % (8 / 9) 90.0 % (9 / 10)
find_having_conflicts CBC 4372 100.0 % (12 / 12) 90.0 % (9 / 10)
get_cheapest_fractional_path CBC 357919 100.0 % (15 / 15) 94.4 % (17 / 18)
get_useful_pathkeys_for_distinct CBC 3515 95.7 % (22 / 23) 95.5 % (21 / 22)
having_var_grouping_eqop CBC 968 100.0 % (5 / 5) 75.0 % (3 / 4)
make_grouping_rel CBC 35913 100.0 % (15 / 15) 91.7 % (11 / 12)
plan_create_index_workers CBC 23361 100.0 % (44 / 44) 93.8 % (15 / 16)
preprocess_expression CBC 3292909 100.0 % (20 / 20) 96.2 % (25 / 26)
remap_to_groupclause_idx CBC 4152 100.0 % (13 / 13) 94.4 % (17 / 18)
reorder_grouping_sets CBC 1480 100.0 % (20 / 20) 91.7 % (11 / 12)
choose_plan_name CBC 62984 100.0 % (23 / 23) 100.0 % (22 / 22)
create_degenerate_grouping_paths CBC 45 100.0 % (16 / 16) 100.0 % (4 / 4)
has_volatile_pathkey CBC 2034 100.0 % (6 / 6) 100.0 % (8 / 8)
is_degenerate_grouping CBC 34118 100.0 % (4 / 4) 100.0 % (8 / 8)
make_ordered_path CBC 49713 100.0 % (10 / 10) 100.0 % (12 / 12)
planner CBC 331475 100.0 % (6 / 6) 100.0 % (2 / 2)
expression_planner CBC 137211 100.0 % (4 / 4)
preprocess_phv_expression CBC 75 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1