Condition Coverage

blib/lib/Algorithm/Backoff/RetryTimeouts.pm
Criterion Covered Total %
condition 13 29 44.8


and 3 conditions

line !l l&&!r l&&r condition
306 0 0 1020 defined $start_time and $max_time
334 0 0 2000 $timeout and $jitter

or 2 conditions

line l !l condition
265 1056 3 $self->{'_prev_delay'} // 0
306 0 0 $delay // 0
316 1020 0 $delay //= 0
345 17 3 $self->{'_prev_delay'} //= 0

or 3 conditions

line l !l&&r !l&&!r condition
238 1023 0 0 $timestamp //= &Algorithm::Backoff::RetryTimeouts::time()
243 1020 3 0 $timeout //= $self->timeout
308 0 0 0 $self->{'_last_timestamp'} // $self->{'_start_timestamp'}
1020 0 0 $timestamp //= $self->{'_last_timestamp'} // $self->{'_start_timestamp'}
356 1016 0 4 $self->{'_last_timestamp'} //= $self->{'_start_timestamp'}