lib/Slovo.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 26 | 46.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
102 | 65 | 0 | 138 | $last and not $c->current_route =~ /^api\./u |
131 | 143 | 0 | 0 | $tpls =~ m[^/]u and -d $tpls |
line | l | !l | condition |
---|---|---|---|
120 | 143 | 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") |
180 | 14 | 0 | $config->{'load_classes'} // [] |
190 | 14 | 0 | $config->{'sessions'} // [] |
204 | 14 | 0 | $app->config("load_plugins") // [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
104 | 0 | 138 | 0 | $stash->{'l'} //= $c->language |
105 | 0 | 138 | 0 | $stash->{'user'} //= $c->user |
175 | 0 | 13 | 0 | -f $home_mode_file && $home_mode_file || -f $home_file && $home_file || (-f $mode_file ? $mode_file : $file) |
1 | 13 | 0 | $ENV{'MOJO_CONFIG'} //= -f $home_mode_file && $home_mode_file || -f $home_file && $home_file || (-f $mode_file ? $mode_file : $file) |