blib/lib/Plack/Middleware/RedirectSSL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 16 | 93.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
27 | 5 | 2 | 2 | 'GET' ne $m and 'HEAD' ne $m |
36 | 3 | 7 | 0 | $is_ssl and $self->hsts // 1 |
line | l | !l | condition |
---|---|---|---|
22 | 14 | 5 | $self->ssl // 1 |
36 | 2 | 5 | $self->hsts // 1 |
37 | 1 | 5 | $self->hsts // 15724800 |
line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
---|---|---|---|---|---|
25 | 7 | 4 | 5 | 3 | $is_ssl xor $do_ssl |