blib/lib/Plack/Middleware/SignedCookies.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 10 | 90.0 |
line | true | false | branch |
---|---|---|---|
28 | 3 | 2 | if s/(.{$length})\z//o |
34 | 2 | 7 | length $cookie ? : |
41 | 0 | 18 | if 'set-cookie' ne lc $$headers[$i++] |
44 | 7 | 11 | if $secure and not /;\s* secure \s* (?:;|\z)/xi |
45 | 10 | 8 | if $httponly and not /;\s* httponly \s* (?:;|\z)/xi |