LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - pg_locale.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DCB
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 79.9 % 553 442 111 16 426 8
Current Date: 2026-08-27 14:31:44 +0300 Functions: 87.3 % 55 48 7 4 44
Baseline: lcov-20260827-baseline Branches: 57.0 % 449 256 4 189 4 252
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 47 47 16 31
(30,360] days: 59.0 % 122 72 50 72
(360..) days: 84.1 % 384 323 61 323
Function coverage date bins:
(30,360] days: 72.0 % 25 18 7 4 14
(360..) days: 100.0 % 30 30 30
Branch coverage date bins:
(1,7] days: 88.2 % 34 30 4 4 26
(30,360] days: 43.4 % 152 66 86 66
(360..) days: 60.8 % 263 160 103 160

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
create_pg_locale CBC 232 82.8 % (24 / 29) 52.5 % (21 / 40)
init_database_collation CBC 17334 89.5 % (17 / 19) 56.7 % (17 / 30)
pg_iswxdigit CBC 12 42.9 % (3 / 7) 7.1 % (1 / 14)
PGLC_localeconv CBC 1786 87.0 % (47 / 54) 50.0 % (10 / 20)
cache_locale_time CBC 33297 86.5 % (45 / 52) 64.3 % (18 / 28)
check_locale CBC 44818 63.6 % (14 / 22) 58.3 % (14 / 24)
icu_validate_locale CBC 109 85.2 % (23 / 27) 68.8 % (22 / 32)
struct_lconv_is_valid CBC 35 54.5 % (12 / 22) 50.0 % (10 / 20)
pg_iswgraph UBC 0 0.0 % (0 / 5) 0.0 % (0 / 6)
pg_iswlower UBC 0 0.0 % (0 / 5) 0.0 % (0 / 6)
pg_iswprint UBC 0 0.0 % (0 / 5) 0.0 % (0 / 6)
pg_iswpunct UBC 0 0.0 % (0 / 5) 0.0 % (0 / 6)
pg_iswupper UBC 0 0.0 % (0 / 5) 0.0 % (0 / 6)
pg_newlocale_from_collation CBC 17644507 91.3 % (21 / 23) 70.0 % (14 / 20)
db_encoding_convert CBC 280 40.0 % (4 / 10) 16.7 % (1 / 6)
icu_language_tag CBC 46216 83.3 % (15 / 18) 58.3 % (7 / 12)
pg_iswalnum CBC 1615885 60.0 % (3 / 5) 16.7 % (1 / 6)
pg_iswalpha CBC 83406 60.0 % (3 / 5) 16.7 % (1 / 6)
pg_iswdigit CBC 30258 60.0 % (3 / 5) 16.7 % (1 / 6)
pg_iswspace CBC 502 60.0 % (3 / 5) 16.7 % (1 / 6)
pg_perm_setlocale CBC 42096 87.5 % (28 / 32) 66.7 % (10 / 15)
strtitle_c CBC 8 100.0 % (13 / 13) 75.0 % (15 / 20)
pg_towlower UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
pg_towupper UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
builtin_locale_encoding CBC 1074 87.5 % (7 / 8) 62.5 % (5 / 8)
builtin_validate_locale CBC 1060 100.0 % (14 / 14) 88.9 % (16 / 18)
cache_single_string CBC 1216 77.8 % (7 / 9) 50.0 % (2 / 4)
check_locale_messages CBC 11834 83.3 % (5 / 6) 75.0 % (3 / 4)
get_collation_actual_version CBC 63833 100.0 % (9 / 9) 83.3 % (5 / 6)
pg_iswcased CBC 219 100.0 % (5 / 5) 83.3 % (5 / 6)
pg_strfold GNC 298174 100.0 % (6 / 6) 75.0 % (3 / 4)
pg_strlower GNC 227739 100.0 % (6 / 6) 75.0 % (3 / 4)
pg_strtitle GNC 187 100.0 % (6 / 6) 75.0 % (3 / 4)
pg_strupper GNC 681133 100.0 % (6 / 6) 75.0 % (3 / 4)
pg_downcase_ident CBC 4408467 100.0 % (6 / 6) 100.0 % (6 / 6)
pg_strcoll CBC 14219891 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_strncoll CBC 2852373 100.0 % (7 / 7) 100.0 % (8 / 8)
pg_strnxfrm CBC 8420 100.0 % (7 / 7) 100.0 % (4 / 4)
pg_strnxfrm_prefix CBC 52 100.0 % (7 / 7) 100.0 % (4 / 4)
pg_strxfrm CBC 168 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_strxfrm_enabled CBC 27573 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_strxfrm_prefix CBC 1314 100.0 % (4 / 4) 100.0 % (2 / 2)
pg_strxfrm_prefix_enabled CBC 1318 100.0 % (4 / 4) 100.0 % (2 / 2)
strlower_c CBC 4395212 100.0 % (6 / 6) 100.0 % (6 / 6)
strupper_c CBC 16 100.0 % (6 / 6) 100.0 % (6 / 6)
assign_locale_messages CBC 11712 100.0 % (3 / 3)
assign_locale_monetary CBC 11688 100.0 % (3 / 3)
assign_locale_numeric CBC 11696 100.0 % (3 / 3)
assign_locale_time CBC 11688 100.0 % (3 / 3)
check_locale_monetary CBC 11801 100.0 % (2 / 2)
check_locale_numeric CBC 11805 100.0 % (2 / 2)
check_locale_time CBC 11801 100.0 % (2 / 2)
free_struct_lconv CBC 4 100.0 % (12 / 12)
pg_database_locale CBC 1848201 100.0 % (2 / 2)
pg_icu_unicode_version CBC 1 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1