Condition Coverage

blib/lib/Mojolicious/Plugin/LocaleTextDomainOO.pm
Criterion Covered Total %
condition 22 29 75.8


and 3 conditions

line !l l&&!r l&&r condition
194 11 1 35 @_ % 2 and not ref $_[0]
10 1 1 @_ > 1 and ref $_[-1]

or 2 conditions

line l !l condition
10 0 5 $ENV{'MOJO_I18N_DEBUG'} || 0
28 4 1 $plugin_config->{'file_type'} || 'po'
29 4 1 $plugin_config->{'default'} || 'en'
32 0 5 $plugin_config->{'languages'} // [$default]
41 0 0 $arg_ref->{'type'} || 'debug'
68 4 1 $conf->{'decode'} // 1
201 16 0 $url->path || []

or 3 conditions

line l !l&&r !l&&!r condition
194 35 2 10 @_ % 2 and not ref $_[0] or @_ > 1 and ref $_[-1]
200 6 10 31 $params{'lang'} || $self->stash('lang')
204 0 10 0 ref $langs ne 'ARRAY' or not scalar grep({$path->contains("/$_");} @$langs)