LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - selfuncs.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DUB DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 89.2 % 2630 2347 1 1 281 44 2303 2 34
Current Date: 2026-11-05 14:14:01 +0100 Functions: 96.3 % 82 79 3 6 73
Baseline: lcov-20261105-baseline Branches: 76.6 % 2047 1569 9 3 466 27 1542
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 96.3 % 218 210 1 7 44 166
(360..) days: 88.6 % 2412 2137 1 274 2137
Function coverage date bins:
(30,360] days: 100.0 % 9 9 1 8
(360..) days: 95.9 % 73 70 3 5 65
Branch coverage date bins:
(30,360] days: 84.0 % 144 121 9 14 27 94
(360..) days: 76.1 % 1903 1448 3 452 1448

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
convert_bytea_to_scalar UBC 0 0.0 % (0 / 21) 0.0 % (0 / 6)
convert_one_bytea_to_scalar UBC 0 0.0 % (0 / 17) 0.0 % (0 / 10)
convert_timevalue_to_scalar UBC 0 0.0 % (0 / 19) 0.0 % (0 / 7)
gincost_scalararrayopexpr CBC 5 70.0 % (28 / 40) 50.0 % (10 / 20)
matchingjoinsel CBC 5 100.0 % (2 / 2)
scalargejoinsel CBC 147 100.0 % (2 / 2)
scalarlejoinsel CBC 198 100.0 % (2 / 2)
rowcomparesel CBC 280 100.0 % (13 / 13) 100.0 % (6 / 6)
scalargtjoinsel CBC 305 100.0 % (2 / 2)
hashcostestimate CBC 313 100.0 % (10 / 10)
scalarltjoinsel CBC 355 100.0 % (2 / 2)
booltestsel CBC 801 53.7 % (36 / 67) 43.2 % (16 / 37)
generic_restriction_selectivity CBC 890 67.7 % (21 / 31) 50.0 % (13 / 26)
matchingsel CBC 890 100.0 % (8 / 8)
adjust_statstuple_for_grouping GNC 1167 94.4 % (17 / 18) 71.4 % (10 / 14)
ReleaseDummy CBC 1415 100.0 % (3 / 3)
spgcostestimate CBC 1492 95.5 % (21 / 22) 66.7 % (4 / 6)
gincostestimate CBC 1592 95.5 % (107 / 112) 78.6 % (55 / 70)
gincost_opexpr CBC 1750 61.5 % (8 / 13) 50.0 % (3 / 6)
gincost_pattern CBC 1760 97.1 % (33 / 34) 81.8 % (18 / 22)
neqjoinsel CBC 2462 95.7 % (22 / 23) 85.7 % (12 / 14)
estimate_hashagg_tablesize CBC 2469 100.0 % (5 / 5)
gistcostestimate CBC 3673 100.0 % (21 / 21) 100.0 % (6 / 6)
scalarlesel CBC 3766 100.0 % (2 / 2)
histogram_selectivity CBC 4649 93.3 % (28 / 30) 77.3 % (17 / 22)
convert_string_to_scalar CBC 5155 94.6 % (35 / 37) 88.6 % (39 / 44)
brincostestimate CBC 8944 78.1 % (50 / 64) 44.6 % (25 / 56)
scalargesel CBC 10675 100.0 % (2 / 2)
scalargtsel CBC 11941 100.0 % (2 / 2)
scalarltsel CBC 12410 100.0 % (2 / 2)
nulltestsel CBC 14569 86.2 % (25 / 29) 61.5 % (16 / 26)
convert_one_string_to_scalar CBC 15465 88.9 % (16 / 18) 80.0 % (8 / 10)
convert_string_datum CBC 15465 89.3 % (25 / 28) 80.0 % (8 / 10)
eqjoinsel_semi CBC 16675 89.7 % (35 / 39) 79.5 % (35 / 44)
find_join_input_rel CBC 16675 88.9 % (8 / 9) 50.0 % (4 / 8)
scalararraysel CBC 17741 96.0 % (97 / 101) 82.4 % (89 / 108)
eqjoinsel_find_matches CBC 25077 97.3 % (71 / 73) 85.3 % (29 / 34)
neqsel CBC 29449 100.0 % (2 / 2)
scalarineqsel_wrapper CBC 38792 92.0 % (23 / 25) 83.3 % (15 / 18)
boolvarsel CBC 45092 100.0 % (9 / 9) 100.0 % (6 / 6)
strip_all_phvs_mutator CBC 60357 100.0 % (7 / 7) 100.0 % (4 / 4)
convert_to_scalar CBC 63705 50.0 % (18 / 36) 30.0 % (3 / 10)
get_stats_slot_range CBC 77109 100.0 % (27 / 27) 92.9 % (13 / 14)
estimate_array_length CBC 85261 100.0 % (26 / 26) 83.3 % (25 / 30)
get_actual_variable_endpoint GNC 89100 90.5 % (19 / 21) 40.0 % (4 / 10)
strip_array_coercion CBC 103002 90.0 % (9 / 10) 66.7 % (8 / 12)
mergejoinscansel CBC 105715 89.6 % (112 / 125) 69.4 % (59 / 85)
get_actual_variable_range GNC 128406 82.5 % (47 / 57) 71.8 % (28 / 39)
contain_placeholder_walker CBC 154490 100.0 % (6 / 6) 100.0 % (4 / 4)
estimate_hash_bucket_stats CBC 161001 100.0 % (25 / 25) 85.7 % (24 / 28)
convert_numeric_to_scalar CBC 175650 47.6 % (10 / 21) 44.4 % (4 / 9)
get_variable_range CBC 180414 91.9 % (34 / 37) 84.6 % (22 / 26)
eqjoinsel GNC 225262 97.1 % (66 / 68) 83.0 % (39 / 47)
eqjoinsel_inner CBC 225262 100.0 % (46 / 46) 80.4 % (45 / 56)
get_join_variables CBC 226143 93.3 % (14 / 15) 75.0 % (9 / 12)
var_eq_const CBC 250088 98.1 % (51 / 52) 84.8 % (39 / 46)
ineq_histogram_selectivity CBC 252544 96.7 % (87 / 90) 87.8 % (72 / 82)
mcv_selectivity CBC 253656 92.0 % (23 / 25) 81.2 % (13 / 16)
mcvs_equal CBC 254003 85.7 % (12 / 14) 62.5 % (5 / 8)
scalarineqsel CBC 270212 97.0 % (32 / 33) 82.4 % (28 / 34)
estimate_num_groups CBC 294632 98.0 % (96 / 98) 90.8 % (89 / 98)
estimate_multivariate_ndistinct GNC 301569 98.3 % (113 / 115) 87.7 % (100 / 114)
estimate_multivariate_bucketsize CBC 347514 89.0 % (65 / 73) 75.7 % (53 / 70)
add_unique_group_var CBC 348749 100.0 % (19 / 19) 100.0 % (14 / 14)
var_eq_non_const CBC 369361 100.0 % (21 / 21) 83.3 % (20 / 24)
btcost_correlation CBC 461048 94.1 % (16 / 17) 66.7 % (8 / 12)
eqsel CBC 563828 100.0 % (2 / 2)
eqsel_internal CBC 593277 94.7 % (18 / 19) 91.7 % (11 / 12)
btcostestimate CBC 641757 99.2 % (127 / 128) 92.2 % (83 / 90)
examine_indexcol_variable CBC 643728 69.2 % (18 / 26) 25.0 % (7 / 28)
get_restriction_variable CBC 647373 94.7 % (18 / 19) 92.9 % (13 / 14)
genericcostestimate CBC 647641 100.0 % (56 / 56) 95.8 % (23 / 24)
get_quals_from_indexclauses CBC 658177 100.0 % (8 / 8) 91.7 % (11 / 12)
statistic_proc_security_check CBC 844602 88.9 % (8 / 9) 75.0 % (6 / 8)
hash_mcv CBC 889395 100.0 % (8 / 8) 50.0 % (1 / 2)
add_predicate_to_index_quals CBC 1114963 100.0 % (10 / 10) 90.0 % (9 / 10)
index_other_operands_eval_cost CBC 1305808 95.2 % (20 / 21) 83.3 % (15 / 18)
all_rows_selectable CBC 1310036 92.5 % (49 / 53) 79.2 % (38 / 48)
get_variable_numdistinct CBC 1393732 100.0 % (40 / 40) 100.0 % (27 / 27)
examine_simple_variable GNC 1917645 86.4 % (70 / 81) 62.5 % (60 / 96)
examine_variable CBC 2669618 92.1 % (93 / 101) 74.6 % (85 / 114)
strip_all_phvs_deep CBC 2669618 100.0 % (6 / 6) 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1