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 % 2573 2488
Test Date: 2026-08-08 20:15:38 Functions: 100.0 % 66 66
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 85.6 % 2244 1921

Function Name Sort by function name Hit count Sort by function hit count
create_degenerate_grouping_paths 45
preprocess_phv_expression 75
plan_cluster_use_sort 144
common_prefix_cmp 180
expression_planner_with_deps 261
group_var_eqop 584
group_by_has_partkey 640
create_partitionwise_grouping_paths 685
extract_rollup_sets 901
preprocess_grouping_sets 910
having_var_grouping_eqop 968
reorder_grouping_sets 1480
adjust_group_pathkeys_for_groupagg 1675
consider_groupingsets_paths 1777
create_distinct_paths 2015
create_partial_distinct_paths 2015
has_volatile_pathkey 2031
create_final_distinct_paths 2105
create_window_paths 2326
make_window_input_target 2326
name_active_windows 2326
optimize_window_clauses 2326
select_active_windows 2326
create_one_window_path 2482
gather_grouping_paths 2590
make_partial_grouping_target 3216
get_useful_pathkeys_for_distinct 3528
preprocess_limit 3744
create_partial_unique_paths 4039
remap_to_groupclause_idx 4152
find_having_conflicts 4372
postprocess_setop_tlist 4966
make_pathkeys_for_window 4973
create_unique_paths 6984
create_final_unique_paths 7211
preprocess_groupclause 7585
adjust_paths_for_srfs 10727
generate_setop_child_grouplist 10792
select_rowmark_type 11532
mark_partial_aggref 15396
plan_create_index_workers 23486
create_partial_grouping_paths 31923
can_partial_agg 34126
create_grouping_paths 34171
is_degenerate_grouping 34171
make_group_input_target 34171
add_paths_to_grouping_rel 35208
create_ordinary_grouping_paths 35921
make_grouping_rel 35966
get_number_of_groups 41169
make_ordered_path 49779
make_sort_input_target 58248
create_ordered_paths 61487
choose_plan_name 63436
expression_planner 137721
planner 334503
standard_planner 334503
get_cheapest_fractional_path 361219
standard_qp_callback 388220
grouping_planner 393206
preprocess_rowmarks 395915
subquery_planner 396205
apply_scanjoin_target_to_paths 408354
limit_needed 842129
preprocess_qual_conditions 1004676
preprocess_expression 3321213

Generated by: LCOV version 2.0-1