lib/Dancer/Session/Cookie.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 22 | 72.7 |
line | true | false | branch |
---|---|---|---|
37 | 2 | 34 | unless my $key = setting('session_cookie_key') |
47 | 7 | 27 | $duration ? : |
58 | 148 | 56 | if defined $SESSION |
67 | 149 | 43 | if $SESSION and $SESSION->id eq $id |
71 | 42 | 1 | if (my $hash = $STORE->decode($id)) { } |
89 | 0 | 0 | if $plain_text |
139 | 0 | 67 | defined setting('session_is_http_only') ? : |
149 | 26 | 41 | if (defined $duration) |
167 | 68 | 33 | unless defined $session_expires |
169 | 0 | 33 | unless defined $duration |
183 | 0 | 0 | $crc32 == String::CRC32::crc32($plain_text) ? : |