Branch Coverage

blib/lib/Mojolicious/Plugin/LocaleTextDomainOO.pm
Criterion Covered Total %
branch 1 18 5.5


line true false branch
36 0 5 if ref $plugin_config->{'plugins'} eq 'ARRAY'
77 0 0 if (not @languages) { }
86 0 0 if (not $language) { }
191 0 0 if $url->is_abs
194 0 0 if @_ % 2 and not ref $_[0] or @_ > 1 and ref $_[-1]
197 0 0 @_ == 1 ? :
200 0 0 if (my $lang = $params{'lang'} || $self->stash('lang'))
204 0 0 if (not $path->[0]) { }
0 0 elsif (ref $langs ne 'ARRAY' or not scalar grep({$path->contains("/$_");} @$langs)) { }