LCOV - differential code coverage report
Current view: top level - src/backend/optimizer/plan - planner.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DCB
Current: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 96.8 % 2669 2583 1 85 12 2571 11
Current Date: 2026-11-28 16:48:44 +0900 Functions: 100.0 % 67 67 5 62
Baseline: lcov-20261128-baseline Branches: 83.7 % 2414 2021 1 392 1 2020
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 5 5 5
(7,30] days: 100.0 % 3 3 3
(30,360] days: 97.7 % 129 126 1 2 12 114
(360..) days: 96.7 % 2532 2449 83 2449
Function coverage date bins:
(30,360] days: 100.0 % 5 5 5
(360..) days: 100.0 % 62 62 5 57
Branch coverage date bins:
(1,7] days: 100.0 % 2 2 2
(7,30] days: 75.0 % 4 3 1 3
(30,360] days: 87.7 % 106 93 1 12 1 92
(360..) days: 83.5 % 2302 1923 379 1923

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
create_degenerate_grouping_paths CBC 45 100.0 % (16 / 16) 100.0 % (4 / 4)
common_prefix_cmp CBC 180 91.3 % (21 / 23) 85.3 % (29 / 34)
plan_cluster_use_sort CBC 189 97.8 % (45 / 46) 71.4 % (10 / 14)
expression_planner_with_deps CBC 306 100.0 % (14 / 14) 60.0 % (12 / 20)
group_var_eqop CBC 638 77.8 % (7 / 9) 50.0 % (7 / 14)
group_by_has_partkey CBC 680 96.4 % (27 / 28) 90.6 % (29 / 32)
create_partitionwise_grouping_paths CBC 725 97.6 % (40 / 41) 76.9 % (20 / 26)
extract_rollup_sets GNC 931 98.8 % (80 / 81) 89.7 % (52 / 58)
preprocess_grouping_sets GNC 940 100.0 % (55 / 55) 93.5 % (43 / 46)
having_var_grouping_eqop CBC 1037 100.0 % (5 / 5) 75.0 % (3 / 4)
reorder_grouping_sets CBC 1515 100.0 % (20 / 20) 91.7 % (11 / 12)
consider_groupingsets_paths GNC 1827 97.4 % (112 / 115) 82.2 % (74 / 90)
adjust_group_pathkeys_for_groupagg CBC 1834 100.0 % (71 / 71) 90.6 % (58 / 64)
preprocess_subquery_phvs CBC 1893 100.0 % (5 / 5)
create_distinct_paths CBC 2110 94.4 % (17 / 18) 70.0 % (7 / 10)
create_partial_distinct_paths CBC 2110 91.1 % (41 / 45) 71.1 % (27 / 38)
create_final_distinct_paths CBC 2191 100.0 % (40 / 40) 88.6 % (39 / 44)
has_volatile_pathkey CBC 2220 100.0 % (6 / 6) 100.0 % (8 / 8)
create_window_paths CBC 2403 87.0 % (20 / 23) 75.0 % (18 / 24)
make_window_input_target CBC 2403 100.0 % (29 / 29) 89.5 % (34 / 38)
name_active_windows CBC 2403 100.0 % (16 / 16) 90.0 % (18 / 20)
optimize_window_clauses CBC 2403 97.8 % (44 / 45) 81.5 % (44 / 54)
select_active_windows CBC 2403 100.0 % (20 / 20) 83.3 % (10 / 12)
gather_grouping_paths CBC 2435 86.4 % (19 / 22) 55.0 % (11 / 20)
create_one_window_path CBC 2552 100.0 % (39 / 39) 89.5 % (34 / 38)
make_partial_grouping_target CBC 3272 100.0 % (26 / 26) 87.5 % (21 / 24)
get_useful_pathkeys_for_distinct CBC 3676 95.7 % (22 / 23) 95.5 % (21 / 22)
preprocess_limit CBC 3922 77.1 % (37 / 48) 67.9 % (38 / 56)
create_partial_unique_paths CBC 4083 90.0 % (36 / 40) 59.4 % (19 / 32)
remap_to_groupclause_idx CBC 4227 100.0 % (13 / 13) 94.4 % (17 / 18)
find_having_conflicts CBC 4574 100.0 % (12 / 12) 90.0 % (9 / 10)
postprocess_setop_tlist CBC 5083 81.2 % (13 / 16) 55.0 % (11 / 20)
make_pathkeys_for_window CBC 5120 86.7 % (13 / 15) 56.2 % (9 / 16)
create_final_unique_paths CBC 6559 100.0 % (26 / 26) 85.7 % (24 / 28)
create_unique_paths CBC 7190 92.5 % (86 / 93) 65.7 % (46 / 70)
preprocess_groupclause CBC 7832 96.8 % (30 / 31) 85.0 % (34 / 40)
generate_setop_child_grouplist CBC 10737 95.0 % (19 / 20) 72.2 % (13 / 18)
adjust_paths_for_srfs CBC 10777 100.0 % (31 / 31) 81.0 % (47 / 58)
select_rowmark_type CBC 11661 90.0 % (18 / 20) 71.4 % (10 / 14)
mark_partial_aggref CBC 16044 100.0 % (9 / 9) 70.0 % (7 / 10)
plan_create_index_workers CBC 23637 100.0 % (44 / 44) 93.8 % (15 / 16)
preprocess_subquery_phvs_walker CBC 28556 100.0 % (22 / 22) 91.7 % (11 / 12)
create_partial_grouping_paths GNC 32878 98.3 % (116 / 118) 80.9 % (110 / 136)
can_partial_agg CBC 35148 88.9 % (8 / 9) 90.0 % (9 / 10)
create_grouping_paths CBC 35197 100.0 % (30 / 30) 86.1 % (31 / 36)
is_degenerate_grouping CBC 35197 100.0 % (4 / 4) 100.0 % (8 / 8)
make_group_input_target CBC 35197 100.0 % (28 / 28) 82.1 % (23 / 28)
add_paths_to_grouping_rel CBC 36290 98.6 % (70 / 71) 84.5 % (49 / 58)
create_ordinary_grouping_paths CBC 37063 97.1 % (34 / 35) 84.8 % (39 / 46)
make_grouping_rel CBC 37112 100.0 % (15 / 15) 91.7 % (11 / 12)
get_number_of_groups CBC 42156 97.1 % (34 / 35) 79.2 % (38 / 48)
make_ordered_path CBC 51022 100.0 % (10 / 10) 100.0 % (12 / 12)
make_sort_input_target GNC 57215 100.0 % (49 / 49) 88.9 % (48 / 54)
create_ordered_paths CBC 60402 96.0 % (48 / 50) 89.7 % (52 / 58)
choose_plan_name CBC 64978 100.0 % (23 / 23) 100.0 % (22 / 22)
expression_planner CBC 134965 100.0 % (4 / 4)
planner CBC 336894 100.0 % (6 / 6) 100.0 % (2 / 2)
standard_planner CBC 336894 91.5 % (162 / 177) 76.4 % (107 / 140)
get_cheapest_fractional_path CBC 364449 100.0 % (15 / 15) 94.4 % (17 / 18)
standard_qp_callback CBC 391946 96.7 % (59 / 61) 94.4 % (34 / 36)
grouping_planner CBC 397061 98.3 % (229 / 233) 88.3 % (166 / 188)
preprocess_rowmarks CBC 399845 100.0 % (44 / 44) 92.9 % (26 / 28)
subquery_planner CBC 400119 100.0 % (221 / 221) 94.9 % (148 / 156)
apply_scanjoin_target_to_paths CBC 411683 100.0 % (57 / 57) 90.0 % (63 / 70)
limit_needed CBC 850363 100.0 % (16 / 16) 85.7 % (12 / 14)
preprocess_qual_conditions CBC 1015755 86.7 % (13 / 15) 75.0 % (12 / 16)
preprocess_expression CBC 3357685 100.0 % (22 / 22) 93.3 % (28 / 30)

Generated by: LCOV version 2.0-1