LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - varlena.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 91.1 % 1930 1758 172 23 1735 24
Current Date: 2026-11-05 14:14:01 +0100 Functions: 92.5 % 147 136 11 7 129
Baseline: lcov-20261105-baseline Branches: 72.5 % 1191 864 2 1 324 4 860
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: 93.9 % 114 107 7 23 84
(360..) days: 90.9 % 1816 1651 165 1651
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 92.3 % 143 132 11 7 125
Branch coverage date bins:
(30,360] days: 75.7 % 70 53 2 15 4 49
(360..) days: 72.3 % 1121 811 1 309 811

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
text_format GNC 22003 82.3 % (79 / 96) 62.5 % (45 / 72)
unistr CBC 47 85.5 % (71 / 83) 74.4 % (58 / 78)
varstr_abbrev_convert GNC 501334 78.7 % (37 / 47) 57.1 % (16 / 28)
SplitDirectoriesString CBC 1121 75.0 % (27 / 36) 64.3 % (18 / 28)
text_position_next CBC 6091 60.9 % (14 / 23) 37.5 % (6 / 16)
text_substring CBC 397183 86.9 % (53 / 61) 74.0 % (37 / 50)
varstr_abbrev_abort CBC 1423 66.7 % (14 / 21) 45.0 % (9 / 20)
rest_of_char_same UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
namefastcmp_locale UBC 0 0.0 % (0 / 5)
unknownsend UBC 0 0.0 % (0 / 5)
SplitGUCList CBC 5449 83.3 % (20 / 24) 75.0 % (12 / 16)
pg_column_compression CBC 150 84.0 % (21 / 25) 53.3 % (8 / 15)
pg_column_size CBC 76 75.0 % (12 / 16) 40.0 % (4 / 10)
string_agg_combine CBC 160 77.8 % (14 / 18) 50.0 % (8 / 16)
unknownrecv UBC 0 0.0 % (0 / 4)
array_to_text_internal CBC 44151 93.9 % (46 / 49) 84.4 % (27 / 32)
replace_text_regexp CBC 12410 94.2 % (49 / 52) 82.1 % (23 / 28)
unknownin UBC 0 0.0 % (0 / 3)
varstr_cmp CBC 6321721 80.0 % (12 / 15) 68.2 % (15 / 22)
bpcharfastcmp_c CBC 31934 86.7 % (13 / 15) 70.0 % (7 / 10)
namegttext UBC 0 0.0 % (0 / 2)
nameletext UBC 0 0.0 % (0 / 2)
pg_column_toast_chunk_id GNC 213 87.5 % (14 / 16) 60.0 % (6 / 10)
textToQualifiedNameList CBC 3125 84.6 % (11 / 13) 50.0 % (7 / 14)
text_catenate CBC 1378372 87.5 % (14 / 16) 75.0 % (6 / 8)
text_overlay CBC 28 80.0 % (8 / 10) 25.0 % (2 / 8)
text_reverse CBC 29 88.2 % (15 / 17) 50.0 % (3 / 6)
text_starts_with CBC 25276 88.9 % (16 / 18) 40.0 % (4 / 10)
text_to_cstring_buffer CBC 727 84.6 % (11 / 13) 50.0 % (3 / 6)
textgename UBC 0 0.0 % (0 / 2)
textgtname UBC 0 0.0 % (0 / 2)
textlename UBC 0 0.0 % (0 / 2)
textltname UBC 0 0.0 % (0 / 2)
textnename CBC 12 85.7 % (12 / 14) 25.0 % (2 / 8)
updateClosestMatch CBC 430 86.7 % (13 / 15) 54.5 % (12 / 22)
varstr_sortsupport GNC 84695 95.5 % (42 / 44) 94.4 % (17 / 18)
varstrfastcmp_c CBC 25892844 86.7 % (13 / 15) 80.0 % (8 / 10)
array_to_text_null CBC 8 88.9 % (8 / 9) 66.7 % (4 / 6)
build_concat_foutcache CBC 74 90.9 % (10 / 11) 50.0 % (3 / 6)
hexval CBC 358 87.5 % (7 / 8) 57.1 % (8 / 14)
icu_unicode_version CBC 1 80.0 % (4 / 5) 50.0 % (1 / 2)
internal_text_pattern_compare CBC 107164 90.9 % (10 / 11) 83.3 % (5 / 6)
makeStringAggState CBC 1635 85.7 % (6 / 7) 25.0 % (1 / 4)
namenetext CBC 27 92.9 % (13 / 14) 50.0 % (4 / 8)
replace_text CBC 986 96.8 % (30 / 31) 75.0 % (9 / 12)
text_format_append_string CBC 45460 95.0 % (19 / 20) 68.8 % (11 / 16)
text_format_parse_digits CBC 90976 92.9 % (13 / 14) 64.3 % (9 / 14)
text_format_parse_format CBC 45500 96.7 % (29 / 30) 62.5 % (25 / 40)
text_position_next_internal GNC 6091 97.9 % (47 / 48) 86.1 % (31 / 36)
text_position_setup CBC 1253 97.6 % (41 / 42) 89.3 % (25 / 28)
unicode_assigned CBC 10 92.3 % (12 / 13) 62.5 % (5 / 8)
unicode_norm_form_from_string CBC 209 92.9 % (13 / 14) 71.4 % (10 / 14)
varstrfastcmp_locale CBC 22865104 96.8 % (30 / 31) 86.7 % (26 / 30)
SplitIdentifierString CBC 107756 100.0 % (25 / 25) 93.8 % (15 / 16)
appendStringInfoRegexpSubstr GNC 174 100.0 % (39 / 39) 87.5 % (21 / 24)
appendStringInfoText CBC 1367540 100.0 % (3 / 3)
array_to_text CBC 44131 100.0 % (4 / 4)
btnametextcmp CBC 191433 100.0 % (7 / 7) 50.0 % (1 / 2)
bttext_pattern_cmp CBC 18 100.0 % (7 / 7) 50.0 % (2 / 4)
bttext_pattern_sortsupport CBC 77 100.0 % (6 / 6)
bttextcmp CBC 3972226 100.0 % (7 / 7) 100.0 % (4 / 4)
bttextnamecmp CBC 22 100.0 % (7 / 7) 50.0 % (1 / 2)
bttextsortsupport CBC 50387 100.0 % (7 / 7)
btvarstrequalimage CBC 5217 100.0 % (5 / 5)
charlen_to_bytelen CBC 11710 100.0 % (6 / 6) 100.0 % (4 / 4)
check_collation_set CBC 12272112 100.0 % (4 / 4) 75.0 % (3 / 4)
check_replace_text_has_escape CBC 12410 100.0 % (15 / 15) 90.0 % (9 / 10)
concat_internal CBC 179 100.0 % (24 / 24) 87.5 % (14 / 16)
convert_to_base CBC 20389 100.0 % (10 / 10) 75.0 % (6 / 8)
cstring_to_text CBC 15921204 100.0 % (2 / 2)
cstring_to_text_with_len CBC 17474550 100.0 % (5 / 5)
getClosestMatch CBC 45 100.0 % (3 / 3) 50.0 % (1 / 2)
hexval_n CBC 64 100.0 % (5 / 5) 100.0 % (2 / 2)
initClosestMatch CBC 45 100.0 % (8 / 8) 50.0 % (2 / 4)
isxdigits_n CBC 111 100.0 % (5 / 5) 100.0 % (4 / 4)
levenshtein_result CBC 1933 100.0 % (4 / 4) 75.0 % (6 / 8)
name_text CBC 425328 100.0 % (3 / 3)
nameeqtext CBC 329168 100.0 % (14 / 14) 87.5 % (7 / 8)
namefastcmp_c CBC 28625652 100.0 % (4 / 4)
namegetext CBC 63403 100.0 % (2 / 2)
namelttext CBC 67278 100.0 % (2 / 2)
pg_mbcharcliplen_chars CBC 397049 100.0 % (13 / 13) 75.0 % (9 / 12)
scan_identifier CBC 152897 100.0 % (16 / 16) 92.9 % (13 / 14)
scan_quoted_identifier CBC 25841 100.0 % (11 / 11) 100.0 % (4 / 4)
split_part CBC 124 100.0 % (52 / 52) 94.7 % (36 / 38)
split_text CBC 192 100.0 % (48 / 48) 87.5 % (21 / 24)
split_text_accum_result CBC 701 100.0 % (10 / 10) 100.0 % (6 / 6)
string_agg_deserialize GNC 160 100.0 % (12 / 12) 50.0 % (1 / 2)
string_agg_finalfn CBC 1411 100.0 % (6 / 6) 83.3 % (5 / 6)
string_agg_serialize CBC 160 100.0 % (8 / 8) 50.0 % (1 / 2)
string_agg_transfn CBC 688861 100.0 % (17 / 17) 91.7 % (11 / 12)
text_cmp CBC 4958658 100.0 % (6 / 6)
text_concat CBC 127 100.0 % (5 / 5) 100.0 % (2 / 2)
text_concat_ws CBC 56 100.0 % (8 / 8) 100.0 % (4 / 4)
text_format_nv CBC 1910 100.0 % (2 / 2)
text_format_string_conversion CBC 45464 100.0 % (18 / 18) 85.7 % (12 / 14)
text_ge CBC 116818 100.0 % (7 / 7) 75.0 % (3 / 4)
text_gt CBC 215858 100.0 % (7 / 7) 75.0 % (3 / 4)
text_isequal CBC 306 100.0 % (2 / 2)
text_larger CBC 145885 100.0 % (5 / 5) 100.0 % (2 / 2)
text_le CBC 213809 100.0 % (7 / 7) 100.0 % (4 / 4)
text_left CBC 1440 100.0 % (10 / 10) 100.0 % (2 / 2)
text_length CBC 286212 100.0 % (5 / 5) 100.0 % (2 / 2)
text_lt CBC 237070 100.0 % (7 / 7) 75.0 % (3 / 4)
text_name CBC 17765 100.0 % (8 / 8) 100.0 % (2 / 2)
text_pattern_ge CBC 25022 100.0 % (7 / 7) 50.0 % (2 / 4)
text_pattern_gt CBC 25006 100.0 % (7 / 7) 50.0 % (2 / 4)
text_pattern_le CBC 25006 100.0 % (7 / 7) 50.0 % (2 / 4)
text_pattern_lt CBC 32112 100.0 % (7 / 7) 50.0 % (2 / 4)
text_position CBC 87 100.0 % (14 / 14) 87.5 % (7 / 8)
text_position_cleanup CBC 1253 100.0 % (2 / 2)
text_position_get_match_pos CBC 50 100.0 % (5 / 5)
text_position_get_match_ptr CBC 4815 100.0 % (2 / 2)
text_position_reset CBC 14 100.0 % (5 / 5)
text_right CBC 49 100.0 % (12 / 12) 100.0 % (4 / 4)
text_smaller CBC 50562 100.0 % (5 / 5) 100.0 % (2 / 2)
text_substr CBC 370371 100.0 % (2 / 2)
text_substr_no_len CBC 65 100.0 % (2 / 2)
text_to_array CBC 136 100.0 % (7 / 7) 100.0 % (4 / 4)
text_to_array_null CBC 50 100.0 % (2 / 2)
text_to_cstring CBC 10739893 100.0 % (9 / 9) 100.0 % (2 / 2)
text_to_table CBC 56 100.0 % (8 / 8)
text_to_table_null CBC 16 100.0 % (2 / 2)
textcat CBC 1378316 100.0 % (4 / 4)
texteq CBC 5291267 100.0 % (23 / 23) 83.3 % (10 / 12)
texteqname CBC 5425 100.0 % (14 / 14) 75.0 % (6 / 8)
textin CBC 13595676 100.0 % (3 / 3)
textlen CBC 286202 100.0 % (3 / 3)
textne CBC 207964 100.0 % (22 / 22) 66.7 % (8 / 12)
textoctetlen CBC 45 100.0 % (3 / 3)
textout CBC 4450408 100.0 % (3 / 3)
textoverlay CBC 18 100.0 % (6 / 6)
textoverlay_no_len CBC 10 100.0 % (6 / 6)
textpos CBC 87 100.0 % (4 / 4)
textrecv CBC 27 100.0 % (6 / 6)
textsend CBC 2964 100.0 % (5 / 5)
to_bin32 CBC 10 100.0 % (3 / 3)
to_bin64 CBC 10 100.0 % (3 / 3)
to_hex32 CBC 20339 100.0 % (3 / 3)
to_hex64 CBC 10 100.0 % (3 / 3)
to_oct32 CBC 10 100.0 % (3 / 3)
to_oct64 CBC 10 100.0 % (3 / 3)
unicode_is_normalized CBC 94 100.0 % (24 / 24) 92.9 % (13 / 14)
unicode_normalize_func CBC 115 100.0 % (25 / 25) 80.0 % (8 / 10)
unicode_version CBC 22 100.0 % (2 / 2)
unknownout CBC 703 100.0 % (3 / 3)
varlenafastcmp_locale CBC 22865104 100.0 % (13 / 13) 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1