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-16 13:15:57 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 146
common_prefix_cmp 180
expression_planner_with_deps 266
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 1685
consider_groupingsets_paths 1777
create_distinct_paths 2014
create_partial_distinct_paths 2014
has_volatile_pathkey 2041
create_final_distinct_paths 2104
create_window_paths 2328
make_window_input_target 2328
name_active_windows 2328
optimize_window_clauses 2328
select_active_windows 2328
create_one_window_path 2484
gather_grouping_paths 2587
make_partial_grouping_target 3213
get_useful_pathkeys_for_distinct 3528
preprocess_limit 3745
create_partial_unique_paths 4047
remap_to_groupclause_idx 4152
find_having_conflicts 4372
postprocess_setop_tlist 4973
make_pathkeys_for_window 4977
create_unique_paths 7000
create_final_unique_paths 7219
preprocess_groupclause 7585
adjust_paths_for_srfs 10743
generate_setop_child_grouplist 10791
select_rowmark_type 11523
mark_partial_aggref 15386
plan_create_index_workers 23692
create_partial_grouping_paths 31959
can_partial_agg 34168
create_grouping_paths 34213
is_degenerate_grouping 34213
make_group_input_target 34213
add_paths_to_grouping_rel 35250
create_ordinary_grouping_paths 35963
make_grouping_rel 36008
get_number_of_groups 41205
make_ordered_path 49812
make_sort_input_target 58330
create_ordered_paths 61571
choose_plan_name 63566
expression_planner 138933
planner 337042
standard_planner 337042
get_cheapest_fractional_path 363799
standard_qp_callback 390880
grouping_planner 395873
preprocess_rowmarks 398584
subquery_planner 398874
apply_scanjoin_target_to_paths 410953
limit_needed 847621
preprocess_qual_conditions 1009977
preprocess_expression 3342634

Generated by: LCOV version 2.0-1