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: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 95.8 % 598 573 25 1 35 537 1 42
Current Date: 2026-05-29 21:51:00 -0400 Functions: 100.0 % 35 35 4 31 5
Baseline: lcov-20260530-034037-baseline Branches: 82.9 % 578 479 1 1 97 1 21 457 1 33
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 35 35 35
(360..) days: 95.6 % 563 538 25 1 537
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: 95.5 % 22 21 1 21
(360..) days: 82.4 % 556 458 1 97 1 457

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 1247 100.0 % (7 / 7) 80.0 % (8 / 10)
build_expression_pathkey CBC 771 87.5 % (7 / 8) 50.0 % (3 / 6)
build_index_pathkeys CBC 1096578 92.6 % (25 / 27) 83.3 % (15 / 18)
build_join_pathkeys CBC 1854661 100.0 % (6 / 6) 87.5 % (7 / 8)
build_partition_pathkeys CBC 36696 100.0 % (20 / 20) 81.2 % (13 / 16)
compare_pathkeys CBC 11951485 100.0 % (13 / 13) 100.0 % (22 / 22)
convert_subquery_pathkeys CBC 52441 98.1 % (53 / 54) 84.0 % (42 / 50)
count_common_leading_pathkeys_ordered GNC 5484242 100.0 % (3 / 3)
count_common_leading_pathkeys_unordered GNC 2670849 100.0 % (9 / 9) 90.0 % (9 / 10)
find_mergeclauses_for_outer_pathkeys CBC 1756385 100.0 % (19 / 19) 100.0 % (24 / 24)
find_var_for_subquery_tle CBC 162020 100.0 % (11 / 11) 92.9 % (13 / 14)
get_cheapest_fractional_path_for_pathkeys CBC 1667 100.0 % (11 / 11) 93.8 % (15 / 16)
get_cheapest_parallel_safe_total_inner CBC 66517 100.0 % (7 / 7) 83.3 % (10 / 12)
get_cheapest_path_for_pathkeys CBC 813492 100.0 % (13 / 13) 95.0 % (19 / 20)
get_useful_group_keys_orderings CBC 45635 97.1 % (34 / 35) 69.6 % (32 / 46)
group_keys_reorder_by_pathkeys CBC 133 90.9 % (20 / 22) 70.0 % (14 / 20)
has_useful_pathkeys GNC 748020 100.0 % (6 / 6) 100.0 % (6 / 6)
initialize_mergeclause_eclasses CBC 45239 100.0 % (13 / 13) 50.0 % (3 / 6)
make_canonical_pathkey CBC 1877261 90.5 % (19 / 21) 75.0 % (15 / 20)
make_inner_pathkeys_for_merge CBC 890458 92.9 % (26 / 28) 72.7 % (16 / 22)
make_pathkey_from_sortinfo CBC 1637486 83.3 % (10 / 12) 50.0 % (6 / 12)
make_pathkey_from_sortop CBC 165167 80.0 % (4 / 5) 25.0 % (1 / 4)
make_pathkeys_for_sortclauses CBC 418324 100.0 % (4 / 4) 50.0 % (1 / 2)
make_pathkeys_for_sortclauses_extended CBC 437928 100.0 % (23 / 23) 95.0 % (19 / 20)
matches_boolean_partition_clause CBC 500 100.0 % (10 / 10) 100.0 % (6 / 6)
partkey_is_bool_constant_for_query CBC 13170 90.9 % (10 / 11) 78.6 % (11 / 14)
pathkey_is_redundant CBC 2667544 100.0 % (9 / 9) 100.0 % (10 / 10)
pathkeys_contained_in CBC 4753084 100.0 % (7 / 7) 100.0 % (2 / 2)
pathkeys_count_contained_in CBC 6295162 100.0 % (20 / 20) 90.9 % (20 / 22)
pathkeys_useful_for_merging CBC 1326407 100.0 % (23 / 23) 96.2 % (25 / 26)
right_merge_direction CBC 1413828 100.0 % (7 / 7) 90.0 % (9 / 10)
select_outer_pathkeys_for_merge CBC 463758 98.6 % (71 / 72) 85.9 % (55 / 64)
trim_mergeclauses_for_inner_pathkeys CBC 10685 74.1 % (20 / 27) 61.1 % (11 / 18)
update_mergeclause_eclasses CBC 4328924 77.8 % (7 / 9) 50.0 % (5 / 10)

Generated by: LCOV version 2.5.0-beta