blib/lib/Data/Localize.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 14 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
291 | 0 | 1 | 5 | $localizer and &Scalar::Util::blessed($localizer) |
1 | 0 | 5 | $localizer and &Scalar::Util::blessed($localizer) and $localizer->isa('Data::Localize::Localizer') |
line | l | !l | condition |
---|---|---|---|
199 | 22 | 3 | $self->get_localizer_from_lang($lang) || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
160 | 0 | 3 | 0 | &I18N::LangTags::Detect::detect() || $self->fallback_languages |
174 | 0 | 0 | 0 | $_[0] || $ENV{'HTTP_ACCEPT_LANGUAGE'} |