Branch Coverage

blib/lib/OpenPlugin/Session.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
33 0 0 if ($self->_validate_session($session)) { }
53 0 0 unless ($session_id)
60 0 0 unless defined $session
65 0 0 if ($self->_validate_session($session)) { }
88 0 0 unless (scalar keys %{$data;})
93 0 0 unless ($$params{'id'})
99 0 0 if $$params{'id'}
107 0 0 if ($self->_validate_session($session))
112 0 0 if $$data{$key} =~ /^_/
128 0 0 unless ($session_id)
137 0 0 if $$session{'_session_id'}
152 0 0 if exists $$session{'_start'}
176 0 0 if ($session_id =~ /^([a-fA-F0-9]{32}$)/) { }
199 0 0 unless $session
202 0 0 unless exists $$session{'_start'} and exists $$session{'_accessed'} and exists $$session{'_session_id'} and exists $$session{'_expires'}
208 0 0 unless ($$session{'_expires'} =~ /^-1$/)
210 0 0 if time > 'OpenPlugin::Utility'->expire_calc($$session{'_expires'}, $$session{'_accessed'})
216 0 0 if ($invalid) { }
222 0 0 if $$session{'_session_id'}