Branch Coverage

blib/lib/HTTP/Session2/ServerStore.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
51 17 3 if (my $session_id = $$cookies{$self->session_cookie->{'name'}})
53 1 16 if $session_id =~ /[\x00-\x20\x7f-\xff]/ or length $session_id > 40
55 16 0 if (defined $data)
79 2 0 if (my $session_id = $$cookies{$self->session_cookie->{'name'}})
101 2 0 if (my $session_id = $$cookies{$self->session_cookie->{'name'}})
123 7 8 unless $self->is_dirty
137 10 5 unless ($self->is_dirty and $self->is_fresh or $self->necessary_to_send)