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