Condition Coverage

blib/lib/MojoX/Session/Simple.pm
Criterion Covered Total %
condition 0 30 0.0


and 2 conditions

line l !l condition
16 0 0 &$remove_session() and return
18 0 0 &$remove_session() and return
22 0 0 &$remove_session() and return

and 3 conditions

line !l l&&!r l&&r condition
16 0 0 0 not my $expires = delete $$session{'expires'} and $expiration
18 0 0 0 defined $expires and $expires <= time
50 0 0 0 defined $$session{'expires'} and $$session{'expires'} <= time

or 3 conditions

line l !l&&r !l&&!r condition
12 0 0 0 $$session{'expiration'} // $self->default_expiration
34 0 0 0 keys %$session or $$stash{'mojo.active_session'}
42 0 0 0 $$session{'expiration'} // $self->default_expiration
44 0 0 0 $default || time + $expiration
0 0 0 $expiration or $default