blib/lib/LWP/UserAgent/Throttled.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 16 | 81.2 |
line | true | false | branch |
---|---|---|---|
51 | 3 | 4 | if (defined $self->{'throttle'} and $self->{'throttle'}{$host}) |
52 | 2 | 1 | if ($self->{'lastcallended'}{$host}) |
55 | 2 | 0 | if ($waittime > 0) |
61 | 1 | 8 | if (defined $self->{'_ua'}) { } |
87 | 0 | 4 | unless defined $_[0] |
89 | 1 | 3 | if (ref $_[0] eq 'HASH') |
99 | 1 | 2 | $self->{'throttle'}{$host} ? : |
116 | 1 | 0 | if ($ua) |