| blib/lib/Mojolicious/Plugin/SecureOnly.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 8 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 11 | 1 | 0 | unless $app->config('SecureOnly') |
| 16 | 0 | 4 | if $c->req->is_secure |
| 17 | 1 | 3 | if not $c->tx->req->reverse_proxy and detect_proxy($c) |
| 22 | 0 | 3 | if $self->conf->{'secureport'} |