blib/lib/Mojolicious/Sessions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 21 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
24 | 30 | 1 | 0 | not my $expires = delete $session->{'expires'} and $expiration |
25 | 1 | 30 | 0 | defined $expires and $expires <= time |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 1 | 30 | 0 | $session->{'expiration'} // $self->default_expiration |
39 | 45 | 0 | 55 | keys %$session or $stash->{'mojo.active_session'} |
47 | 2 | 43 | 0 | $session->{'expiration'} // $self->default_expiration |
49 | 2 | 41 | 0 | $default || time + $expiration |
43 | 0 | 2 | $expiration or $default |