LCOV - differential code coverage report
Current view: top level - src/backend/optimizer/plan - planner.c (source / functions) Coverage Total Hit UNC UBC GNC CBC ECB DCB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 96.7 % 2511 2429 9 73 157 2272 9
Current Date: 2025-09-06 07:49:51 +0900 Functions: 100.0 % 62 62 7 55
Baseline: lcov-20250907-010129-baseline Branches: 83.2 % 2244 1868 42 334 88 1780 1
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 94.8 % 172 163 9 154 9
(30,360] days: 99.2 % 128 127 1 3 124
(360..) days: 96.7 % 2211 2139 72 2139
Function coverage date bins:
(7,30] days: 100.0 % 3 3 3
(30,360] days: 100.0 % 3 3 3
(360..) days: 100.0 % 56 56 4 52
Branch coverage date bins:
(7,30] days: 69.7 % 142 99 42 1 88 11
(30,360] days: 90.7 % 140 127 13 127
(360..) days: 83.6 % 1963 1642 320 1642 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
add_paths_to_grouping_rel CBC 18864 98.5 % (65 / 66) 85.2 % (46 / 54)
adjust_group_pathkeys_for_groupagg CBC 1209 100.0 % (71 / 71) 90.6 % (58 / 64)
adjust_paths_for_srfs CBC 6166 100.0 % (31 / 31) 81.0 % (47 / 58)
apply_scanjoin_target_to_paths CBC 264595 100.0 % (57 / 57) 88.7 % (55 / 62)
can_partial_agg CBC 18426 88.9 % (8 / 9) 90.0 % (9 / 10)
common_prefix_cmp CBC 93 87.0 % (20 / 23) 82.4 % (28 / 34)
consider_groupingsets_paths CBC 866 97.4 % (112 / 115) 82.2 % (74 / 90)
create_degenerate_grouping_paths CBC 9 56.2 % (9 / 16) 25.0 % (1 / 4)
create_distinct_paths CBC 1309 88.9 % (16 / 18) 50.0 % (5 / 10)
create_final_distinct_paths GNC 1363 100.0 % (40 / 40) 86.4 % (38 / 44)
create_final_unique_paths GNC 4260 100.0 % (26 / 26) 82.1 % (23 / 28)
create_grouping_paths CBC 18435 100.0 % (28 / 28) 87.5 % (28 / 32)
create_one_window_path CBC 1293 100.0 % (39 / 39) 89.5 % (34 / 38)
create_ordered_paths CBC 36958 95.9 % (47 / 49) 89.7 % (52 / 58)
create_ordinary_grouping_paths CBC 19173 97.2 % (35 / 36) 83.3 % (35 / 42)
create_partial_distinct_paths GNC 1309 91.1 % (41 / 45) 71.1 % (27 / 38)
create_partial_grouping_paths CBC 16801 98.9 % (94 / 95) 80.2 % (85 / 106)
create_partial_unique_paths GNC 2437 90.0 % (36 / 40) 59.4 % (19 / 32)
create_partitionwise_grouping_paths CBC 281 97.7 % (42 / 43) 75.0 % (21 / 28)
create_unique_paths GNC 4394 94.6 % (88 / 93) 65.7 % (46 / 70)
create_window_paths CBC 1189 87.0 % (20 / 23) 75.0 % (18 / 24)
expression_planner CBC 120076 100.0 % (4 / 4)
expression_planner_with_deps CBC 185 100.0 % (14 / 14) 60.0 % (12 / 20)
extract_rollup_sets CBC 433 98.8 % (80 / 81) 89.7 % (52 / 58)
gather_grouping_paths CBC 824 86.4 % (19 / 22) 55.0 % (11 / 20)
generate_setop_child_grouplist CBC 6137 95.0 % (19 / 20) 72.2 % (13 / 18)
get_cheapest_fractional_path CBC 240946 100.0 % (15 / 15) 94.4 % (17 / 18)
get_number_of_groups CBC 20066 97.1 % (34 / 35) 79.2 % (38 / 48)
get_useful_pathkeys_for_distinct CBC 2179 95.7 % (22 / 23) 95.5 % (21 / 22)
group_by_has_partkey CBC 278 96.4 % (27 / 28) 87.5 % (28 / 32)
grouping_planner CBC 256152 97.4 % (228 / 234) 86.7 % (163 / 188)
has_volatile_pathkey CBC 1407 100.0 % (6 / 6) 100.0 % (8 / 8)
is_degenerate_grouping CBC 18435 100.0 % (4 / 4) 100.0 % (8 / 8)
limit_needed CBC 540509 100.0 % (16 / 16) 85.7 % (12 / 14)
make_group_input_target CBC 18435 100.0 % (28 / 28) 82.1 % (23 / 28)
make_grouping_rel CBC 19182 100.0 % (14 / 14) 91.7 % (11 / 12)
make_ordered_path CBC 25121 100.0 % (10 / 10) 100.0 % (12 / 12)
make_partial_grouping_target CBC 1101 100.0 % (26 / 26) 87.5 % (21 / 24)
make_pathkeys_for_window CBC 2566 86.7 % (13 / 15) 56.2 % (9 / 16)
make_sort_input_target CBC 35032 100.0 % (49 / 49) 87.0 % (47 / 54)
make_window_input_target CBC 1189 100.0 % (29 / 29) 89.5 % (34 / 38)
mark_partial_aggref CBC 3536 100.0 % (9 / 9) 70.0 % (7 / 10)
name_active_windows CBC 1189 100.0 % (16 / 16) 90.0 % (18 / 20)
optimize_window_clauses CBC 1189 97.8 % (44 / 45) 81.5 % (44 / 54)
plan_cluster_use_sort CBC 96 97.6 % (41 / 42) 66.7 % (8 / 12)
plan_create_index_workers CBC 17403 100.0 % (44 / 44) 93.8 % (15 / 16)
planner CBC 222683 100.0 % (6 / 6) 100.0 % (2 / 2)
postprocess_setop_tlist CBC 3010 81.2 % (13 / 16) 55.0 % (11 / 20)
preprocess_expression CBC 2148095 100.0 % (20 / 20) 96.2 % (25 / 26)
preprocess_groupclause CBC 3875 96.8 % (30 / 31) 85.0 % (34 / 40)
preprocess_grouping_sets CBC 439 100.0 % (56 / 56) 93.5 % (43 / 46)
preprocess_limit CBC 2491 77.1 % (37 / 48) 67.9 % (38 / 56)
preprocess_phv_expression CBC 45 100.0 % (2 / 2)
preprocess_qual_conditions CBC 634621 86.7 % (13 / 15) 75.0 % (12 / 16)
preprocess_rowmarks CBC 258086 100.0 % (44 / 44) 92.9 % (26 / 28)
remap_to_groupclause_idx CBC 2100 100.0 % (13 / 13) 94.4 % (17 / 18)
reorder_grouping_sets CBC 719 100.0 % (20 / 20) 91.7 % (11 / 12)
select_active_windows CBC 1189 100.0 % (21 / 21) 83.3 % (10 / 12)
select_rowmark_type CBC 6954 90.0 % (18 / 20) 71.4 % (10 / 14)
standard_planner GNC 222683 97.9 % (137 / 140) 80.6 % (79 / 98)
standard_qp_callback CBC 253127 93.4 % (57 / 61) 91.7 % (33 / 36)
subquery_planner GNC 258289 100.0 % (206 / 206) 94.4 % (136 / 144)

Generated by: LCOV version 2.4-beta