| blib/lib/Algorithm/Retry.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 18 | 83.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 115 | 41 | 6 | 1 | defined $self->{'max_delay'} and $res > $self->{'max_delay'} |
| 136 | 31 | 2 | 3 | $self->{'max_attempts'} and $self->{'_attempts'} >= $self->{'max_attempts'} |
| 147 | 4 | 23 | 20 | $delay and $self->{'jitter_factor'} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 98 | 8 | 1 | 11 | $args{$attr} //= $attrspec->{$attr}{'default'} |
| 107 | 49 | 0 | 0 | $timestamp //= &Algorithm::Retry::time() |
| 108 | 41 | 8 | 0 | $self->{'_last_timestamp'} //= $timestamp |