| blib/lib/AnyEvent/RetryTimer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 20 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 179 | 1 | 0 | if $self |
| 204 | 1 | 5 | if $$self{'timer'} |
| 206 | 5 | 0 | if ($$self{'backoff'} eq 'exponential') |
| 210 | 4 | 1 | if ($r = $$self{'r'}) { } |
| 212 | 1 | 3 | if ($$self{'max_retries'} and $$self{'on_max_retries'} and $$r[1] >= $$self{'max_retries'}) |
| 222 | 2 | 1 | $$r[0] > $$self{'max_interval'} ? : |
| 234 | 4 | 0 | if $self and $$self{'on_retry'} |
| 267 | 0 | 5 | if $$self{'timer'} and not $$self{'r'} |
| 269 | 5 | 0 | if ($$self{'backoff'} eq 'exponential') |
| 270 | 1 | 4 | unless $$self{'r'} |