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 DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 73.9 % 518 383 72 63 58 325 4 35
Current Date: 2026-05-29 21:51:00 -0400 Functions: 81.8 % 55 45 9 1 22 23 6
Baseline: lcov-20260530-034037-baseline Branches: 48.2 % 411 198 113 100 41 157 12 22
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 84.6 % 13 11 2 11
(30,360] days: 41.2 % 119 49 70 47 2
(360..) days: 83.7 % 386 323 63 323
Function coverage date bins:
(7,30] days: 80.0 % 10 8 2 8
(30,360] days: 53.3 % 15 8 7 8
(360..) days: 96.7 % 30 29 1 6 23
Branch coverage date bins:
(30,360] days: 27.6 % 156 43 113 41 2
(360..) days: 60.8 % 255 155 100 155

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
PGLC_localeconv CBC 1770 87.0 % (47 / 54) 50.0 % (10 / 20)
assign_locale_messages CBC 11744 100.0 % (3 / 3)
assign_locale_monetary CBC 11716 100.0 % (3 / 3)
assign_locale_numeric CBC 11724 100.0 % (3 / 3)
assign_locale_time CBC 11716 100.0 % (3 / 3)
builtin_locale_encoding CBC 1045 87.5 % (7 / 8) 62.5 % (5 / 8)
builtin_validate_locale CBC 1031 100.0 % (14 / 14) 88.9 % (16 / 18)
cache_locale_time CBC 33297 86.5 % (45 / 52) 64.3 % (18 / 28)
cache_single_string CBC 1216 77.8 % (7 / 9) 50.0 % (2 / 4)
check_locale CBC 44924 63.6 % (14 / 22) 58.3 % (14 / 24)
check_locale_messages CBC 11853 83.3 % (5 / 6) 75.0 % (3 / 4)
check_locale_monetary CBC 11828 100.0 % (2 / 2)
check_locale_numeric CBC 11832 100.0 % (2 / 2)
check_locale_time CBC 11828 100.0 % (2 / 2)
create_pg_locale GNC 219 82.8 % (24 / 29) 52.5 % (21 / 40)
db_encoding_convert CBC 280 40.0 % (4 / 10) 16.7 % (1 / 6)
free_struct_lconv CBC 4 100.0 % (12 / 12)
get_collation_actual_version CBC 84940 100.0 % (9 / 9) 83.3 % (5 / 6)
icu_language_tag CBC 46966 83.3 % (15 / 18) 58.3 % (7 / 12)
icu_validate_locale CBC 109 85.2 % (23 / 27) 68.8 % (22 / 32)
init_database_collation GNC 16923 89.5 % (17 / 19) 56.7 % (17 / 30)
pg_database_locale GNC 1803198 100.0 % (2 / 2)
pg_downcase_ident GNC 4522655 100.0 % (6 / 6) 100.0 % (6 / 6)
pg_icu_unicode_version GNC 1 100.0 % (2 / 2)
pg_iswalnum GNC 1570882 60.0 % (3 / 5) 16.7 % (1 / 6)
pg_iswalpha GNC 83406 60.0 % (3 / 5) 16.7 % (1 / 6)
pg_iswcased GNC 219 100.0 % (5 / 5) 83.3 % (5 / 6)
pg_iswdigit GNC 30258 60.0 % (3 / 5) 16.7 % (1 / 6)
pg_iswgraph UNC 0 0.0 % (0 / 5) 0.0 % (0 / 6)
pg_iswlower UNC 0 0.0 % (0 / 5) 0.0 % (0 / 6)
pg_iswprint UNC 0 0.0 % (0 / 5) 0.0 % (0 / 6)
pg_iswpunct UNC 0 0.0 % (0 / 5) 0.0 % (0 / 6)
pg_iswspace GNC 502 60.0 % (3 / 5) 16.7 % (1 / 6)
pg_iswupper UNC 0 0.0 % (0 / 5) 0.0 % (0 / 6)
pg_iswxdigit GNC 12 42.9 % (3 / 7) 7.1 % (1 / 14)
pg_newlocale_from_collation GNC 22355546 95.2 % (20 / 21) 81.2 % (13 / 16)
pg_perm_setlocale CBC 41723 87.5 % (28 / 32) 66.7 % (10 / 15)
pg_strcoll GNC 14155189 100.0 % (2 / 2)
pg_strfold GNC 300290 75.0 % (3 / 4) 50.0 % (1 / 2)
pg_strlower GNC 227670 75.0 % (3 / 4) 50.0 % (1 / 2)
pg_strnxfrm_prefix UBC 0 0.0 % (0 / 2)
pg_strtitle GNC 171 75.0 % (3 / 4) 50.0 % (1 / 2)
pg_strxfrm GNC 132 100.0 % (2 / 2)
pg_strxfrm_enabled CBC 27541 100.0 % (2 / 2)
pg_strxfrm_prefix GNC 1306 100.0 % (2 / 2)
pg_strxfrm_prefix_enabled CBC 1306 100.0 % (2 / 2)
pg_towlower UNC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
pg_towupper UNC 0 0.0 % (0 / 6) 0.0 % (0 / 4)
strlower_c GNC 4509408 100.0 % (6 / 6) 66.7 % (4 / 6)
strtitle_c UNC 0 0.0 % (0 / 13) 0.0 % (0 / 20)
struct_lconv_is_valid CBC 35 54.5 % (12 / 22) 50.0 % (10 / 20)
strupper_c UNC 0 0.0 % (0 / 6) 0.0 % (0 / 6)

Generated by: LCOV version 2.5.0-beta