LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - varlena.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 91.1 % 1930 1758 172 23 1735 24
Current Date: 2026-10-12 11:56:10 +0200 Functions: 92.5 % 147 136 11 7 129
Baseline: lcov-20261012-baseline Branches: 72.6 % 1191 865 2 324 4 861
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 5 5 5
(30,360] days: 93.3 % 120 112 8 18 94
(360..) days: 90.9 % 1805 1641 164 1641
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: 78.2 % 78 61 2 15 4 57
(360..) days: 72.2 % 1113 804 309 804

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 22014 82.3 % (79 / 96) 62.5 % (45 / 72)
unistr CBC 47 85.5 % (71 / 83) 74.4 % (58 / 78)
text_format_parse_format CBC 45511 96.7 % (29 / 30) 62.5 % (25 / 40)
text_substring CBC 396772 86.9 % (53 / 61) 74.0 % (37 / 50)
varstr_abbrev_convert GNC 501111 78.7 % (37 / 47) 57.1 % (16 / 28)
varstr_abbrev_abort CBC 1418 66.7 % (14 / 21) 45.0 % (9 / 20)
SplitDirectoriesString CBC 1082 75.0 % (27 / 36) 64.3 % (18 / 28)
text_position_next CBC 6014 60.9 % (14 / 23) 37.5 % (6 / 16)
updateClosestMatch CBC 435 86.7 % (13 / 15) 54.5 % (12 / 22)
string_agg_combine CBC 160 77.8 % (14 / 18) 50.0 % (8 / 16)
pg_column_compression CBC 150 84.0 % (21 / 25) 53.3 % (8 / 15)
textToQualifiedNameList CBC 3121 84.6 % (11 / 13) 50.0 % (7 / 14)
varstr_cmp CBC 6394743 80.0 % (12 / 15) 68.2 % (15 / 22)
hexval CBC 358 87.5 % (7 / 8) 57.1 % (8 / 14)
pg_column_size CBC 76 75.0 % (12 / 16) 40.0 % (4 / 10)
text_overlay CBC 28 80.0 % (8 / 10) 25.0 % (2 / 8)
text_starts_with CBC 25276 88.9 % (16 / 18) 40.0 % (4 / 10)
textnename CBC 12 85.7 % (12 / 14) 25.0 % (2 / 8)
array_to_text_internal CBC 44063 93.9 % (46 / 49) 84.4 % (27 / 32)
replace_text_regexp CBC 12401 94.2 % (49 / 52) 82.1 % (23 / 28)
text_format_append_string CBC 45471 95.0 % (19 / 20) 68.8 % (11 / 16)
text_format_parse_digits CBC 90998 92.9 % (13 / 14) 64.3 % (9 / 14)
text_position_next_internal GNC 6014 97.9 % (47 / 48) 86.1 % (31 / 36)
SplitGUCList CBC 5376 83.3 % (20 / 24) 75.0 % (12 / 16)
namenetext CBC 27 92.9 % (13 / 14) 50.0 % (4 / 8)
pg_column_toast_chunk_id GNC 213 87.5 % (14 / 16) 60.0 % (6 / 10)
rest_of_char_same UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
textne CBC 207948 100.0 % (22 / 22) 66.7 % (8 / 12)
unicode_norm_form_from_string CBC 209 92.9 % (13 / 14) 71.4 % (10 / 14)
varstrfastcmp_locale CBC 22970240 96.8 % (30 / 31) 86.7 % (26 / 30)
appendStringInfoRegexpSubstr GNC 174 100.0 % (39 / 39) 87.5 % (21 / 24)
build_concat_foutcache CBC 70 90.9 % (10 / 11) 50.0 % (3 / 6)
makeStringAggState CBC 1635 85.7 % (6 / 7) 25.0 % (1 / 4)
pg_mbcharcliplen_chars CBC 396638 100.0 % (13 / 13) 75.0 % (9 / 12)
replace_text CBC 976 96.8 % (30 / 31) 75.0 % (9 / 12)
split_text CBC 192 100.0 % (48 / 48) 87.5 % (21 / 24)
text_position_setup CBC 1243 97.6 % (41 / 42) 89.3 % (25 / 28)
text_reverse CBC 29 88.2 % (15 / 17) 50.0 % (3 / 6)
text_to_cstring_buffer CBC 727 84.6 % (11 / 13) 50.0 % (3 / 6)
unicode_assigned CBC 10 92.3 % (12 / 13) 62.5 % (5 / 8)
array_to_text_null CBC 8 88.9 % (8 / 9) 66.7 % (4 / 6)
bpcharfastcmp_c CBC 34255 86.7 % (13 / 15) 80.0 % (8 / 10)
bttext_pattern_cmp CBC 18 100.0 % (7 / 7) 50.0 % (2 / 4)
concat_internal CBC 175 100.0 % (24 / 24) 87.5 % (14 / 16)
convert_to_base CBC 20389 100.0 % (10 / 10) 75.0 % (6 / 8)
initClosestMatch CBC 45 100.0 % (8 / 8) 50.0 % (2 / 4)
levenshtein_result CBC 1938 100.0 % (4 / 4) 75.0 % (6 / 8)
split_part CBC 124 100.0 % (52 / 52) 94.7 % (36 / 38)
text_catenate CBC 1376692 87.5 % (14 / 16) 75.0 % (6 / 8)
text_format_string_conversion CBC 45475 100.0 % (18 / 18) 85.7 % (12 / 14)
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)
texteq CBC 5285431 100.0 % (23 / 23) 83.3 % (10 / 12)
texteqname CBC 5402 100.0 % (14 / 14) 75.0 % (6 / 8)
unicode_normalize_func CBC 115 100.0 % (25 / 25) 80.0 % (8 / 10)
varstrfastcmp_c CBC 25982451 86.7 % (13 / 15) 80.0 % (8 / 10)
SplitIdentifierString CBC 107229 100.0 % (25 / 25) 93.8 % (15 / 16)
btnametextcmp CBC 192161 100.0 % (7 / 7) 50.0 % (1 / 2)
bttextnamecmp CBC 22 100.0 % (7 / 7) 50.0 % (1 / 2)
check_collation_set CBC 12356501 100.0 % (4 / 4) 75.0 % (3 / 4)
check_replace_text_has_escape CBC 12401 100.0 % (15 / 15) 90.0 % (9 / 10)
getClosestMatch CBC 45 100.0 % (3 / 3) 50.0 % (1 / 2)
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)
nameeqtext CBC 346667 100.0 % (14 / 14) 87.5 % (7 / 8)
scan_identifier CBC 152192 100.0 % (16 / 16) 92.9 % (13 / 14)
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 688137 100.0 % (17 / 17) 91.7 % (11 / 12)
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_lt CBC 232134 100.0 % (7 / 7) 75.0 % (3 / 4)
text_position CBC 87 100.0 % (14 / 14) 87.5 % (7 / 8)
unicode_is_normalized CBC 94 100.0 % (24 / 24) 92.9 % (13 / 14)
varstr_sortsupport GNC 84508 95.5 % (42 / 44) 94.4 % (17 / 18)
bttextcmp CBC 3991103 100.0 % (7 / 7) 100.0 % (4 / 4)
charlen_to_bytelen CBC 11694 100.0 % (6 / 6) 100.0 % (4 / 4)
hexval_n CBC 64 100.0 % (5 / 5) 100.0 % (2 / 2)
isxdigits_n CBC 111 100.0 % (5 / 5) 100.0 % (4 / 4)
scan_quoted_identifier CBC 25940 100.0 % (11 / 11) 100.0 % (4 / 4)
split_text_accum_result CBC 701 100.0 % (10 / 10) 100.0 % (6 / 6)
text_concat CBC 123 100.0 % (5 / 5) 100.0 % (2 / 2)
text_concat_ws CBC 56 100.0 % (8 / 8) 100.0 % (4 / 4)
text_larger CBC 145885 100.0 % (5 / 5) 100.0 % (2 / 2)
text_le CBC 213810 100.0 % (7 / 7) 100.0 % (4 / 4)
text_left CBC 1437 100.0 % (10 / 10) 100.0 % (2 / 2)
text_length CBC 286211 100.0 % (5 / 5) 100.0 % (2 / 2)
text_name CBC 17755 100.0 % (8 / 8) 100.0 % (2 / 2)
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_to_array CBC 136 100.0 % (7 / 7) 100.0 % (4 / 4)
text_to_cstring CBC 10711045 100.0 % (9 / 9) 100.0 % (2 / 2)
varlenafastcmp_locale CBC 22970240 100.0 % (13 / 13) 100.0 % (4 / 4)
appendStringInfoText CBC 1366017 100.0 % (3 / 3)
array_to_text CBC 44043 100.0 % (4 / 4)
bttext_pattern_sortsupport CBC 77 100.0 % (6 / 6)
bttextsortsupport CBC 50213 100.0 % (7 / 7)
btvarstrequalimage CBC 5157 100.0 % (5 / 5)
cstring_to_text CBC 15903578 100.0 % (2 / 2)
cstring_to_text_with_len CBC 17449877 100.0 % (5 / 5)
name_text CBC 424485 100.0 % (3 / 3)
namefastcmp_c CBC 29713325 100.0 % (4 / 4)
namefastcmp_locale UBC 0 0.0 % (0 / 5)
namegetext CBC 63853 100.0 % (2 / 2)
namegttext UBC 0 0.0 % (0 / 2)
nameletext UBC 0 0.0 % (0 / 2)
namelttext CBC 67995 100.0 % (2 / 2)
text_cmp CBC 4972600 100.0 % (6 / 6)
text_format_nv CBC 1910 100.0 % (2 / 2)
text_isequal CBC 306 100.0 % (2 / 2)
text_position_cleanup CBC 1243 100.0 % (2 / 2)
text_position_get_match_pos CBC 50 100.0 % (5 / 5)
text_position_get_match_ptr CBC 4748 100.0 % (2 / 2)
text_position_reset CBC 14 100.0 % (5 / 5)
text_substr CBC 369963 100.0 % (2 / 2)
text_substr_no_len CBC 65 100.0 % (2 / 2)
text_to_array_null CBC 50 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 1376636 100.0 % (4 / 4)
textgename UBC 0 0.0 % (0 / 2)
textgtname UBC 0 0.0 % (0 / 2)
textin CBC 13585167 100.0 % (3 / 3)
textlen CBC 286201 100.0 % (3 / 3)
textlename UBC 0 0.0 % (0 / 2)
textltname UBC 0 0.0 % (0 / 2)
textoctetlen CBC 45 100.0 % (3 / 3)
textout CBC 4447276 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_version CBC 22 100.0 % (2 / 2)
unknownin UBC 0 0.0 % (0 / 3)
unknownout CBC 699 100.0 % (3 / 3)
unknownrecv UBC 0 0.0 % (0 / 4)
unknownsend UBC 0 0.0 % (0 / 5)

Generated by: LCOV version 2.0-1