| blib/lib/LWP/Authen/Basic.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 20 | 65.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 38 | 2 | 4 | 2 | not $proxy || $request->header($auth_header) and $ua->credentials($host_port, $realm) |
| 45 | 2 | 0 | 4 | defined $user and defined $pass |
| 52 | 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 |
| line | l | !l | condition |
|---|---|---|---|
| 17 | 8 | 0 | $auth_param->{'realm'} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 38 | 0 | 2 | 6 | $proxy || $request->header($auth_header) |