LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - varlena.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GIC GNC CBC EUB ECB DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 90.4 % 1937 1752 2 4 179 8 46 1698 1 21 416
Current Date: 2026-03-14 14:10:32 -0400 Functions: 92.4 % 144 133 11 1 20 112 41
Baseline: lcov-20260315-024220-baseline Branches: 71.7 % 1195 857 7 8 323 5 2 15 835 470 252 357 339
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 20 20 20
(30,360] days: 91.8 % 73 67 2 4 26 41
(360..) days: 90.3 % 1844 1665 4 175 8 20 1637 1
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 4 4 1 3
(360..) days: 92.1 % 139 128 11 1 19 108
Branch coverage date bins:
(7,30] days: 68.2 % 22 15 3 15 4
(30,360] days: 43.8 % 64 28 3 9 11 17 15 9
(360..) days: 44.5 % 1831 814 4 8 311 5 2 4 803 455 239

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 CBC 16600 82.3 % (79 / 96) 62.5 % (45 / 72)
SplitDirectoriesString GNC 990 64.3 % (27 / 42) 60.0 % (18 / 30)
unistr GNC 33 85.5 % (71 / 83) 74.4 % (58 / 78)
varstr_abbrev_convert GNC 422572 79.2 % (38 / 48) 57.1 % (16 / 28)
text_position_next CBC 5048 60.9 % (14 / 23) 37.5 % (6 / 16)
text_substring CBC 351530 86.9 % (53 / 61) 74.0 % (37 / 50)
varstr_abbrev_abort GNC 1201 66.7 % (14 / 21) 45.0 % (9 / 20)
rest_of_char_same UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
SplitGUCList GNC 3800 86.8 % (33 / 38) 78.6 % (22 / 28)
namefastcmp_locale UBC 0 0.0 % (0 / 5)
pg_column_size CBC 61 68.8 % (11 / 16) 30.0 % (3 / 10)
unknownsend UBC 0 0.0 % (0 / 5)
pg_column_compression GNC 96 84.0 % (21 / 25) 53.3 % (8 / 15)
string_agg_combine CBC 120 77.8 % (14 / 18) 50.0 % (8 / 16)
unknownrecv UBC 0 0.0 % (0 / 4)
array_to_text_internal GNC 39052 93.9 % (46 / 49) 84.4 % (27 / 32)
replace_text_regexp CBC 9417 94.2 % (49 / 52) 82.1 % (23 / 28)
unknownin UBC 0 0.0 % (0 / 3)
varstr_cmp CBC 5285589 80.0 % (12 / 15) 68.2 % (15 / 22)
SplitIdentifierString GNC 90967 95.5 % (42 / 44) 90.0 % (27 / 30)
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)
namenetext CBC 9 85.7 % (12 / 14) 25.0 % (2 / 8)
pg_column_toast_chunk_id GNC 26 87.5 % (14 / 16) 57.1 % (8 / 14)
textToQualifiedNameList CBC 2716 84.6 % (11 / 13) 50.0 % (7 / 14)
text_catenate CBC 1133033 87.5 % (14 / 16) 75.0 % (6 / 8)
text_overlay CBC 20 80.0 % (8 / 10) 25.0 % (2 / 8)
text_reverse CBC 21 88.2 % (15 / 17) 50.0 % (3 / 6)
text_starts_with GNC 18957 88.9 % (16 / 18) 40.0 % (4 / 10)
text_to_cstring_buffer CBC 503 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 9 85.7 % (12 / 14) 25.0 % (2 / 8)
updateClosestMatch CBC 402 86.7 % (13 / 15) 54.5 % (12 / 22)
varlenafastcmp_locale CBC 15372356 84.6 % (11 / 13) 50.0 % (2 / 4)
varstr_sortsupport GNC 72203 95.5 % (42 / 44) 94.4 % (17 / 18)
varstrfastcmp_c CBC 24922029 86.7 % (13 / 15) 80.0 % (8 / 10)
array_to_text_null CBC 6 88.9 % (8 / 9) 66.7 % (4 / 6)
build_concat_foutcache CBC 53 90.9 % (10 / 11) 50.0 % (3 / 6)
hexval CBC 252 87.5 % (7 / 8) 57.1 % (8 / 14)
icu_unicode_version GNC 1 80.0 % (4 / 5) 50.0 % (1 / 2)
internal_text_pattern_compare CBC 80222 90.9 % (10 / 11) 83.3 % (5 / 6)
makeStringAggState CBC 1217 85.7 % (6 / 7) 25.0 % (1 / 4)
replace_text CBC 810 96.8 % (30 / 31) 75.0 % (9 / 12)
text_format_append_string CBC 32887 95.0 % (19 / 20) 68.8 % (11 / 16)
text_format_parse_digits CBC 65816 92.9 % (13 / 14) 64.3 % (9 / 14)
text_format_parse_format CBC 32917 96.7 % (29 / 30) 62.5 % (25 / 40)
text_position_next_internal CBC 5048 97.9 % (47 / 48) 86.1 % (31 / 36)
text_position_setup CBC 991 97.6 % (41 / 42) 89.3 % (25 / 28)
unicode_assigned GNC 6 92.3 % (12 / 13) 62.5 % (5 / 8)
unicode_norm_form_from_string CBC 105 92.9 % (13 / 14) 71.4 % (10 / 14)
varstrfastcmp_locale CBC 15372356 96.8 % (30 / 31) 86.7 % (26 / 30)
appendStringInfoRegexpSubstr CBC 127 100.0 % (39 / 39) 87.5 % (21 / 24)
appendStringInfoText CBC 1087956 100.0 % (3 / 3)
array_to_text CBC 39037 100.0 % (4 / 4)
btnametextcmp CBC 81321 100.0 % (7 / 7) 50.0 % (1 / 2)
bttext_pattern_cmp GNC 12 100.0 % (7 / 7) 50.0 % (2 / 4)
bttext_pattern_sortsupport GNC 58 100.0 % (6 / 6)
bttextcmp CBC 3483528 100.0 % (7 / 7) 100.0 % (4 / 4)
bttextnamecmp GBC 22 100.0 % (7 / 7) 50.0 % (1 / 2)
bttextsortsupport CBC 44946 100.0 % (7 / 7)
btvarstrequalimage GNC 4627 100.0 % (5 / 5)
charlen_to_bytelen CBC 8708 100.0 % (6 / 6) 100.0 % (4 / 4)
check_collation_set CBC 9118149 100.0 % (4 / 4) 75.0 % (3 / 4)
check_replace_text_has_escape CBC 9417 100.0 % (15 / 15) 90.0 % (9 / 10)
concat_internal CBC 132 100.0 % (24 / 24) 87.5 % (14 / 16)
convert_to_base CBC 19375 100.0 % (10 / 10) 75.0 % (6 / 8)
cstring_to_text CBC 13144771 100.0 % (2 / 2)
cstring_to_text_with_len CBC 14513841 100.0 % (5 / 5)
getClosestMatch CBC 39 100.0 % (3 / 3) 50.0 % (1 / 2)
hexval_n CBC 45 100.0 % (5 / 5) 100.0 % (2 / 2)
initClosestMatch CBC 39 100.0 % (8 / 8) 50.0 % (2 / 4)
isxdigits_n CBC 78 100.0 % (5 / 5) 100.0 % (4 / 4)
name_text CBC 327841 100.0 % (3 / 3)
nameeqtext CBC 124839 100.0 % (14 / 14) 87.5 % (7 / 8)
namefastcmp_c CBC 24122837 100.0 % (4 / 4)
namegetext CBC 36143 100.0 % (2 / 2)
namelttext CBC 38885 100.0 % (2 / 2)
pg_mbcharcliplen_chars CBC 351463 100.0 % (13 / 13) 75.0 % (9 / 12)
split_part CBC 75 100.0 % (52 / 52) 94.7 % (36 / 38)
split_text CBC 127 100.0 % (48 / 48) 87.5 % (21 / 24)
split_text_accum_result CBC 467 100.0 % (10 / 10) 100.0 % (6 / 6)
string_agg_deserialize CBC 120 100.0 % (12 / 12) 50.0 % (1 / 2)
string_agg_finalfn CBC 1049 100.0 % (6 / 6) 83.3 % (5 / 6)
string_agg_serialize CBC 120 100.0 % (8 / 8) 50.0 % (1 / 2)
string_agg_transfn CBC 547573 100.0 % (17 / 17) 91.7 % (11 / 12)
text_cmp CBC 4293564 100.0 % (6 / 6)
text_concat CBC 93 100.0 % (5 / 5) 100.0 % (2 / 2)
text_concat_ws CBC 42 100.0 % (8 / 8) 100.0 % (4 / 4)
text_format_nv CBC 1905 100.0 % (2 / 2)
text_format_string_conversion CBC 32890 100.0 % (18 / 18) 85.7 % (12 / 14)
text_ge CBC 88250 100.0 % (7 / 7) 75.0 % (3 / 4)
text_gt CBC 198054 100.0 % (7 / 7) 75.0 % (3 / 4)
text_isequal CBC 192 100.0 % (2 / 2)
text_larger CBC 114780 100.0 % (5 / 5) 100.0 % (2 / 2)
text_le CBC 158888 100.0 % (7 / 7) 100.0 % (4 / 4)
text_left CBC 1074 100.0 % (10 / 10) 100.0 % (2 / 2)
text_length GNC 215482 100.0 % (5 / 5) 100.0 % (2 / 2)
text_lt CBC 204834 100.0 % (7 / 7) 75.0 % (3 / 4)
text_name CBC 15457 100.0 % (8 / 8) 100.0 % (2 / 2)
text_pattern_ge CBC 18767 100.0 % (7 / 7) 50.0 % (2 / 4)
text_pattern_gt GNC 18755 100.0 % (7 / 7) 50.0 % (2 / 4)
text_pattern_le CBC 18755 100.0 % (7 / 7) 50.0 % (2 / 4)
text_pattern_lt CBC 23933 100.0 % (7 / 7) 50.0 % (2 / 4)
text_position CBC 68 100.0 % (14 / 14) 87.5 % (7 / 8)
text_position_cleanup CBC 991 100.0 % (2 / 2)
text_position_get_match_pos CBC 39 100.0 % (5 / 5)
text_position_get_match_ptr CBC 4048 100.0 % (2 / 2)
text_position_reset CBC 6 100.0 % (5 / 5)
text_right CBC 33 100.0 % (10 / 10) 100.0 % (2 / 2)
text_smaller CBC 43038 100.0 % (5 / 5) 100.0 % (2 / 2)
text_substr CBC 331456 100.0 % (2 / 2)
text_substr_no_len CBC 18 100.0 % (2 / 2)
text_to_array CBC 85 100.0 % (7 / 7) 100.0 % (4 / 4)
text_to_array_null CBC 30 100.0 % (2 / 2)
text_to_cstring CBC 9653246 100.0 % (9 / 9) 100.0 % (2 / 2)
text_to_table CBC 42 100.0 % (8 / 8)
text_to_table_null CBC 12 100.0 % (2 / 2)
textcat CBC 1132993 100.0 % (4 / 4)
texteq CBC 3402656 100.0 % (23 / 23) 75.0 % (9 / 12)
texteqname CBC 3889 100.0 % (14 / 14) 75.0 % (6 / 8)
textin CBC 11372424 100.0 % (3 / 3)
textlen CBC 215476 100.0 % (3 / 3)
textne CBC 204312 100.0 % (22 / 22) 66.7 % (8 / 12)
textoctetlen CBC 35 100.0 % (3 / 3)
textout CBC 4557788 100.0 % (3 / 3)
textoverlay CBC 14 100.0 % (6 / 6)
textoverlay_no_len CBC 6 100.0 % (6 / 6)
textpos CBC 68 100.0 % (4 / 4)
textrecv CBC 24 100.0 % (6 / 6)
textsend CBC 2353 100.0 % (5 / 5)
to_bin32 CBC 6 100.0 % (3 / 3)
to_bin64 CBC 6 100.0 % (3 / 3)
to_hex32 CBC 19345 100.0 % (3 / 3)
to_hex64 CBC 6 100.0 % (3 / 3)
to_oct32 CBC 6 100.0 % (3 / 3)
to_oct64 CBC 6 100.0 % (3 / 3)
unicode_is_normalized GNC 69 100.0 % (24 / 24) 92.9 % (13 / 14)
unicode_normalize_func GNC 36 100.0 % (25 / 25) 80.0 % (8 / 10)
unicode_version CBC 17 100.0 % (2 / 2)
unknownout CBC 469 100.0 % (3 / 3)

Generated by: LCOV version 2.4-beta