blib/lib/Mojolicious/Plugin/MountPSGI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 18 | 44.4 |
line | true | false | branch |
---|---|---|---|
16 | 0 | 11 | if ($prefix =~ m[^(\*\.)?([^/]+)(/.*)?$]) { } |
18 | 0 | 0 | if $1 |
20 | 0 | 0 | unless defined $path |
25 | 1 | 10 | $rewrite ? : |
29 | 11 | 0 | unless ($ENV{'PLACK_ENV'}) |
34 | 1 | 10 | if (ref $psgi) { } |
37 | 0 | 10 | unless (-r $psgi) |
39 | 0 | 0 | if -r $abs |
48 | 0 | 11 | if $host |