| blib/lib/LWP/UserAgent/Throttled.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 16 | 81.2 |
| line | true | false | branch |
|---|---|---|---|
| 52 | 3 | 1 | if (defined $self->{'throttle'} and $self->{'throttle'}{$host}) |
| 53 | 2 | 1 | if ($self->{'lastcallended'}{$host}) |
| 56 | 2 | 0 | if ($waittime > 0) |
| 62 | 1 | 5 | if (defined $self->{'_ua'}) { } |
| 88 | 0 | 4 | unless defined $_[0] |
| 90 | 1 | 3 | if (ref $_[0] eq "HASH") |
| 100 | 1 | 2 | $self->{'throttle'}{$host} ? : |
| 117 | 1 | 0 | if ($ua) |