LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - pg_locale.c (source / functions) Coverage Total Hit UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 73.8 % 520 384 136 384
Current Date: 2026-07-25 17:13:00 -0400 Functions: 81.8 % 55 45 10 45
Baseline: lcov-20260726-baseline Branches: 48.0 % 415 199 216 199
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 45.1 % 133 60 73 60
(360..) days: 83.7 % 387 324 63 324
Function coverage date bins:
(30,360] days: 64.0 % 25 16 9 16
(360..) days: 96.7 % 30 29 1 29
Branch coverage date bins:
(30,360] days: 25.7 % 152 39 113 39
(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
strtitle_c UBC 0 0.0 % (0 / 13) 0.0 % (0 / 20)
struct_lconv_is_valid CBC 35 54.5 % (12 / 22) 50.0 % (10 / 20)
check_locale CBC 44508 63.6 % (14 / 22) 58.3 % (14 / 24)
PGLC_localeconv CBC 1770 87.0 % (47 / 54) 50.0 % (10 / 20)
cache_locale_time CBC 33297 86.5 % (45 / 52) 64.3 % (18 / 28)
db_encoding_convert CBC 280 40.0 % (4 / 10) 16.7 % (1 / 6)
pg_towlower UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
pg_towupper UBC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
strupper_c UBC 0 0.0 % (0 / 6) 0.0 % (0 / 6)
create_pg_locale CBC 219 82.8 % (24 / 29) 52.5 % (21 / 40)
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)
icu_validate_locale CBC 109 85.2 % (23 / 27) 68.8 % (22 / 32)
pg_iswxdigit CBC 12 42.9 % (3 / 7) 7.1 % (1 / 14)
pg_perm_setlocale CBC 41414 87.5 % (28 / 32) 66.7 % (10 / 15)
icu_language_tag CBC 47086 83.3 % (15 / 18) 58.3 % (7 / 12)
cache_single_string CBC 1216 77.8 % (7 / 9) 50.0 % (2 / 4)
init_database_collation CBC 16912 89.5 % (17 / 19) 56.7 % (17 / 30)
pg_iswalnum CBC 1615888 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_newlocale_from_collation CBC 17677758 91.3 % (21 / 23) 70.0 % (14 / 20)
pg_strnxfrm_prefix UBC 0 0.0 % (0 / 2)
builtin_locale_encoding CBC 1070 87.5 % (7 / 8) 62.5 % (5 / 8)
check_locale_messages CBC 11754 83.3 % (5 / 6) 75.0 % (3 / 4)
pg_strfold CBC 300328 75.0 % (3 / 4) 50.0 % (1 / 2)
pg_strlower CBC 227677 75.0 % (3 / 4) 50.0 % (1 / 2)
pg_strtitle CBC 171 75.0 % (3 / 4) 50.0 % (1 / 2)
pg_strupper CBC 681197 75.0 % (3 / 4) 50.0 % (1 / 2)
assign_locale_messages CBC 11632 100.0 % (3 / 3)
assign_locale_monetary CBC 11608 100.0 % (3 / 3)
assign_locale_numeric CBC 11616 100.0 % (3 / 3)
assign_locale_time CBC 11608 100.0 % (3 / 3)
builtin_validate_locale CBC 1056 100.0 % (14 / 14) 88.9 % (16 / 18)
check_locale_monetary CBC 11721 100.0 % (2 / 2)
check_locale_numeric CBC 11725 100.0 % (2 / 2)
check_locale_time CBC 11721 100.0 % (2 / 2)
free_struct_lconv CBC 4 100.0 % (12 / 12)
get_collation_actual_version CBC 64285 100.0 % (9 / 9) 83.3 % (5 / 6)
pg_database_locale CBC 1848204 100.0 % (2 / 2)
pg_downcase_ident CBC 4438033 100.0 % (6 / 6) 100.0 % (6 / 6)
pg_icu_unicode_version CBC 1 100.0 % (2 / 2)
pg_iswcased CBC 219 100.0 % (5 / 5) 83.3 % (5 / 6)
pg_strcoll CBC 14103714 100.0 % (2 / 2)
pg_strncoll CBC 2858444 100.0 % (2 / 2)
pg_strnxfrm CBC 8328 100.0 % (2 / 2)
pg_strxfrm CBC 132 100.0 % (2 / 2)
pg_strxfrm_enabled CBC 27617 100.0 % (2 / 2)
pg_strxfrm_prefix CBC 1302 100.0 % (2 / 2)
pg_strxfrm_prefix_enabled CBC 1302 100.0 % (2 / 2)
strlower_c CBC 4424762 100.0 % (6 / 6) 66.7 % (4 / 6)

Generated by: LCOV version 2.0-1