LCOV - differential code coverage report
Current view: top level - src/backend/optimizer/plan - planner.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GIC GNC CBC ECB DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 96.7 % 2657 2570 9 12 66 5 266 2299 2 41
Current Date: 2026-05-05 10:23:31 +0900 Functions: 100.0 % 65 65 21 44 1
Baseline: lcov-20260505-025707-baseline Branches: 83.3 % 2430 2024 50 12 344 5 2 192 1825 1 3 21
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 96.3 % 54 52 2 52
(30,360] days: 97.0 % 299 290 9 266 24
(360..) days: 96.7 % 2304 2228 12 64 5 2223
Function coverage date bins:
(1,7] days: 100.0 % 2 2 2
(30,360] days: 100.0 % 5 5 5
(360..) days: 100.0 % 58 58 16 42
Branch coverage date bins:
(1,7] days: 71.4 % 70 50 20 50
(30,360] days: 80.5 % 262 211 50 1 192 19
(360..) days: 84.0 % 2099 1763 12 323 5 2 1756 1

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 GNC 335080 91.5 % (162 / 177) 76.4 % (107 / 140)
preprocess_limit CBC 3703 77.1 % (37 / 48) 67.9 % (38 / 56)
create_unique_paths GNC 6924 94.6 % (88 / 93) 65.7 % (46 / 70)
create_partial_distinct_paths GNC 1965 91.1 % (41 / 45) 71.1 % (27 / 38)
create_partial_unique_paths GNC 3989 90.0 % (36 / 40) 59.4 % (19 / 32)
grouping_planner GNC 396106 98.3 % (229 / 233) 88.3 % (166 / 188)
standard_qp_callback CBC 391118 93.4 % (57 / 61) 91.7 % (33 / 36)
common_prefix_cmp CBC 170 87.0 % (20 / 23) 82.4 % (28 / 34)
consider_groupingsets_paths CBC 1782 97.4 % (112 / 115) 82.2 % (74 / 90)
create_window_paths CBC 2217 87.0 % (20 / 23) 75.0 % (18 / 24)
gather_grouping_paths CBC 2593 86.4 % (19 / 22) 55.0 % (11 / 20)
postprocess_setop_tlist CBC 4969 81.2 % (13 / 16) 55.0 % (11 / 20)
create_distinct_paths CBC 1965 88.9 % (16 / 18) 50.0 % (5 / 10)
create_ordered_paths GNC 62150 96.0 % (48 / 50) 89.7 % (52 / 58)
having_collation_conflict_walker CBC 4166 94.3 % (33 / 35) 67.9 % (38 / 56)
make_pathkeys_for_window CBC 4756 86.7 % (13 / 15) 56.2 % (9 / 16)
preprocess_qual_conditions CBC 1007343 86.7 % (13 / 15) 75.0 % (12 / 16)
select_rowmark_type CBC 11496 90.0 % (18 / 20) 71.4 % (10 / 14)
add_paths_to_grouping_rel GNC 35216 98.6 % (70 / 71) 84.5 % (49 / 58)
can_partial_agg CBC 34134 88.9 % (8 / 9) 90.0 % (9 / 10)
create_ordinary_grouping_paths GNC 35929 97.1 % (34 / 35) 84.8 % (39 / 46)
create_partial_grouping_paths GNC 31752 99.1 % (115 / 116) 81.3 % (109 / 134)
create_partitionwise_grouping_paths GNC 685 97.6 % (40 / 41) 76.9 % (20 / 26)
extract_rollup_sets CBC 896 98.8 % (80 / 81) 89.7 % (52 / 58)
generate_setop_child_grouplist CBC 10470 95.0 % (19 / 20) 72.2 % (13 / 18)
get_number_of_groups CBC 41173 97.1 % (34 / 35) 79.2 % (38 / 48)
get_useful_pathkeys_for_distinct CBC 3531 95.7 % (22 / 23) 95.5 % (21 / 22)
group_by_has_partkey CBC 640 96.4 % (27 / 28) 87.5 % (28 / 32)
optimize_window_clauses GNC 2217 97.8 % (44 / 45) 81.5 % (44 / 54)
plan_cluster_use_sort CBC 140 97.6 % (41 / 42) 66.7 % (8 / 12)
preprocess_groupclause CBC 7484 96.8 % (30 / 31) 85.0 % (34 / 40)
adjust_group_pathkeys_for_groupagg CBC 1880 100.0 % (71 / 71) 90.6 % (58 / 64)
adjust_paths_for_srfs CBC 10871 100.0 % (31 / 31) 81.0 % (47 / 58)
apply_scanjoin_target_to_paths GNC 411166 100.0 % (57 / 57) 90.0 % (63 / 70)
choose_plan_name GNC 65629 100.0 % (23 / 23) 100.0 % (22 / 22)
create_degenerate_grouping_paths GNC 35 100.0 % (16 / 16) 100.0 % (4 / 4)
create_final_distinct_paths GNC 2055 100.0 % (40 / 40) 86.4 % (38 / 44)
create_final_unique_paths GNC 7121 100.0 % (26 / 26) 82.1 % (23 / 28)
create_grouping_paths CBC 34169 100.0 % (28 / 28) 87.5 % (28 / 32)
create_one_window_path CBC 2384 100.0 % (39 / 39) 89.5 % (34 / 38)
expression_planner CBC 137327 100.0 % (4 / 4)
expression_planner_with_deps CBC 257 100.0 % (14 / 14) 60.0 % (12 / 20)
find_having_collation_conflicts CBC 4271 100.0 % (13 / 13) 83.3 % (10 / 12)
get_cheapest_fractional_path CBC 363426 100.0 % (15 / 15) 94.4 % (17 / 18)
has_volatile_pathkey CBC 2216 100.0 % (6 / 6) 100.0 % (8 / 8)
is_degenerate_grouping CBC 34169 100.0 % (4 / 4) 100.0 % (8 / 8)
limit_needed CBC 849721 100.0 % (16 / 16) 85.7 % (12 / 14)
make_group_input_target CBC 34169 100.0 % (28 / 28) 85.7 % (24 / 28)
make_grouping_rel GNC 35964 100.0 % (15 / 15) 91.7 % (11 / 12)
make_ordered_path CBC 49727 100.0 % (10 / 10) 100.0 % (12 / 12)
make_partial_grouping_target CBC 3209 100.0 % (26 / 26) 87.5 % (21 / 24)
make_sort_input_target CBC 58881 100.0 % (49 / 49) 88.9 % (48 / 54)
make_window_input_target CBC 2217 100.0 % (29 / 29) 89.5 % (34 / 38)
mark_partial_aggref CBC 15329 100.0 % (9 / 9) 70.0 % (7 / 10)
name_active_windows CBC 2217 100.0 % (16 / 16) 90.0 % (18 / 20)
plan_create_index_workers CBC 22932 100.0 % (44 / 44) 93.8 % (15 / 16)
planner GNC 335080 100.0 % (6 / 6) 100.0 % (2 / 2)
preprocess_expression CBC 3340235 100.0 % (20 / 20) 96.2 % (25 / 26)
preprocess_grouping_sets GNC 905 100.0 % (55 / 55) 93.5 % (43 / 46)
preprocess_phv_expression CBC 75 100.0 % (2 / 2)
preprocess_rowmarks CBC 398736 100.0 % (44 / 44) 92.9 % (26 / 28)
remap_to_groupclause_idx CBC 4147 100.0 % (13 / 13) 94.4 % (17 / 18)
reorder_grouping_sets CBC 1475 100.0 % (20 / 20) 91.7 % (11 / 12)
select_active_windows GNC 2217 100.0 % (20 / 20) 83.3 % (10 / 12)

Generated by: LCOV version 2.5.0-beta