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

Generated by: LCOV version 2.0-1