Branch Coverage

blib/lib/CGI/Authen/Simple.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
107 0 0 unless defined $$args{'dbh'}
110 0 0 unless defined $$args{'EXIT_ON_DISPLAY'}
113 0 0 unless defined $$args{'USERID'}
114 0 0 unless defined $$args{'USERNAME'}
115 0 0 unless defined $$args{'PASSWORD'}
116 0 0 unless defined $$args{'HASH_FUNC'}
117 0 0 unless ($$args{'HASH_FUNC'} =~ /^(?:none|(?:old_)password|md5|sha1?)$/i)
122 0 0 unless defined $$args{'TABLE'}
125 0 0 unless defined $$args{'HTML_TITLE'}
126 0 0 unless defined $$args{'HTML_HEADER'}
127 0 0 unless defined $$args{'HTML_FOOTER'}
148 0 0 unless ($$self{'logged_in'})
154 0 0 if (not exists $cookie{$_} or $cookie{$_}->value eq '')
161 0 0 if ($to_return == 1)
163 0 0 $$self{'HASH_FUNC'} =~ /none/i ? :
167 0 0 !($$self{'HASH_FUNC'} =~ /none/i) ? :
173 0 0 if (not $profile) { }
225 0 0 unless ($username and $password)
227 0 0 if (defined $$self{'ext_auth'})
233 0 0 if ($username and $password)
235 0 0 $$self{'HASH_FUNC'} =~ /none/i ? :
239 0 0 !($$self{'HASH_FUNC'} =~ /none/i) ? :
248 0 0 if ($profile) { }
264 0 0 if (not $self->logged_in)
268 0 0 unless $template->process(\*DATA, $vars)
270 0 0 if ($$self{'EXIT_ON_DISPLAY'})