Condition Coverage

blib/lib/Slovo.pm
Criterion Covered Total %
condition 22 41 53.6


and 3 conditions

line !l l&&!r l&&r condition
27 1 13 131 ref $class_or_self and $class_or_self->{'home'}
36 0 13 27 $r = $r->dirname and @{$r->to_array;} > 2
120 12 0 85 $last and not $c->current_route =~ /^api\./u
149 87 0 0 $tpls =~ m[^/]u and -d $tpls

or 2 conditions

line l !l condition
138 87 0 eval { do { $c->domove->find_by_host($c->host_only) } } || die('No such Host (' . $c->host_only . ')! Looks like a Proxy Server misconfiguration, readonly' . " database file or a missing domain alias in table domove.\n")
198 13 0 $config->{'load_classes'} // []
208 13 0 $config->{'sessions'} // []
222 13 0 $app->config("load_plugins") // []

or 3 conditions

line l !l&&r !l&&!r condition
37 2 0 26 -x $r->child("script/$m") or -x $r->child("bin/$m")
2 0 26 -x $r->child("script/$m") or -x $r->child("bin/$m") or -x $r->child("script/$m.pl")
0 0 26 -x $r->child("script/$m") or -x $r->child("bin/$m") or -x $r->child("script/$m.pl") or -x $r->child("bin/$m.pl")
122 0 85 0 $stash->{'l'} //= $c->language
123 0 85 0 $stash->{'user'} //= $c->user
193 0 12 0 -f $home_mode_file && $home_mode_file || -f $home_file && $home_file || (-f $mode_file ? $mode_file : $file)
1 12 0 $ENV{'MOJO_CONFIG'} //= -f $home_mode_file && $home_mode_file || -f $home_file && $home_file || (-f $mode_file ? $mode_file : $file)