blib/lib/Throttle/Adaptive.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 7 | 42.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
25 | 0 | 400 | 0 | @{$self->{'window'};} and $self->{'window'}[0][0] < $now |
line | l | !l | condition |
---|---|---|---|
14 | 1 | 0 | $args{'ratio'} || 2 |
1 | 0 | $args{'time'} || 120 |