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-05 06:15:58 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 755
build_index_pathkeys 1083902
build_join_pathkeys 1832369
build_partition_pathkeys 36324
compare_pathkeys 10298598
convert_subquery_pathkeys 52146
count_common_leading_pathkeys_ordered 5431316
count_common_leading_pathkeys_unordered 2629321
find_mergeclauses_for_outer_pathkeys 1733241
find_var_for_subquery_tle 163265
get_cheapest_fractional_path_for_pathkeys 1681
get_cheapest_parallel_safe_total_inner 64599
get_cheapest_path_for_pathkeys 785277
get_useful_group_keys_orderings 45695
group_keys_reorder_by_pathkeys 153
has_useful_pathkeys 734428
initialize_mergeclause_eclasses 52175
make_canonical_pathkey 1880692
make_inner_pathkeys_for_merge 864622
make_pathkey_from_sortinfo 1621938
make_pathkey_from_sortop 166717
make_pathkeys_for_sortclauses 425357
make_pathkeys_for_sortclauses_extended 445143
matches_boolean_partition_clause 500
partkey_is_bool_constant_for_query 13280
pathkey_is_redundant 2187419
pathkeys_contained_in 3157144
pathkeys_count_contained_in 6226856
pathkeys_useful_for_merging 1305738
right_merge_direction 1397467
select_outer_pathkeys_for_merge 450446
trim_mergeclauses_for_inner_pathkeys 8872
truncate_useless_pathkeys 2709217
update_mergeclause_eclasses 4270141

Generated by: LCOV version 2.0-1