Branch Coverage

blib/lib/CGI/Session/Auth.pm
Criterion Covered Total %
branch 9 30 30.0


line true false branch
44 0 3 if ref $class
51 0 6 unless exists $$params{$classParam}
53 0 6 unless grep {$$params{$classParam}->isa($_);} @{$classParams{$classParam};}
91 0 3 if ($$self{'log'})
111 0 0 if ($self->_session->param('~logged-in')) { }
130 0 0 if ($lg_name and $lg_pass)
133 0 0 if ($self->_login($lg_name, $lg_pass)) { }
149 0 0 if ($$self{'ipauth'})
151 0 0 if ($self->_ipAuth)
200 0 0 if (@_)
268 0 0 if ($username eq 'guest' and $password eq 'guest')
343 0 2 if $$self{'logger'}
356 0 0 if $$self{'logger'}
408 2 5 if (@_)
410 1 1 if ($$self{'logged_in'} = shift()) { }