| blib/lib/Kelp/Module/Symbiosis.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 26 | 65.3 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 2 | 14 | if (not ref $app and $app) |
| 24 | 0 | 2 | unless $loaded->{$app} |
| 29 | 0 | 16 | if exists $mounted->{$path} |
| 40 | 0 | 8 | if exists $loaded->{$name} |
| 43 | 1 | 7 | if ($mount) |
| 57 | 49 | 3 | if (&blessed($app)) { } |
| 3 | 0 | elsif (ref $app eq 'CODE') { } | |
| 58 | 0 | 49 | unless $app->can("run") |
| 82 | 20 | 0 | unless $self->reverse_proxy |
| 87 | 0 | 0 | unless not $_[0]{'REMOTE_ADDR'} |
| 96 | 1 | 5 | unless exists $args{'mount'} |
| 98 | 2 | 4 | if ($args{'mount'}) |
| 102 | 0 | 6 | if ($args{'reverse_proxy'}) |