Condition Coverage

blib/lib/LWP/Authen/Basic.pm
Criterion Covered Total %
condition 13 20 65.0


and 3 conditions

line !l l&&!r l&&r condition
40 2 4 2 not $proxy || $request->header($auth_header) and $ua->credentials($host_port, $realm)
47 2 0 4 defined $user and defined $pass
54 2 0 2 defined $olduser and defined $oldpass
2 0 2 defined $olduser and defined $oldpass and $user eq $olduser
0 0 2 defined $olduser and defined $oldpass and $user eq $olduser and $pass eq $oldpass

or 2 conditions

line l !l condition
19 8 0 $auth_param->{'realm'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
40 0 2 6 $proxy || $request->header($auth_header)