Branch Coverage

lib/Web/ComposableRequest/Role/L10N.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
23 2 2 if $locale and &is_member($locale, $conf->locales)
25 0 1 if $locale and $lang = &extract_lang($locale) and $lang ne $locale and &is_member($lang, $conf->locales)
29 1 2 if &is_member($locale, $conf->locales)
33 0 1 if &is_member($lang, $conf->locales)
53 0 8 unless defined $key
57 7 1 if (defined $args->{'params'} and ref $args->{'params'} eq 'ARRAY')
58 1 6 if 0 > index($text, '[_')
66 0 1 if 0 > index($text, '{')
71 1 0 defined $args{$1} ? :