LCOV - differential code coverage report
Current view: top level - src/backend/partitioning - partbounds.c (source / functions) Coverage Total Hit UNC UBC GIC GNC CBC DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 95.4 % 1854 1769 14 71 1 313 1455 46
Current Date: 2026-06-29 16:15:13 +0200 Functions: 98.4 % 64 63 1 23 40
Baseline: lcov-20260630-baseline Branches: 74.3 % 1649 1225 65 359 224 1001
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: 95.7 % 327 313 14 313
(360..) days: 95.4 % 1527 1456 71 1 1455
Function coverage date bins:
(30,360] days: 100.0 % 12 12 12
(360..) days: 98.1 % 52 51 1 11 40
Branch coverage date bins:
(30,360] days: 77.5 % 289 224 65 224
(360..) days: 73.6 % 1360 1001 359 1001

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
merge_default_partitions CBC 130 62.5 % (20 / 32) 41.4 % (24 / 58)
merge_list_bounds CBC 405 94.7 % (108 / 114) 72.1 % (88 / 122)
merge_range_bounds CBC 301 98.0 % (99 / 101) 72.0 % (85 / 118)
get_qual_for_range CBC 3000 95.5 % (128 / 134) 77.3 % (99 / 128)
check_new_partition_bound CBC 7958 100.0 % (90 / 90) 79.4 % (81 / 102)
merge_matching_partitions CBC 2266 88.7 % (47 / 53) 59.6 % (31 / 52)
merge_null_partitions CBC 180 96.8 % (30 / 31) 70.7 % (41 / 58)
satisfies_hash_partition CBC 2155 97.4 % (74 / 76) 77.4 % (48 / 62)
create_list_bounds GNC 5432 97.2 % (70 / 72) 77.8 % (42 / 54)
get_partition_operator CBC 11154 90.0 % (9 / 10) 60.0 % (18 / 30)
process_outer_partition CBC 360 75.0 % (15 / 20) 45.5 % (10 / 22)
check_partition_bounds_for_split_list GNC 80 93.3 % (28 / 30) 69.4 % (25 / 36)
check_partition_bounds_for_split_range GNC 354 97.1 % (33 / 34) 76.2 % (32 / 42)
create_range_bounds GNC 6950 98.8 % (81 / 82) 79.2 % (38 / 48)
check_default_partition_contents GNC 235 96.1 % (49 / 51) 78.6 % (33 / 42)
get_partition_bound_spec GNC 622 76.9 % (10 / 13) 25.0 % (3 / 12)
build_merged_partition_bounds GNC 610 100.0 % (30 / 30) 75.0 % (21 / 28)
generate_matching_part_pairs GNC 610 100.0 % (36 / 36) 80.6 % (29 / 36)
partition_bounds_equal CBC 5902 82.1 % (23 / 28) 79.4 % (27 / 34)
add_merged_range_bounds CBC 680 100.0 % (22 / 22) 62.5 % (10 / 16)
calculate_partition_bound_for_merge GNC 144 94.6 % (35 / 37) 71.4 % (15 / 21)
make_partition_op_expr CBC 11154 96.2 % (50 / 52) 76.9 % (20 / 26)
partitions_listdatum_intersection GNC 48 83.3 % (15 / 18) 75.0 % (18 / 24)
process_inner_partition CBC 265 100.0 % (20 / 20) 72.7 % (16 / 22)
check_split_partition_not_same_bound GNC 20 90.0 % (18 / 20) 68.8 % (11 / 16)
fix_merged_indexes GNC 40 100.0 % (22 / 22) 80.8 % (21 / 26)
get_merged_range_bounds CBC 691 89.5 % (17 / 19) 72.2 % (13 / 18)
get_qual_from_partbound CBC 4245 100.0 % (18 / 18) 58.3 % (7 / 12)
make_one_partition_rbound GNC 112332 94.4 % (17 / 18) 64.3 % (9 / 14)
split_partition_values_contained_in_new_part GNC 8 94.1 % (16 / 17) 64.3 % (9 / 14)
check_parent_values_in_new_partitions GNC 12 100.0 % (27 / 27) 81.8 % (18 / 22)
create_hash_bounds GNC 539 97.3 % (36 / 37) 71.4 % (10 / 14)
get_hash_partition_greatest_modulus UBC 0 0.0 % (0 / 3) 0.0 % (0 / 4)
get_qual_for_list CBC 1836 100.0 % (60 / 60) 88.2 % (30 / 34)
merge_partition_with_dummy CBC 440 100.0 % (8 / 8) 50.0 % (4 / 8)
partition_bounds_merge CBC 706 75.0 % (9 / 12) 75.0 % (12 / 16)
check_partitions_for_split GNC 233 100.0 % (50 / 50) 92.5 % (37 / 40)
check_two_partitions_bounds_range GNC 405 100.0 % (12 / 12) 81.2 % (13 / 16)
get_range_key_properties CBC 6416 94.4 % (17 / 18) 70.0 % (7 / 10)
get_range_nulltest CBC 2503 95.2 % (20 / 21) 62.5 % (5 / 8)
check_partitions_not_overlap_list GNC 28 100.0 % (14 / 14) 80.0 % (8 / 10)
get_range_partition_internal CBC 2154 100.0 % (19 / 19) 80.0 % (8 / 10)
is_dummy_partition CBC 7624 100.0 % (6 / 6) 66.7 % (4 / 6)
partition_bounds_copy GNC 12921 100.0 % (38 / 38) 92.3 % (24 / 26)
partition_bounds_create GNC 12921 92.3 % (12 / 13) 75.0 % (6 / 8)
partition_hbound_cmp CBC 1093 87.5 % (7 / 8) 80.0 % (8 / 10)
partitions_are_ordered CBC 59236 100.0 % (15 / 15) 83.3 % (10 / 12)
compare_range_partitions CBC 721 75.0 % (9 / 12) 75.0 % (3 / 4)
compute_partition_hash_value CBC 107354 100.0 % (10 / 10) 83.3 % (5 / 6)
find_value_in_new_partitions_list GNC 72 100.0 % (10 / 10) 94.4 % (17 / 18)
get_range_partition CBC 2114 100.0 % (7 / 7) 83.3 % (5 / 6)
partition_hash_bsearch CBC 289 92.9 % (13 / 14) 83.3 % (5 / 6)
get_non_null_list_datum_count CBC 5432 100.0 % (8 / 8) 100.0 % (10 / 10)
get_qual_for_hash CBC 93 100.0 % (19 / 19) 100.0 % (4 / 4)
init_partition_map GNC 1412 100.0 % (11 / 11) 100.0 % (2 / 2)
partition_list_bsearch CBC 106226 100.0 % (14 / 14) 100.0 % (6 / 6)
partition_range_bsearch CBC 2415 100.0 % (15 / 15) 100.0 % (6 / 6)
partition_range_datum_bsearch CBC 350692 100.0 % (15 / 15) 100.0 % (6 / 6)
partition_rbound_cmp CBC 114912 100.0 % (23 / 23) 100.0 % (20 / 20)
partition_rbound_datum_cmp CBC 1048171 100.0 % (14 / 14) 100.0 % (8 / 8)
free_partition_map CBC 1412 100.0 % (5 / 5)
qsort_partition_hbound_cmp CBC 634 100.0 % (5 / 5)
qsort_partition_list_value_cmp CBC 20291 100.0 % (6 / 6)
qsort_partition_rbound_cmp CBC 97787 100.0 % (5 / 5)

Generated by: LCOV version 2.0-1