| blib/lib/Mojo/Hakkefuin/Sessions.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 12 | 58.3 |
| line | true | false | branch |
|---|---|---|---|
| 11 | 10 | 31 | unless my $session = $stash->{'mojo.session'} |
| 12 | 0 | 0 | unless keys %$session or $stash->{'mojo.active_session'} |
| 16 | 0 | 31 | if $stash->{'mojo.static'} |
| 17 | 31 | 0 | unless keys %{$$session{"new_flash"};} |
| 22 | 31 | 0 | if $expiration or $default |
| 27 | 27 | 4 | if $self->max_age and $session->{'expires'} > time |