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'
75 0 0 if (not @languages) { }
84 0 0 if (not $language) { }
185 0 0 if $url->is_abs
188 0 0 if @_ % 2 and not ref $_[0] or @_ > 1 and ref $_[-1]
191 0 0 @_ == 1 ? :
194 0 0 if (my $lang = $params{'lang'} || $self->stash('lang'))
198 0 0 if (not $path->[0]) { }
0 0 elsif (ref $langs ne 'ARRAY' or not scalar grep({$path->contains("/$_");} @$langs)) { }