Condition Coverage

blib/lib/Mojolicious/Sessions/Storable.pm
Criterion Covered Total %
condition 14 35 40.0


and 3 conditions

line !l l&&!r l&&r condition
23 0 0 1 $self->session_store and not 'Mojolicious::Controller'->can('session_options')
44 1 0 12 $session_id and $session
52 12 0 0 not my $expires = delete $$session{'expires'} and $expiration
53 0 12 0 defined $expires and $expires <= time
115 0 13 0 defined $$session{'expires'} and $$session{'expires'} <= time

or 2 conditions

line l !l condition
28 13 2 $_[0]->stash->{'mojox.session.options'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
51 0 12 0 $$session{'expiration'} // $self->default_expiration
68 13 0 0 keys %$session or $$stash{'mojo.active_session'}
77 0 13 0 $$session{'expiration'} // $self->default_expiration
79 0 13 0 $default || time + $expiration
13 0 0 $expiration or $default
115 0 0 13 $c->session_options->{'expire'} or defined $$session{'expires'} and $$session{'expires'} <= time