LCOV - code coverage report
Current view: top level - src/backend/optimizer/plan - planner.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 96.7 % 2591 2506
Test Date: 2026-11-22 09:16:07 Functions: 100.0 % 67 67
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 85.8 % 2254 1935

Function Name Sort by function name Hit count Sort by function hit count
create_degenerate_grouping_paths 45
plan_cluster_use_sort 177
common_prefix_cmp 180
expression_planner_with_deps 290
group_var_eqop 638
group_by_has_partkey 680
create_partitionwise_grouping_paths 725
extract_rollup_sets 931
preprocess_grouping_sets 940
having_var_grouping_eqop 1037
reorder_grouping_sets 1515
consider_groupingsets_paths 1827
adjust_group_pathkeys_for_groupagg 1833
preprocess_subquery_phvs 1893
create_distinct_paths 2093
create_partial_distinct_paths 2093
create_final_distinct_paths 2174
has_volatile_pathkey 2219
create_window_paths 2403
make_window_input_target 2403
name_active_windows 2403
optimize_window_clauses 2403
select_active_windows 2403
gather_grouping_paths 2425
create_one_window_path 2552
make_partial_grouping_target 3262
get_useful_pathkeys_for_distinct 3640
preprocess_limit 3920
create_partial_unique_paths 4083
remap_to_groupclause_idx 4227
find_having_conflicts 4574
postprocess_setop_tlist 5081
make_pathkeys_for_window 5120
create_final_unique_paths 6559
create_unique_paths 7190
preprocess_groupclause 7832
generate_setop_child_grouplist 10736
adjust_paths_for_srfs 10780
select_rowmark_type 11656
mark_partial_aggref 16037
plan_create_index_workers 23661
preprocess_subquery_phvs_walker 28556
create_partial_grouping_paths 32720
can_partial_agg 34988
create_grouping_paths 35037
is_degenerate_grouping 35037
make_group_input_target 35037
add_paths_to_grouping_rel 36130
create_ordinary_grouping_paths 36903
make_grouping_rel 36952
get_number_of_groups 41976
make_ordered_path 50798
make_sort_input_target 57209
create_ordered_paths 60396
choose_plan_name 65011
expression_planner 136165
planner 342815
standard_planner 342815
get_cheapest_fractional_path 370411
standard_qp_callback 397898
grouping_planner 403011
preprocess_rowmarks 405795
subquery_planner 406069
apply_scanjoin_target_to_paths 417641
limit_needed 862198
preprocess_qual_conditions 1027230
preprocess_expression 3404639

Generated by: LCOV version 2.0-1