Branch Coverage

blib/lib/Apache/ASP/Session.pm
Criterion Covered Total %
branch 36 64 56.2


line true false branch
21 25 28 if ($id)
25 25 0 if ($state) { }
42 2 26 if ($id = $asp->SessionId) { }
45 1 1 if ($idata and not $$idata{'end'}) { }
47 0 1 if ($$idata{'timeout'} > time) { }
55 0 0 if $$asp{'dbg'}
58 0 0 if ($$asp{'paranoid_session'})
62 0 0 if $$asp{'session_serialize'}
64 0 0 if (defined $state_ua and $state_ua ne $$asp{'ua'})
114 0 28 if ($$internal{$id}) { }
121 28 0 if $id
124 0 28 if $trys > 3
126 0 28 unless $id
129 1 27 if $$asp{'dbg'}
135 0 28 if ($$asp{'paranoid_session'})
142 0 28 unless ($state)
147 1 27 if $$asp{'session_serialize'}
157 28 0 if ($started)
158 1 27 if $$asp{'dbg'}
159 0 28 if ($state->Size > 0)
160 0 0 if $$asp{'dbg'}
179 67 53 unless eval { do { $$self{'state'} } }
200 8 29 if ($index eq '_SELF') { }
0 29 elsif ($index eq '_STATE') { }
4 25 elsif ($index eq 'SessionID') { }
3 22 elsif ($index eq 'Timeout') { }
215 0 23 if ($index eq 'Timeout') { }
230 0 0 if (defined $value and $value eq '_UA') { }
240 0 0 if (defined $value and $value eq '_UA') { }
251 0 0 if $ua
263 18 3 if (tied %$self)
267 15 6 if ($minutes) { }