Condition Coverage

blib/lib/Mojolicious/Sessions/Storable.pm
Criterion Covered Total %
condition 13 33 39.3


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 3 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 3 conditions

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