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-09-11 09:15:33 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 725
build_index_pathkeys 1068746
build_join_pathkeys 1726593
build_partition_pathkeys 36120
compare_pathkeys 9864527
convert_subquery_pathkeys 51160
count_common_leading_pathkeys_ordered 5145625
count_common_leading_pathkeys_unordered 2463625
find_mergeclauses_for_outer_pathkeys 1627369
find_var_for_subquery_tle 162783
get_cheapest_fractional_path_for_pathkeys 1681
get_cheapest_parallel_safe_total_inner 63989
get_cheapest_path_for_pathkeys 746557
get_useful_group_keys_orderings 45671
group_keys_reorder_by_pathkeys 153
has_useful_pathkeys 725372
initialize_mergeclause_eclasses 52099
make_canonical_pathkey 1819092
make_inner_pathkeys_for_merge 802764
make_pathkey_from_sortinfo 1601846
make_pathkey_from_sortop 165377
make_pathkeys_for_sortclauses 423200
make_pathkeys_for_sortclauses_extended 442940
matches_boolean_partition_clause 500
partkey_is_bool_constant_for_query 13120
pathkey_is_redundant 2063698
pathkeys_contained_in 3013855
pathkeys_count_contained_in 5894665
pathkeys_useful_for_merging 1223470
right_merge_direction 1302103
select_outer_pathkeys_for_merge 421638
trim_mergeclauses_for_inner_pathkeys 8831
truncate_useless_pathkeys 2589222
update_mergeclause_eclasses 3901885

Generated by: LCOV version 2.0-1