Branch Coverage

blib/lib/Apache/ASP/Session.pm
Criterion Covered Total %
branch 20 64 31.2


line true false branch
21 0 7 if ($id)
25 0 0 if ($state) { }
42 0 7 if ($id = $asp->SessionId) { }
45 0 0 if ($idata and not $$idata{'end'}) { }
47 0 0 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 7 if ($$internal{$id}) { }
121 7 0 if $id
124 0 7 if $trys > 3
126 0 7 unless $id
129 0 7 if $$asp{'dbg'}
135 0 7 if ($$asp{'paranoid_session'})
142 0 7 if (not $state)
147 0 7 if $$asp{'session_serialize'}
157 7 0 if ($started)
158 0 7 if $$asp{'dbg'}
159 0 7 if ($state->Size > 0)
160 0 0 if $$asp{'dbg'}
179 8 7 unless eval {
200 2 1 if ($index eq '_SELF') { }
0 1 elsif ($index eq '_STATE') { }
1 0 elsif ($index eq 'SessionID') { }
0 0 elsif ($index eq 'Timeout') { }
215 0 7 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 0 0 if (tied %$self)
267 0 0 if ($minutes) { }