LCOV - code coverage report
Current view: top level - src/backend/optimizer/plan - planner.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 96.6 % 2567 2480
Test Date: 2026-09-11 16:15:45 Functions: 100.0 % 66 66
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 85.5 % 2238 1914

Function Name Sort by function name Hit count Sort by function hit count
add_paths_to_grouping_rel 35339
adjust_group_pathkeys_for_groupagg 1689
adjust_paths_for_srfs 10669
apply_scanjoin_target_to_paths 406535
can_partial_agg 34257
choose_plan_name 62172
common_prefix_cmp 180
consider_groupingsets_paths 1777
create_degenerate_grouping_paths 45
create_distinct_paths 2034
create_final_distinct_paths 2124
create_final_unique_paths 7087
create_grouping_paths 34302
create_one_window_path 2489
create_ordered_paths 60125
create_ordinary_grouping_paths 36052
create_partial_distinct_paths 2034
create_partial_grouping_paths 32050
create_partial_unique_paths 4000
create_partitionwise_grouping_paths 685
create_unique_paths 6977
create_window_paths 2333
expression_planner 135649
expression_planner_with_deps 261
extract_rollup_sets 901
find_having_conflicts 4410
gather_grouping_paths 2546
generate_setop_child_grouplist 10608
get_cheapest_fractional_path 360911
get_number_of_groups 41212
get_useful_pathkeys_for_distinct 3557
group_by_has_partkey 640
group_var_eqop 621
grouping_planner 391994
has_volatile_pathkey 2045
having_var_grouping_eqop 1005
is_degenerate_grouping 34302
limit_needed 837788
make_group_input_target 34302
make_grouping_rel 36097
make_ordered_path 49862
make_partial_grouping_target 3172
make_pathkeys_for_window 4987
make_sort_input_target 56950
make_window_input_target 2333
mark_partial_aggref 15343
name_active_windows 2333
optimize_window_clauses 2333
plan_cluster_use_sort 144
plan_create_index_workers 22937
planner 334637
postprocess_setop_tlist 4907
preprocess_expression 3310283
preprocess_groupclause 7623
preprocess_grouping_sets 910
preprocess_limit 3690
preprocess_phv_expression 95
preprocess_qual_conditions 997180
preprocess_rowmarks 394769
remap_to_groupclause_idx 4152
reorder_grouping_sets 1480
select_active_windows 2333
select_rowmark_type 11416
standard_planner 334637
standard_qp_callback 395645
subquery_planner 395059

Generated by: LCOV version 2.0-1