Branch Coverage

blib/lib/LWP/Authen/Basic.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
18 0 8 $proxy ? :
19 0 8 unless $url
21 0 8 $proxy ? :
23 0 8 $proxy ? :
30 11 9 if (defined $user)
38 2 6 if (not $proxy || $request->header($auth_header) and $ua->credentials($host_port, $realm))
45 2 4 unless (defined $user and defined $pass)
52 2 0 if defined $olduser and defined $oldpass and $user eq $olduser and $pass eq $oldpass
56 2 0 unless $proxy