LCOV - code coverage report
Current view: top level - src/backend/optimizer/plan - planner.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 2417 2491 97.0 %
Date: 2026-01-23 09:17:29 Functions: 63 63 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
create_degenerate_grouping_paths 42
preprocess_phv_expression 90
plan_cluster_use_sort 192
common_prefix_cmp 204
expression_planner_with_deps 366
group_by_has_partkey 772
create_partitionwise_grouping_paths 826
extract_rollup_sets 1008
preprocess_grouping_sets 1020
reorder_grouping_sets 1640
consider_groupingsets_paths 1962
gather_grouping_paths 2412
adjust_group_pathkeys_for_groupagg 2444
create_window_paths 2576
make_window_input_target 2576
name_active_windows 2576
optimize_window_clauses 2576
select_active_windows 2576
create_one_window_path 2790
has_volatile_pathkey 2840
create_distinct_paths 3014
create_partial_distinct_paths 3014
create_final_distinct_paths 3122
make_partial_grouping_target 3180
remap_to_groupclause_idx 4628
create_partial_unique_paths 4996
preprocess_limit 5142
get_useful_pathkeys_for_distinct 5420
make_pathkeys_for_window 5552
postprocess_setop_tlist 6204
preprocess_groupclause 8642
create_final_unique_paths 8744
create_unique_paths 8926
generate_setop_child_grouplist 12752
adjust_paths_for_srfs 12784
mark_partial_aggref 17896
select_rowmark_type 19896
plan_create_index_workers 36500
create_partial_grouping_paths 42758
can_partial_agg 45562
create_grouping_paths 45604
is_degenerate_grouping 45604
make_group_input_target 45604
add_paths_to_grouping_rel 46870
create_ordinary_grouping_paths 47728
make_grouping_rel 47770
get_number_of_groups 52648
make_ordered_path 64642
make_sort_input_target 71782
create_ordered_paths 75754
choose_plan_name 84782
expression_planner 243700
planner 463422
standard_planner 463422
get_cheapest_fractional_path 500360
standard_qp_callback 536484
grouping_planner 542718
preprocess_rowmarks 546688
subquery_planner 547094
apply_scanjoin_target_to_paths 561154
limit_needed 1157106
preprocess_qual_conditions 1352852
preprocess_expression 4557562

Generated by: LCOV version 1.16