Branch Coverage

blib/lib/Plack/Middleware/RedirectSSL.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
22 12 7 $self->ssl // 1 ? :
23 11 8 'https' eq $$env{'psgi.url_scheme'} ? :
25 9 10 if ($is_ssl xor $do_ssl)
27 2 7 if 'GET' ne $m and 'HEAD' ne $m
30 4 3 $do_ssl ? :
36 6 1 if ($is_ssl and $self->hsts // 1)