LCOV - code coverage report
Current view: top level - src/backend/optimizer/path - pathkeys.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 95.6 % 567 542
Test Date: 2026-07-18 19:15:48 Functions: 100.0 % 35 35
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 86.2 % 506 436

Function Name Sort by function name Hit count Sort by function hit count
append_pathkeys 1259
build_expression_pathkey 774
build_index_pathkeys 1088840
build_join_pathkeys 1831383
build_partition_pathkeys 36828
compare_pathkeys 10302758
convert_subquery_pathkeys 52053
count_common_leading_pathkeys_ordered 5453252
count_common_leading_pathkeys_unordered 2645924
find_mergeclauses_for_outer_pathkeys 1732392
find_var_for_subquery_tle 163533
get_cheapest_fractional_path_for_pathkeys 1681
get_cheapest_parallel_safe_total_inner 65824
get_cheapest_path_for_pathkeys 784307
get_useful_group_keys_orderings 45412
group_keys_reorder_by_pathkeys 148
has_useful_pathkeys 736357
initialize_mergeclause_eclasses 49165
make_canonical_pathkey 1887172
make_inner_pathkeys_for_merge 863014
make_pathkey_from_sortinfo 1626332
make_pathkey_from_sortop 164040
make_pathkeys_for_sortclauses 415174
make_pathkeys_for_sortclauses_extended 434915
matches_boolean_partition_clause 500
partkey_is_bool_constant_for_query 13248
pathkey_is_redundant 2193361
pathkeys_contained_in 3154861
pathkeys_count_contained_in 6249025
pathkeys_useful_for_merging 1314167
right_merge_direction 1405733
select_outer_pathkeys_for_merge 449389
trim_mergeclauses_for_inner_pathkeys 8687
truncate_useless_pathkeys 2713597
update_mergeclause_eclasses 4263259

Generated by: LCOV version 2.0-1