Condition Coverage

blib/lib/CGI/Auth.pm
Criterion Covered Total %
condition 11 46 23.9


and 3 conditions

line !l l&&!r l&&r condition
417 0 1 0 $$self{'authdir'} and $$self{'admin'} || $$self{'formaction'}
0 0 1 $$self{'authdir'} and $$self{'admin'} || $$self{'formaction'} and $$self{'authfields'}
441 1 0 4 $_ and not ref $_
1 0 4 $_ and not ref $_ and not m[^/]
462 0 0 1 $$self{'authfields'}[0]{'required'} and not $$self{'authfields'}[0]{'hidden'}
1317 0 0 0 $file_ra and $file_ra ne $ENV{'REMOTE_ADDR'}

or 2 conditions

line l !l condition
370 0 0 $$param{-'logintmplpath'} || []
432 0 1 $$self{'validchars'} ||= '\\w\\d -_.'
1195 0 0 $values[0] || ''
1228 0 0 $ENV{'REMOTE_ADDR'} || ''
1230 0 0 $1 || ''

or 3 conditions

line l !l&&r !l&&!r condition
329 0 1 0 ref $proto || $proto
390 0 0 1 UNIVERSAL::isa($$self{'cgi'}, 'CGI') or UNIVERSAL::isa($$self{'cgi'}, 'CGI::Simple')
417 0 1 0 $$self{'admin'} || $$self{'formaction'}
497 0 0 0 $$self{'sessfile'} || $$self{'cgi'}->param('auth_sessfile')
1359 0 0 0 $ENV{'GATEWAY_INTERFACE'} or $ENV{'REQUEST_METHOD'}
0 0 0 $ENV{'GATEWAY_INTERFACE'} or $ENV{'REQUEST_METHOD'} or $ENV{'REMOTE_ADDR'}