Condition Coverage

blib/lib/Dancer/Plugin/RequireSSL.pm
Criterion Covered Total %
condition 0 10 0.0


and 3 conditions

line !l l&&!r l&&r condition
38 0 0 0 not request()->secure and setting('environment') ne 'development'

or 2 conditions

line l !l condition
51 0 0 $$settings{'hsts_age'} // 31536000
52 0 0 $$settings{'hsts_include_subdomains'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
40 0 0 0 $req->base =~ m[http://] or not $req->header('X-Forwarded-Proto') =~ /https/