Branch Coverage

blib/lib/Action/Retry.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
90 5 106 if (my $timestamp = $self->_needs_sleeping_until)
93 4 1 unless $seconds * 1000 + int($microseconds / 1000) >= $timestamp
104 5 102 if (wantarray) { }
97 5 elsif (not defined wantarray) { }
116 5 102 $wantarray ? :
122 1 1 $wantarray ? :
2 105 unless $self->retry_if_code->($error, $h)
125 9 96 unless ($self->strategy->needs_to_retry)
127 0 9 if $self->has_on_failure_code
132 2 94 if ($self->non_blocking) { }
145 0 4 if @_ % 2