LCOV - differential code coverage report
Current view: top level - src/backend/optimizer/path - pathkeys.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 95.8 % 598 573 25 1 35 537 1 42
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 35 35 4 31 5
Baseline: lcov-20260315-024220-baseline Branches: 82.9 % 578 479 1 1 97 1 21 457 1 33
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 44 44 35 9
(360..) days: 95.5 % 554 529 25 1 528
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 100.0 % 32 32 1 31
Branch coverage date bins:
(30,360] days: 87.5 % 32 28 1 3 21 7
(360..) days: 82.6 % 546 451 1 94 1 450

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
append_pathkeys CBC 755 100.0 % (7 / 7) 80.0 % (8 / 10)
build_expression_pathkey CBC 476 87.5 % (7 / 8) 50.0 % (3 / 6)
build_index_pathkeys CBC 771946 92.6 % (25 / 27) 83.3 % (15 / 18)
build_join_pathkeys CBC 1375407 100.0 % (6 / 6) 87.5 % (7 / 8)
build_partition_pathkeys CBC 24450 100.0 % (20 / 20) 81.2 % (13 / 16)
compare_pathkeys CBC 9442753 100.0 % (13 / 13) 100.0 % (22 / 22)
convert_subquery_pathkeys CBC 36013 98.1 % (53 / 54) 84.0 % (42 / 50)
count_common_leading_pathkeys_ordered GNC 3963122 100.0 % (3 / 3)
count_common_leading_pathkeys_unordered GNC 1946494 100.0 % (9 / 9) 90.0 % (9 / 10)
find_mergeclauses_for_outer_pathkeys CBC 1311331 100.0 % (19 / 19) 100.0 % (24 / 24)
find_var_for_subquery_tle CBC 99902 100.0 % (11 / 11) 92.9 % (13 / 14)
get_cheapest_fractional_path_for_pathkeys CBC 999 100.0 % (11 / 11) 93.8 % (15 / 16)
get_cheapest_parallel_safe_total_inner CBC 41352 100.0 % (7 / 7) 83.3 % (10 / 12)
get_cheapest_path_for_pathkeys CBC 654042 100.0 % (13 / 13) 95.0 % (19 / 20)
get_useful_group_keys_orderings CBC 30541 97.1 % (34 / 35) 69.6 % (32 / 46)
group_keys_reorder_by_pathkeys CBC 82 90.9 % (20 / 22) 70.0 % (14 / 20)
has_useful_pathkeys GNC 536179 100.0 % (6 / 6) 100.0 % (6 / 6)
initialize_mergeclause_eclasses CBC 33659 100.0 % (13 / 13) 50.0 % (3 / 6)
make_canonical_pathkey CBC 1403692 90.5 % (19 / 21) 75.0 % (15 / 20)
make_inner_pathkeys_for_merge CBC 712321 92.9 % (26 / 28) 72.7 % (16 / 22)
make_pathkey_from_sortinfo CBC 1158293 83.3 % (10 / 12) 50.0 % (6 / 12)
make_pathkey_from_sortop CBC 106113 80.0 % (4 / 5) 25.0 % (1 / 4)
make_pathkeys_for_sortclauses CBC 298843 100.0 % (4 / 4) 50.0 % (1 / 2)
make_pathkeys_for_sortclauses_extended CBC 311483 100.0 % (23 / 23) 95.0 % (19 / 20)
matches_boolean_partition_clause CBC 276 100.0 % (10 / 10) 100.0 % (6 / 6)
partkey_is_bool_constant_for_query CBC 7986 90.9 % (10 / 11) 78.6 % (11 / 14)
pathkey_is_redundant CBC 1984268 100.0 % (9 / 9) 100.0 % (10 / 10)
pathkeys_contained_in CBC 3840554 100.0 % (7 / 7) 100.0 % (2 / 2)
pathkeys_count_contained_in CBC 4566837 100.0 % (20 / 20) 90.9 % (20 / 22)
pathkeys_useful_for_merging CBC 966551 100.0 % (23 / 23) 96.2 % (25 / 26)
right_merge_direction CBC 1025150 100.0 % (7 / 7) 90.0 % (9 / 10)
select_outer_pathkeys_for_merge CBC 371117 98.6 % (71 / 72) 85.9 % (55 / 64)
trim_mergeclauses_for_inner_pathkeys CBC 9694 74.1 % (20 / 27) 61.1 % (11 / 18)
update_mergeclause_eclasses CBC 3398647 77.8 % (7 / 9) 50.0 % (5 / 10)

Generated by: LCOV version 2.4-beta