Condition Coverage

blib/lib/CGI/Auth/Basic.pm
Criterion Covered Total %
condition 0 69 0.0


and 3 conditions

line !l l&&!r l&&r condition
56 0 0 0 $o{'file'} and -e $o{'file'}
0 0 0 $o{'file'} and -e $o{'file'} and not -d $o{'file'}
247 0 0 0 not $pass_param =~ /$RE/ and $self->_match_pass($pass_param)
269 0 0 0 not $pass_param =~ /$RE/ and $pass_param eq $self->{'password'}
299 0 0 0 not $param =~ /\W/msx and exists $self->{$param}

or 2 conditions

line l !l condition
69 0 0 $self->{'cgi'}->url || ''
72 0 0 $o{'cookie_id'} || 'authpass'
73 0 0 $o{'http_charset'} || 'ISO-8859-1'
74 0 0 $o{'logoff_param'} || 'logoff'
75 0 0 $o{'changep_param'} || 'changepass'
76 0 0 $o{'cookie_timeout'} || ''
77 0 0 $o{'setup_pfile'} || 0
78 0 0 $o{'chmod_value'} || 511
79 0 0 $o{'use_flock'} || 1
80 0 0 $o{'hidden'} || []
86 0 0 shift() || (return)
108 0 0 $hidden || ''
345 0 0 $self->_compile_template('login_form') || qq[$self->{'page_form_error'}\n\n
\n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n
\n You need to login to use this function\n
\n Enter the password to run this program:\n \n \n \n \n $self->{'hidden'}\n
\n
\n
\n]
398 0 0 $self->_compile_template('change_pass_form') || qq[ qq~\n$self->{'page_form_error'}\n\n
\n\n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n $self->{'hidden'}\n \n
\n Enter a password between 3 and 32 characters\n and no spaces allowed!\n
\n Enter your new password:\n \n \n \n \n \n
\n
\n
\n]
464 0 0 $self->_compile_template('logoff_link') || qq[\n [\n Log-off\n -\n Change password\n ]\n\n]
525 0 0 $self->_compile_template('screen') || "\n \n $self->{'page_refresh'}\n $self->{'page_title'}\n \n \n \n $self->{'page_logoff_link'}\n $self->{'page_content'}\n $self->{'page_inline_refresh'}\n \n\n"
558 0 0 $FATAL_HEADER || "Content-Type: text/html; charset=ISO-8859-1\n\n"
564 0 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
168 0 0 0 !$password || $password =~ /\s/msx || length $password < 3 || length $password > 32 || $password =~ /$RE/
233 0 0 0 $self->{'password'}->() || $self->_setup_password
310 0 0 0 $self->{'_TEMPLATE_TITLE_USER'}{'title_' . $key} || $self->{'_TEMPLATE_TITLE'}{'title_' . $key}
502 0 0 0 $p eq $self->{'logoff_param'} or $p eq $self->{'changep_param'}
0 0 0 $p eq $self->{'logoff_param'} or $p eq $self->{'changep_param'} or $p eq $self->{'cookie_id'}
0 0 0 $p eq $self->{'logoff_param'} or $p eq $self->{'changep_param'} or $p eq $self->{'cookie_id'} or $p eq $self->{'cookie_id'} . '_new'