Branch Coverage

blib/lib/CGI/Auth/Basic.pm
Criterion Covered Total %
branch 0 96 0.0


line true false branch
36 0 0 if @args % 2
44 0 0 if ($o{'cgi_object'} eq 'AUTOLOAD_CGI') { }
51 0 0 unless ($o{'ihacloaiwtui'})
52 0 0 if ref $o{'cgi_object'} ne 'CGI'
57 0 0 if ($o{'file'} and -e $o{'file'} and not -d $o{'file'}) { }
66 0 0 unless $password
88 0 0 if ref $code eq 'CODE'
95 0 0 if (!ref($$self{'hidden'}) eq 'ARRAY')
102 0 0 if $$_[0] eq $$self{'cookie_id'}
103 0 0 if $$_[0] eq $$self{'cookie_id'} . '_new'
108 0 0 @hidden_q ? :
151 0 0 unless $$self{'setup_pfile'}
152 0 0 unless ($$self{'cgi'}->param('change_password'))
177 0 0 if $not_ok
187 0 0 unless $PASSWORD->open($$self{'password_file_path'}, '>')
188 0 0 if $$self{'use_flock'}
190 0 0 if $$self{'use_flock'}
199 0 0 unless $PASSWORD->open($$self{'password_file_path'})
212 0 0 if ($$self{'cgi'}->param($$self{'changep_param'}))
213 0 0 unless ($$self{'cgi'}->param('change_password'))
235 0 0 if (ref $$self{'password'} eq 'CODE')
240 0 0 if ($$self{'cgi'}->param($$self{'logoff_param'}))
250 0 0 if ($pass_param = $$self{'cgi'}->param($$self{'cookie_id'})) { }
0 0 elsif ($pass_param = $$self{'cgi'}->cookie($$self{'cookie_id'})) { }
251 0 0 if (not $pass_param =~ /$RE/ and $self->_match_pass($pass_param)) { }
273 0 0 if (not $pass_param =~ /$RE/ and $pass_param eq $$self{'password'}) { }
300 0 0 unless $code
304 0 0 if (not $param =~ /\W/msx and exists $$self{$param})
313 0 0 unless my $key = shift()
320 0 0 if @args % 2
322 0 0 if ($o{'delete_all'}) { }
324 0 0 if $key =~ / \A template_ /msx
330 0 0 if exists $o{$key}
338 0 0 if @args % 2
341 0 0 unless $$self{'_TEMPLATE_TITLE'}{'title_' . $_}
349 0 0 if @args
402 0 0 if @args
467 0 0 $$self{'hidden_q'} ? :
468 0 0 if ($$self{'logged_in'})
494 0 0 @args % 2 ? :
495 0 0 $p{'cookie'} ? :
498 0 0 if ($$self{'hidden_q'}) { }
504 0 0 if $p eq $$self{'logoff_param'} or $p eq $$self{'changep_param'} or $p eq $$self{'cookie_id'} or $p eq $$self{'cookie_id'} . '_new'
511 0 0 if (@qs)
522 0 0 $p{'forward'} ? :
526 0 0 $p{'forward'} ? :
562 0 0 if @args
627 0 0 $exit ? :