blib/lib/Dancer/Plugin/RequireSSL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 10 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
38 | 0 | 0 | 0 | not request()->secure and setting('environment') ne 'development' |
line | l | !l | condition |
---|---|---|---|
51 | 0 | 0 | $$settings{'hsts_age'} // 31536000 |
52 | 0 | 0 | $$settings{'hsts_include_subdomains'} // 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
40 | 0 | 0 | 0 | $req->base =~ m[http://] or not $req->header('X-Forwarded-Proto') =~ /https/ |