LCOV - code coverage report
Current view: top level - src/backend/optimizer/plan - planner.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 2206 2278 96.8 %
Date: 2025-07-07 17:17:41 Functions: 59 59 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
create_degenerate_grouping_paths 18
preprocess_phv_expression 90
common_prefix_cmp 186
plan_cluster_use_sort 188
expression_planner_with_deps 366
group_by_has_partkey 556
create_partitionwise_grouping_paths 562
extract_rollup_sets 866
preprocess_grouping_sets 878
reorder_grouping_sets 1438
gather_grouping_paths 1644
consider_groupingsets_paths 1732
make_partial_grouping_target 2198
create_window_paths 2378
make_window_input_target 2378
name_active_windows 2378
optimize_window_clauses 2378
select_active_windows 2378
create_one_window_path 2586
create_distinct_paths 2688
create_partial_distinct_paths 2688
adjust_group_pathkeys_for_groupagg 2696
create_final_distinct_paths 2796
has_volatile_pathkey 3092
remap_to_groupclause_idx 4200
get_useful_pathkeys_for_distinct 4518
preprocess_limit 5008
make_pathkeys_for_window 5132
postprocess_setop_tlist 6162
mark_partial_aggref 7060
preprocess_groupclause 7758
generate_setop_child_grouplist 12280
adjust_paths_for_srfs 12680
select_rowmark_type 14032
create_partial_grouping_paths 35566
plan_create_index_workers 36344
can_partial_agg 39106
create_grouping_paths 39124
is_degenerate_grouping 39124
make_group_input_target 39124
add_paths_to_grouping_rel 39982
create_ordinary_grouping_paths 40600
make_grouping_rel 40618
get_number_of_groups 42382
make_ordered_path 52632
make_sort_input_target 72212
create_ordered_paths 76168
expression_planner 246884
planner 457346
standard_planner 457346
get_cheapest_fractional_path 496228
standard_qp_callback 520690
grouping_planner 526880
preprocess_rowmarks 530736
subquery_planner 530752
apply_scanjoin_target_to_paths 543508
limit_needed 1111394
preprocess_qual_conditions 1305988
preprocess_expression 4419540

Generated by: LCOV version 1.16