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 11:18:12 Functions: 63 63 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
add_paths_to_grouping_rel 46900
adjust_group_pathkeys_for_groupagg 2438
adjust_paths_for_srfs 12794
apply_scanjoin_target_to_paths 560936
can_partial_agg 45592
choose_plan_name 84694
common_prefix_cmp 204
consider_groupingsets_paths 1962
create_degenerate_grouping_paths 42
create_distinct_paths 3014
create_final_distinct_paths 3122
create_final_unique_paths 8744
create_grouping_paths 45634
create_one_window_path 2790
create_ordered_paths 75714
create_ordinary_grouping_paths 47758
create_partial_distinct_paths 3014
create_partial_grouping_paths 42796
create_partial_unique_paths 4996
create_partitionwise_grouping_paths 826
create_unique_paths 8926
create_window_paths 2576
expression_planner 243750
expression_planner_with_deps 362
extract_rollup_sets 1008
gather_grouping_paths 2412
generate_setop_child_grouplist 12752
get_cheapest_fractional_path 500208
get_number_of_groups 52678
get_useful_pathkeys_for_distinct 5418
group_by_has_partkey 772
grouping_planner 542514
has_volatile_pathkey 2834
is_degenerate_grouping 45634
limit_needed 1156382
make_group_input_target 45634
make_grouping_rel 47800
make_ordered_path 64670
make_partial_grouping_target 3180
make_pathkeys_for_window 5552
make_sort_input_target 71744
make_window_input_target 2576
mark_partial_aggref 17898
name_active_windows 2576
optimize_window_clauses 2576
plan_cluster_use_sort 194
plan_create_index_workers 36512
planner 463306
postprocess_setop_tlist 6196
preprocess_expression 4555844
preprocess_groupclause 8644
preprocess_grouping_sets 1020
preprocess_limit 5142
preprocess_phv_expression 90
preprocess_qual_conditions 1352328
preprocess_rowmarks 546484
remap_to_groupclause_idx 4628
reorder_grouping_sets 1640
select_active_windows 2576
select_rowmark_type 19892
standard_planner 463306
standard_qp_callback 536288
subquery_planner 546890

Generated by: LCOV version 1.16