blib/lib/Dancer/Session/Abstract.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 20 | 60.0 |
line | true | false | branch |
---|---|---|---|
58 | 134 | 0 | if (not $self->id) |
65 | 461 | 8 | unless setting("session_name") |
109 | 34 | 143 | unless defined $c |
110 | 143 | 0 | if ($class->validate_session_id($c->value)) { } |
135 | 63 | 34 | if (my $cookie = "Dancer::Cookies"->cookie($name)) |
136 | 63 | 0 | if ($cookie eq $id) |
141 | 0 | 34 | defined setting('session_is_http_only') ? : |
0 | 34 | defined setting('session_same_site') ? : | |
151 | 0 | 34 | if (my $expires = setting("session_expires")) |
154 | 0 | 0 | if $expires =~ /^\d+$/ |