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
57 0 0 0 $o{'file'} and -e $o{'file'}
0 0 0 $o{'file'} and -e $o{'file'} and not -d $o{'file'}
248 0 0 0 not $pass_param =~ /$RE/ and $self->_match_pass($pass_param)
270 0 0 0 not $pass_param =~ /$RE/ and $pass_param eq $$self{'password'}
301 0 0 0 not $param =~ /\W/msx and exists $$self{$param}

or 2 conditions

line l !l condition
70 0 0 $$self{'cgi'}->url || ''
73 0 0 $o{'cookie_id'} || 'authpass'
74 0 0 $o{'http_charset'} || 'ISO-8859-1'
75 0 0 $o{'logoff_param'} || 'logoff'
76 0 0 $o{'changep_param'} || 'changepass'
77 0 0 $o{'cookie_timeout'} || ''
78 0 0 $o{'setup_pfile'} || 0
79 0 0 $o{'chmod_value'} || 511
80 0 0 $o{'use_flock'} || 1
81 0 0 $o{'hidden'} || []
87 0 0 shift() || (return)
109 0 0 $hidden || ''
347 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]
400 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]
466 0 0 $self->_compile_template('logoff_link') || qq[\n [\n Log-off\n -\n Change password\n ]\n\n]
527 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"
560 0 0 $FATAL_HEADER || "Content-Type: text/html; charset=ISO-8859-1\n\n"
566 0 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
169 0 0 0 !$password || $password =~ /\s/msx || length $password < 3 || length $password > 32 || $password =~ /$RE/
234 0 0 0 $$self{'password'}() || $self->_setup_password
311 0 0 0 $$self{'_TEMPLATE_TITLE_USER'}{'title_' . $key} || $$self{'_TEMPLATE_TITLE'}{'title_' . $key}
501 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'