| blib/lib/Proc/BackOff.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 18 | 55.5 |
| line | true | false | branch |
|---|---|---|---|
| 91 | 0 | 5 | unless defined $fields |
| 97 | 5 | 0 | unless defined $obj->max_timeout |
| 116 | 0 | 50 | if $self->failure_time == 0 |
| 117 | 0 | 50 | if $self->backOff_in_progress == 0 |
| 127 | 39 | 11 | $timeLeft > 0 ? : |
| 141 | 0 | 0 | if $self->delay |
| 191 | 5 | 45 | if $self->failure_start == 0 |
| 197 | 0 | 50 | if $self->max_timeout > 0 and $moreTime > $self->max_timeout |
| 218 | 0 | 12 | unless defined $_[0] |