Condition Coverage

blib/lib/Ado/Sessions.pm
Criterion Covered Total %
condition 15 30 50.0


and 3 conditions

line !l l&&!r l&&r condition
52 66 0 62 not my $expires = delete $session->{'expires'} and $expiration
53 0 66 0 defined $expires and $expires <= time

or 2 conditions

line l !l condition
21 132 79 $c->param($cookie_name) || $c->cookie($cookie_name) || ''
28 16 0 $config->{'session'}{'options'} || {}
29 16 0 $config->{'session'}{'type'} || 'mojo'

or 3 conditions

line l !l&&r !l&&!r condition
51 0 128 0 $session->{'expiration'} // $self->default_expiration
69 83 0 0 keys %$session or $stash->{'mojo.active_session'}
78 0 83 0 $session->{'expiration'} // $self->default_expiration
80 1 82 0 $default || time + $expiration
83 0 0 $expiration or $default
83 66 17 0 $self->session_id($c) || $self->generate_id