LCOV - differential code coverage report
Current view: top level - src/backend/optimizer/plan - planner.c (source / functions) Coverage Total Hit UNC UBC GBC GIC GNC CBC ECB DCB
Current: b45a8d7d8b306b43f31a002f1b3f1dddc8defeaf vs 8767b449a3a1e75626dfb08f24da54933171d4c5 Lines: 96.7 % 2565 2481 11 73 217 2264 22
Current Date: 2025-10-28 08:26:42 +0900 Functions: 100.0 % 63 63 14 49 1
Baseline: lcov-20251028-005825-baseline Branches: 83.5 % 2310 1928 50 332 1 2 140 1785 1
Baseline Date: 2025-10-27 06:37:35 +0000 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 10 10 10
(7,30] days: 96.7 % 61 59 2 59
(30,360] days: 96.6 % 296 286 9 1 158 128
(360..) days: 96.7 % 2198 2126 72 2126
Function coverage date bins:
(7,30] days: 100.0 % 2 2 2
(30,360] days: 100.0 % 6 6 3 3
(360..) days: 100.0 % 55 55 9 46
Branch coverage date bins:
(1,7] days: 100.0 % 8 8 8
(7,30] days: 86.7 % 60 52 8 52
(30,360] days: 79.6 % 270 215 42 13 88 127
(360..) days: 83.8 % 1973 1653 319 1 2 1650 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
create_degenerate_grouping_paths CBC 15 56.2 % (9 / 16) 25.0 % (1 / 4)
preprocess_phv_expression CBC 45 100.0 % (2 / 2)
plan_cluster_use_sort CBC 96 97.6 % (41 / 42) 66.7 % (8 / 12)
common_prefix_cmp CBC 102 87.0 % (20 / 23) 82.4 % (28 / 34)
expression_planner_with_deps CBC 184 100.0 % (14 / 14) 60.0 % (12 / 20)
group_by_has_partkey CBC 380 96.4 % (27 / 28) 87.5 % (28 / 32)
create_partitionwise_grouping_paths GNC 407 97.6 % (40 / 41) 76.9 % (20 / 26)
extract_rollup_sets CBC 463 98.8 % (80 / 81) 89.7 % (52 / 58)
preprocess_grouping_sets CBC 469 100.0 % (55 / 55) 93.5 % (43 / 46)
reorder_grouping_sets CBC 755 100.0 % (20 / 20) 91.7 % (11 / 12)
consider_groupingsets_paths CBC 911 97.4 % (112 / 115) 82.2 % (74 / 90)
gather_grouping_paths CBC 1165 86.4 % (19 / 22) 55.0 % (11 / 20)
adjust_group_pathkeys_for_groupagg CBC 1221 100.0 % (71 / 71) 90.6 % (58 / 64)
create_window_paths CBC 1282 87.0 % (20 / 23) 75.0 % (18 / 24)
make_window_input_target CBC 1282 100.0 % (29 / 29) 89.5 % (34 / 38)
name_active_windows CBC 1282 100.0 % (16 / 16) 90.0 % (18 / 20)
optimize_window_clauses CBC 1282 97.8 % (44 / 45) 81.5 % (44 / 54)
select_active_windows CBC 1282 100.0 % (21 / 21) 83.3 % (10 / 12)
create_one_window_path CBC 1389 100.0 % (39 / 39) 89.5 % (34 / 38)
has_volatile_pathkey CBC 1419 100.0 % (6 / 6) 100.0 % (8 / 8)
create_distinct_paths CBC 1479 88.9 % (16 / 18) 50.0 % (5 / 10)
create_partial_distinct_paths GNC 1479 91.1 % (41 / 45) 71.1 % (27 / 38)
create_final_distinct_paths GNC 1533 100.0 % (40 / 40) 86.4 % (38 / 44)
make_partial_grouping_target CBC 1549 100.0 % (26 / 26) 87.5 % (21 / 24)
remap_to_groupclause_idx CBC 2172 100.0 % (13 / 13) 94.4 % (17 / 18)
create_partial_unique_paths GNC 2431 90.0 % (36 / 40) 59.4 % (19 / 32)
preprocess_limit CBC 2499 77.1 % (37 / 48) 67.9 % (38 / 56)
get_useful_pathkeys_for_distinct CBC 2659 95.7 % (22 / 23) 95.5 % (21 / 22)
make_pathkeys_for_window CBC 2764 86.7 % (13 / 15) 56.2 % (9 / 16)
postprocess_setop_tlist CBC 3073 81.2 % (13 / 16) 55.0 % (11 / 20)
preprocess_groupclause CBC 4077 96.8 % (30 / 31) 85.0 % (34 / 40)
create_final_unique_paths GNC 4248 100.0 % (26 / 26) 82.1 % (23 / 28)
create_unique_paths GNC 4388 94.6 % (88 / 93) 65.7 % (46 / 70)
adjust_paths_for_srfs CBC 6185 100.0 % (31 / 31) 81.0 % (47 / 58)
generate_setop_child_grouplist CBC 6244 95.0 % (19 / 20) 72.2 % (13 / 18)
select_rowmark_type CBC 7081 90.0 % (18 / 20) 71.4 % (10 / 14)
mark_partial_aggref CBC 8853 100.0 % (9 / 9) 70.0 % (7 / 10)
create_partial_grouping_paths GNC 17302 99.1 % (114 / 115) 81.3 % (109 / 134)
plan_create_index_workers CBC 17617 100.0 % (44 / 44) 93.8 % (15 / 16)
can_partial_agg CBC 18685 88.9 % (8 / 9) 90.0 % (9 / 10)
create_grouping_paths CBC 18700 100.0 % (28 / 28) 87.5 % (28 / 32)
is_degenerate_grouping CBC 18700 100.0 % (4 / 4) 100.0 % (8 / 8)
make_group_input_target CBC 18700 100.0 % (28 / 28) 85.7 % (24 / 28)
add_paths_to_grouping_rel GNC 19321 98.6 % (70 / 71) 84.5 % (49 / 58)
create_ordinary_grouping_paths GNC 19750 97.1 % (34 / 35) 82.6 % (38 / 46)
make_grouping_rel CBC 19765 100.0 % (14 / 14) 91.7 % (11 / 12)
get_number_of_groups CBC 22128 97.1 % (34 / 35) 79.2 % (38 / 48)
make_ordered_path CBC 27905 100.0 % (10 / 10) 100.0 % (12 / 12)
make_sort_input_target CBC 35151 100.0 % (49 / 49) 87.0 % (47 / 54)
create_ordered_paths CBC 37099 95.9 % (47 / 49) 89.7 % (52 / 58)
choose_plan_name GNC 39171 100.0 % (23 / 23) 100.0 % (22 / 22)
expression_planner CBC 119604 100.0 % (4 / 4)
planner GNC 223120 100.0 % (6 / 6) 100.0 % (2 / 2)
standard_planner GNC 223120 96.5 % (139 / 144) 79.4 % (81 / 102)
get_cheapest_fractional_path CBC 241420 100.0 % (15 / 15) 94.4 % (17 / 18)
standard_qp_callback CBC 256494 93.4 % (57 / 61) 91.7 % (33 / 36)
grouping_planner GNC 259582 97.4 % (227 / 233) 86.7 % (163 / 188)
preprocess_rowmarks CBC 261555 100.0 % (44 / 44) 92.9 % (26 / 28)
apply_scanjoin_target_to_paths CBC 268306 100.0 % (57 / 57) 88.7 % (55 / 62)
limit_needed CBC 554077 100.0 % (16 / 16) 85.7 % (12 / 14)
preprocess_qual_conditions CBC 649415 86.7 % (13 / 15) 75.0 % (12 / 16)
preprocess_expression CBC 2180737 100.0 % (20 / 20) 96.2 % (25 / 26)

Generated by: LCOV version 2.4-beta