Branch Coverage

blib/lib/Mojolicious/Sessions.pm
Criterion Covered Total %
branch 17 22 77.2


line true false branch
18 156 31 unless my $value = $c->signed_cookie($self->cookie_name)
20 0 31 unless my $session = $self->deserialize->(&b64_decode($value))
24 0 31 if not my $expires = delete $session->{'expires'} and $expiration
25 0 31 if defined $expires and $expires <= time
28 1 30 unless $stash->{'mojo.active_session'} = keys %$session
30 4 26 if $session->{'new_flash'}
38 832 100 unless my $session = $stash->{'mojo.session'}
39 55 0 unless keys %$session or $stash->{'mojo.active_session'}
43 0 45 if $stash->{'mojo.static'}
44 39 6 unless keys %{$$session{"new_flash"};}
49 43 2 if $expiration or $default