LCOV - differential code coverage report
Current view: top level - src/backend/optimizer/path - pathkeys.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DUB DCB
Current: b45a8d7d8b306b43f31a002f1b3f1dddc8defeaf vs 8767b449a3a1e75626dfb08f24da54933171d4c5 Lines: 95.7 % 598 572 26 35 537 1 42
Current Date: 2025-10-28 08:26:42 +0900 Functions: 100.0 % 35 35 4 31 5
Baseline: lcov-20251028-005825-baseline Branches: 82.7 % 578 478 1 1 98 21 457
Baseline Date: 2025-10-27 06:37:35 +0000 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 35 35 35
(30,360] days: 100.0 % 9 9 9
(360..) days: 95.3 % 554 528 26 528
Function coverage date bins:
(7,30] days: 100.0 % 3 3 3
(360..) days: 100.0 % 32 32 1 31
Branch coverage date bins:
(7,30] days: 95.5 % 22 21 1 21
(30,360] days: 70.0 % 10 7 3 7
(360..) days: 82.4 % 546 450 1 95 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
group_keys_reorder_by_pathkeys CBC 82 90.9 % (20 / 22) 70.0 % (14 / 20)
matches_boolean_partition_clause CBC 276 100.0 % (10 / 10) 100.0 % (6 / 6)
build_expression_pathkey CBC 460 87.5 % (7 / 8) 50.0 % (3 / 6)
append_pathkeys CBC 755 100.0 % (7 / 7) 80.0 % (8 / 10)
get_cheapest_fractional_path_for_pathkeys CBC 963 100.0 % (11 / 11) 93.8 % (15 / 16)
trim_mergeclauses_for_inner_pathkeys CBC 7711 74.1 % (20 / 27) 61.1 % (11 / 18)
partkey_is_bool_constant_for_query CBC 7850 90.9 % (10 / 11) 78.6 % (11 / 14)
build_partition_pathkeys CBC 23838 100.0 % (20 / 20) 81.2 % (13 / 16)
get_useful_group_keys_orderings CBC 24769 97.1 % (34 / 35) 69.6 % (32 / 46)
initialize_mergeclause_eclasses CBC 28518 100.0 % (13 / 13) 50.0 % (3 / 6)
convert_subquery_pathkeys CBC 30025 98.1 % (53 / 54) 84.0 % (42 / 50)
get_cheapest_parallel_safe_total_inner CBC 39288 100.0 % (7 / 7) 83.3 % (10 / 12)
find_var_for_subquery_tle CBC 94766 90.9 % (10 / 11) 85.7 % (12 / 14)
make_pathkey_from_sortop CBC 97700 80.0 % (4 / 5) 25.0 % (1 / 4)
make_pathkeys_for_sortclauses CBC 272307 100.0 % (4 / 4) 50.0 % (1 / 2)
make_pathkeys_for_sortclauses_extended CBC 284211 100.0 % (23 / 23) 95.0 % (19 / 20)
select_outer_pathkeys_for_merge CBC 308741 98.6 % (71 / 72) 85.9 % (55 / 64)
has_useful_pathkeys GNC 465116 100.0 % (6 / 6) 100.0 % (6 / 6)
get_cheapest_path_for_pathkeys CBC 534303 100.0 % (13 / 13) 95.0 % (19 / 20)
make_inner_pathkeys_for_merge CBC 583357 92.9 % (26 / 28) 72.7 % (16 / 22)
build_index_pathkeys CBC 658966 92.6 % (25 / 27) 83.3 % (15 / 18)
pathkeys_useful_for_merging CBC 768483 100.0 % (23 / 23) 96.2 % (25 / 26)
right_merge_direction CBC 817749 100.0 % (7 / 7) 90.0 % (9 / 10)
make_pathkey_from_sortinfo CBC 993056 83.3 % (10 / 12) 50.0 % (6 / 12)
find_mergeclauses_for_outer_pathkeys CBC 1086448 100.0 % (19 / 19) 100.0 % (24 / 24)
build_join_pathkeys CBC 1140807 100.0 % (6 / 6) 87.5 % (7 / 8)
make_canonical_pathkey CBC 1169211 90.5 % (19 / 21) 75.0 % (15 / 20)
count_common_leading_pathkeys_unordered GNC 1549049 100.0 % (9 / 9) 90.0 % (9 / 10)
pathkey_is_redundant CBC 1645114 100.0 % (9 / 9) 100.0 % (10 / 10)
update_mergeclause_eclasses CBC 2800923 77.8 % (7 / 9) 50.0 % (5 / 10)
pathkeys_contained_in CBC 3133501 100.0 % (7 / 7) 100.0 % (2 / 2)
count_common_leading_pathkeys_ordered GNC 3241095 100.0 % (3 / 3)
pathkeys_count_contained_in CBC 3757657 100.0 % (20 / 20) 90.9 % (20 / 22)
compare_pathkeys CBC 7766370 100.0 % (13 / 13) 100.0 % (22 / 22)

Generated by: LCOV version 2.4-beta