Branch Coverage

lib/CGI/Auth/Auto.pm
Criterion Covered Total %
branch 5 46 10.8


line true false branch
30 0 1 if (defined $$param{-'logintmplpath'} or defined $$param{-'logintmpl'})
35 1 0 if (DEBUG())
41 0 1 unless (defined $$param{-'authdir'})
46 0 1 unless ($self->init($param))
96 0 0 unless my $sess_file = $self->_get_sess_file_from_cookie
111 0 0 unless ($self->OpenSessionFile)
113 0 0 if $self->_ruin_cookie_and_redirect
175 0 0 unless ($self->_get_sess_file_from_cookie)
176 0 0 if $self->_set_cookie_and_redirect
182 0 0 if ($self->_requested_logout)
201 0 0 if $self->_ruin_cookie_and_redirect
224 0 0 unless $username
238 0 0 unless $session_file
250 0 0 if ($CGI::Auth::Auto::CGI_APP_COMPATIBLE)
253 0 0 if (defined $self->get_cgi->param($param) and $self->get_cgi->param($param) eq $runmode)
259 0 0 if (defined $ENV{'QUERY_STRING'})
261 0 0 if $ENV{'QUERY_STRING'} eq 'logout'
266 0 0 defined $paramval ? :
268 0 0 unless defined $paramval
274 0 0 unless $val
293 0 0 unless $val
314 0 1 unless (defined $cgibin)
315 0 0 unless $cgibin = script_abs_loc()