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 DUB DCB
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 96.8 % 2262 2189 8 1 64 4 1 180 2004 8 143
Current Date: 2024-04-14 14:21:10 Functions: 100.0 % 58 58 17 41 4
Baseline: 16@8cea358b128 Branches: 83.9 % 2010 1687 32 291 2 114 1571
Baseline Date: 2024-04-14 14:21:09 Line coverage date bins:
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed [..60] days: 95.9 % 49 47 2 41 6
(60,120] days: 96.0 % 125 120 5 116 4
(120,180] days: 100.0 % 2 2 2
(180,240] days: 100.0 % 2 2 2
(240..) days: 96.8 % 2084 2018 1 1 64 4 1 23 1990
Function coverage date bins:
[..60] days: 100.0 % 3 3 3
(60,120] days: 100.0 % 3 3 3
(240..) days: 100.0 % 52 52 11 41
Branch coverage date bins:
[..60] days: 82.4 % 34 28 5 1 23 5
(60,120] days: 78.2 % 110 86 23 1 79 7
(180,240] days: 100.0 % 4 4 4
(240..) days: 84.3 % 1862 1569 4 289 2 12 1555

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
preprocess_limit CBC 2314 77.1 % (37 / 48) 67.9 % (38 / 56)
create_degenerate_grouping_paths CBC 9 56.2 % (9 / 16) 25.0 % (1 / 4)
grouping_planner GNC 245853 97.4 % (228 / 234) 86.7 % (163 / 188)
create_partial_distinct_paths GNC 1098 89.4 % (42 / 47) 72.5 % (29 / 40)
standard_qp_callback GNC 243253 93.3 % (56 / 60) 94.4 % (34 / 36)
common_prefix_cmp CBC 81 87.0 % (20 / 23) 82.4 % (28 / 34)
consider_groupingsets_paths GNC 722 97.4 % (112 / 115) 82.2 % (74 / 90)
create_window_paths CBC 1147 87.0 % (20 / 23) 75.0 % (18 / 24)
gather_grouping_paths GNC 821 86.4 % (19 / 22) 55.0 % (11 / 20)
standard_planner GNC 218728 97.7 % (128 / 131) 80.6 % (79 / 98)
create_distinct_paths GNC 1098 88.9 % (16 / 18) 50.0 % (5 / 10)
create_ordered_paths GNC 28656 96.0 % (48 / 50) 89.7 % (52 / 58)
make_pathkeys_for_window GNC 2462 86.7 % (13 / 15) 56.2 % (9 / 16)
postprocess_setop_tlist CBC 2587 87.5 % (14 / 16) 60.0 % (12 / 20)
preprocess_qual_conditions CBC 597500 86.7 % (13 / 15) 75.0 % (12 / 16)
select_rowmark_type CBC 6611 90.0 % (18 / 20) 71.4 % (10 / 14)
add_paths_to_grouping_rel GNC 18389 98.5 % (65 / 66) 85.2 % (46 / 54)
can_partial_agg CBC 17987 88.9 % (8 / 9) 90.0 % (9 / 10)
create_ordinary_grouping_paths CBC 18686 97.2 % (35 / 36) 83.3 % (35 / 42)
create_partial_grouping_paths GNC 16793 98.9 % (94 / 95) 80.2 % (85 / 106)
create_partitionwise_grouping_paths CBC 257 97.7 % (42 / 43) 75.0 % (21 / 28)
extract_rollup_sets CBC 361 98.8 % (80 / 81) 89.7 % (52 / 58)
generate_setop_child_grouplist GNC 5119 92.3 % (12 / 13) 75.0 % (9 / 12)
get_number_of_groups CBC 19594 97.1 % (34 / 35) 79.2 % (38 / 48)
group_by_has_partkey CBC 254 94.4 % (17 / 18) 87.5 % (14 / 16)
make_sort_input_target CBC 26978 98.0 % (48 / 49) 87.0 % (47 / 54)
optimize_window_clauses CBC 1147 97.8 % (44 / 45) 81.5 % (44 / 54)
plan_cluster_use_sort CBC 94 97.6 % (41 / 42) 66.7 % (8 / 12)
remove_useless_groupby_columns CBC 1683 98.0 % (50 / 51) 84.0 % (42 / 50)
adjust_group_pathkeys_for_groupagg CBC 900 100.0 % (57 / 57) 89.6 % (43 / 48)
adjust_paths_for_srfs CBC 4497 100.0 % (31 / 31) 81.0 % (47 / 58)
apply_scanjoin_target_to_paths CBC 254510 100.0 % (57 / 57) 88.7 % (55 / 62)
create_final_distinct_paths CBC 1146 100.0 % (42 / 42) 89.1 % (41 / 46)
create_grouping_paths CBC 17996 100.0 % (28 / 28) 87.5 % (28 / 32)
create_one_window_path GNC 1240 100.0 % (27 / 27) 87.5 % (21 / 24)
expression_planner CBC 115054 100.0 % (4 / 4)
expression_planner_with_deps CBC 182 100.0 % (14 / 14) 60.0 % (12 / 20)
get_cheapest_fractional_path CBC 233398 100.0 % (13 / 13) 87.5 % (14 / 16)
groupclause_apply_groupingset GNC 1755 100.0 % (8 / 8) 83.3 % (5 / 6)
has_volatile_pathkey CBC 1110 100.0 % (6 / 6) 100.0 % (8 / 8)
is_degenerate_grouping CBC 17996 100.0 % (4 / 4) 100.0 % (8 / 8)
limit_needed CBC 512158 100.0 % (16 / 16) 85.7 % (12 / 14)
make_group_input_target CBC 17996 100.0 % (20 / 20) 87.5 % (14 / 16)
make_grouping_rel CBC 18695 100.0 % (14 / 14) 91.7 % (11 / 12)
make_ordered_path GNC 22043 100.0 % (10 / 10) 91.7 % (11 / 12)
make_partial_grouping_target CBC 1080 100.0 % (26 / 26) 87.5 % (21 / 24)
make_window_input_target CBC 1147 100.0 % (29 / 29) 89.5 % (34 / 38)
mark_partial_aggref CBC 3518 100.0 % (9 / 9) 70.0 % (7 / 10)
plan_create_index_workers CBC 16464 100.0 % (44 / 44) 93.8 % (15 / 16)
planner CBC 218728 100.0 % (5 / 5) 100.0 % (2 / 2)
preprocess_expression CBC 2052452 100.0 % (20 / 20) 96.2 % (25 / 26)
preprocess_grouping_sets GNC 367 100.0 % (56 / 56) 93.5 % (43 / 46)
preprocess_phv_expression CBC 36 100.0 % (2 / 2)
preprocess_rowmarks CBC 247662 100.0 % (44 / 44) 92.9 % (26 / 28)
remap_to_groupclause_idx CBC 1794 100.0 % (13 / 13) 94.4 % (17 / 18)
reorder_grouping_sets CBC 605 100.0 % (20 / 20) 91.7 % (11 / 12)
select_active_windows CBC 1147 100.0 % (21 / 21) 83.3 % (10 / 12)
subquery_planner GNC 247671 100.0 % (186 / 186) 94.5 % (121 / 128)

Generated by: LCOV version 2.1-beta2-3-g6141622