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: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 96.7 % 2662 2573 1 88 12 2561 11
Current Date: 2026-10-12 11:56:10 +0200 Functions: 100.0 % 67 67 5 62
Baseline: lcov-20261012-baseline Branches: 83.5 % 2408 2011 1 396 1 2010
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 32 32 32
(30,360] days: 97.2 % 109 106 1 2 12 94
(360..) days: 96.6 % 2521 2435 86 2435
Function coverage date bins:
(7,30] days: 100.0 % 2 2 2
(30,360] days: 100.0 % 3 3 3
(360..) days: 100.0 % 62 62 5 57
Branch coverage date bins:
(7,30] days: 95.5 % 22 21 1 21
(30,360] days: 87.0 % 92 80 1 11 1 79
(360..) days: 83.3 % 2294 1910 384 1910

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 35589 98.6 % (70 / 71) 84.5 % (49 / 58)
adjust_group_pathkeys_for_groupagg CBC 1698 100.0 % (71 / 71) 90.6 % (58 / 64)
adjust_paths_for_srfs CBC 10657 100.0 % (31 / 31) 81.0 % (47 / 58)
apply_scanjoin_target_to_paths CBC 400905 100.0 % (57 / 57) 90.0 % (63 / 70)
can_partial_agg CBC 34447 88.9 % (8 / 9) 90.0 % (9 / 10)
choose_plan_name CBC 62915 100.0 % (23 / 23) 100.0 % (22 / 22)
common_prefix_cmp CBC 180 91.3 % (21 / 23) 85.3 % (29 / 34)
consider_groupingsets_paths GNC 1777 97.4 % (112 / 115) 82.2 % (74 / 90)
create_degenerate_grouping_paths CBC 45 100.0 % (16 / 16) 100.0 % (4 / 4)
create_distinct_paths CBC 2033 88.9 % (16 / 18) 50.0 % (5 / 10)
create_final_distinct_paths CBC 2123 100.0 % (40 / 40) 86.4 % (38 / 44)
create_final_unique_paths CBC 7143 100.0 % (26 / 26) 85.7 % (24 / 28)
create_grouping_paths CBC 34492 100.0 % (28 / 28) 87.5 % (28 / 32)
create_one_window_path CBC 2489 100.0 % (39 / 39) 89.5 % (34 / 38)
create_ordered_paths CBC 59375 96.0 % (48 / 50) 89.7 % (52 / 58)
create_ordinary_grouping_paths CBC 36302 97.1 % (34 / 35) 84.8 % (39 / 46)
create_partial_distinct_paths CBC 2033 91.1 % (41 / 45) 71.1 % (27 / 38)
create_partial_grouping_paths GNC 32317 98.3 % (116 / 118) 80.9 % (110 / 136)
create_partial_unique_paths CBC 4066 90.0 % (36 / 40) 59.4 % (19 / 32)
create_partitionwise_grouping_paths CBC 705 97.6 % (40 / 41) 76.9 % (20 / 26)
create_unique_paths CBC 7161 92.5 % (86 / 93) 65.7 % (46 / 70)
create_window_paths CBC 2333 87.0 % (20 / 23) 75.0 % (18 / 24)
expression_planner CBC 133148 100.0 % (4 / 4)
expression_planner_with_deps CBC 252 100.0 % (14 / 14) 60.0 % (12 / 20)
extract_rollup_sets GNC 901 98.8 % (80 / 81) 89.7 % (52 / 58)
find_having_conflicts CBC 4481 100.0 % (12 / 12) 90.0 % (9 / 10)
gather_grouping_paths CBC 2546 86.4 % (19 / 22) 55.0 % (11 / 20)
generate_setop_child_grouplist CBC 10679 95.0 % (19 / 20) 72.2 % (13 / 18)
get_cheapest_fractional_path CBC 354727 100.0 % (15 / 15) 94.4 % (17 / 18)
get_number_of_groups CBC 41559 97.1 % (34 / 35) 79.2 % (38 / 48)
get_useful_pathkeys_for_distinct CBC 3564 95.7 % (22 / 23) 95.5 % (21 / 22)
group_by_has_partkey CBC 660 96.4 % (27 / 28) 87.5 % (28 / 32)
group_var_eqop CBC 621 77.8 % (7 / 9) 50.0 % (7 / 14)
grouping_planner CBC 386496 98.3 % (229 / 233) 88.3 % (166 / 188)
has_volatile_pathkey CBC 2054 100.0 % (6 / 6) 100.0 % (8 / 8)
having_var_grouping_eqop CBC 1005 100.0 % (5 / 5) 75.0 % (3 / 4)
is_degenerate_grouping CBC 34492 100.0 % (4 / 4) 100.0 % (8 / 8)
limit_needed CBC 827588 100.0 % (16 / 16) 85.7 % (12 / 14)
make_group_input_target CBC 34492 100.0 % (28 / 28) 82.1 % (23 / 28)
make_grouping_rel CBC 36347 100.0 % (15 / 15) 91.7 % (11 / 12)
make_ordered_path CBC 50398 100.0 % (10 / 10) 100.0 % (12 / 12)
make_partial_grouping_target CBC 3269 100.0 % (26 / 26) 87.5 % (21 / 24)
make_pathkeys_for_window CBC 4987 86.7 % (13 / 15) 56.2 % (9 / 16)
make_sort_input_target GNC 56210 100.0 % (49 / 49) 88.9 % (48 / 54)
make_window_input_target CBC 2333 100.0 % (29 / 29) 89.5 % (34 / 38)
mark_partial_aggref CBC 15665 100.0 % (9 / 9) 70.0 % (7 / 10)
name_active_windows CBC 2333 100.0 % (16 / 16) 90.0 % (18 / 20)
optimize_window_clauses CBC 2333 97.8 % (44 / 45) 81.5 % (44 / 54)
plan_cluster_use_sort CBC 145 97.6 % (41 / 42) 66.7 % (8 / 12)
plan_create_index_workers CBC 22626 100.0 % (44 / 44) 93.8 % (15 / 16)
planner CBC 328359 100.0 % (6 / 6) 100.0 % (2 / 2)
postprocess_setop_tlist CBC 4997 81.2 % (13 / 16) 55.0 % (11 / 20)
preprocess_expression CBC 3266868 100.0 % (22 / 22) 93.3 % (28 / 30)
preprocess_groupclause CBC 7694 96.8 % (30 / 31) 85.0 % (34 / 40)
preprocess_grouping_sets GNC 910 100.0 % (55 / 55) 93.5 % (43 / 46)
preprocess_limit CBC 3722 77.1 % (37 / 48) 67.9 % (38 / 56)
preprocess_qual_conditions CBC 988655 86.7 % (13 / 15) 75.0 % (12 / 16)
preprocess_rowmarks CBC 389260 100.0 % (44 / 44) 92.9 % (26 / 28)
preprocess_subquery_phvs CBC 1608 100.0 % (5 / 5)
preprocess_subquery_phvs_walker CBC 25600 100.0 % (22 / 22) 91.7 % (11 / 12)
remap_to_groupclause_idx CBC 4152 100.0 % (13 / 13) 94.4 % (17 / 18)
reorder_grouping_sets CBC 1480 100.0 % (20 / 20) 91.7 % (11 / 12)
select_active_windows CBC 2333 100.0 % (20 / 20) 83.3 % (10 / 12)
select_rowmark_type CBC 11306 90.0 % (18 / 20) 71.4 % (10 / 14)
standard_planner CBC 328359 91.5 % (162 / 177) 76.4 % (107 / 140)
standard_qp_callback CBC 390234 93.4 % (57 / 61) 91.7 % (33 / 36)
subquery_planner CBC 389534 100.0 % (220 / 220) 94.9 % (148 / 156)

Generated by: LCOV version 2.0-1