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: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 95.8 % 598 573 25 1 35 537 1 42
Current Date: 2026-06-29 16:15:13 +0200 Functions: 100.0 % 35 35 4 31 5
Baseline: lcov-20260630-baseline Branches: 82.9 % 578 479 1 1 97 1 21 457
Baseline Date: 2026-06-29 13:01:57 +0200 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
trim_mergeclauses_for_inner_pathkeys CBC 8722 74.1 % (20 / 27) 61.1 % (11 / 18)
build_index_pathkeys CBC 1057324 92.6 % (25 / 27) 83.3 % (15 / 18)
group_keys_reorder_by_pathkeys CBC 133 90.9 % (20 / 22) 70.0 % (14 / 20)
make_canonical_pathkey CBC 1763509 90.5 % (19 / 21) 75.0 % (15 / 20)
make_inner_pathkeys_for_merge CBC 816797 92.9 % (26 / 28) 72.7 % (16 / 22)
make_pathkey_from_sortinfo CBC 1570426 83.3 % (10 / 12) 50.0 % (6 / 12)
update_mergeclause_eclasses CBC 3962091 77.8 % (7 / 9) 50.0 % (5 / 10)
build_expression_pathkey CBC 774 87.5 % (7 / 8) 50.0 % (3 / 6)
convert_subquery_pathkeys CBC 51151 98.1 % (53 / 54) 84.0 % (42 / 50)
get_useful_group_keys_orderings CBC 45443 97.1 % (34 / 35) 69.6 % (32 / 46)
make_pathkey_from_sortop CBC 162810 80.0 % (4 / 5) 25.0 % (1 / 4)
partkey_is_bool_constant_for_query CBC 13170 90.9 % (10 / 11) 78.6 % (11 / 14)
select_outer_pathkeys_for_merge CBC 430371 98.6 % (71 / 72) 85.9 % (55 / 64)
append_pathkeys CBC 1247 100.0 % (7 / 7) 80.0 % (8 / 10)
build_join_pathkeys CBC 1732245 100.0 % (6 / 6) 87.5 % (7 / 8)
build_partition_pathkeys CBC 36808 100.0 % (20 / 20) 81.2 % (13 / 16)
compare_pathkeys CBC 11026526 100.0 % (13 / 13) 100.0 % (22 / 22)
count_common_leading_pathkeys_ordered GNC 5180903 100.0 % (3 / 3)
count_common_leading_pathkeys_unordered GNC 2510466 100.0 % (9 / 9) 90.0 % (9 / 10)
find_mergeclauses_for_outer_pathkeys CBC 1633425 100.0 % (19 / 19) 100.0 % (24 / 24)
find_var_for_subquery_tle CBC 162378 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 65653 100.0 % (7 / 7) 83.3 % (10 / 12)
get_cheapest_path_for_pathkeys CBC 746739 100.0 % (13 / 13) 95.0 % (19 / 20)
has_useful_pathkeys GNC 717794 100.0 % (6 / 6) 100.0 % (6 / 6)
initialize_mergeclause_eclasses CBC 43440 100.0 % (13 / 13) 50.0 % (3 / 6)
make_pathkeys_for_sortclauses CBC 411250 100.0 % (4 / 4) 50.0 % (1 / 2)
make_pathkeys_for_sortclauses_extended CBC 430631 100.0 % (23 / 23) 95.0 % (19 / 20)
matches_boolean_partition_clause CBC 500 100.0 % (10 / 10) 100.0 % (6 / 6)
pathkey_is_redundant CBC 2494479 100.0 % (9 / 9) 100.0 % (10 / 10)
pathkeys_contained_in CBC 4362923 100.0 % (7 / 7) 100.0 % (2 / 2)
pathkeys_count_contained_in CBC 5946450 100.0 % (20 / 20) 90.9 % (20 / 22)
pathkeys_useful_for_merging CBC 1246464 100.0 % (23 / 23) 96.2 % (25 / 26)
right_merge_direction CBC 1325367 100.0 % (7 / 7) 90.0 % (9 / 10)

Generated by: LCOV version 2.0-1