blib/lib/Mojolicious/Sessions/ThreeS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 21 | 52.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
92 | 18 | 0 | 58 | $self->storage && $self->state |
180 | 0 | 10 | 0 | $expiration and not $expires |
186 | 0 | 10 | 0 | defined $expires and $expires <= time |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
227 | 14 | 0 | 8 | keys %$session or $stash->{'mojo.active_session'} |
247 | 10 | 4 | 0 | $session->{'mojox.sessions3s.id'} ||= $self->sidgen->generate_sid($controller) |
258 | 14 | 0 | 0 | $expiration or $set_expires |
260 | 2 | 12 | 0 | $set_expires || time + $expiration |