Branch Coverage

blib/lib/Try/Tiny/Retry.pm
Criterion Covered Total %
branch 32 34 94.1


line true false branch
21 5 0 unless eval 'use Sub::Name; 1'
47 2 23 if $_[0] >= $n
67 3 13 if (ref $code_ref eq 'Try::Tiny::Retry::RetryIf') { }
2 11 elsif (ref $code_ref eq 'Try::Tiny::Retry::OnRetry') { }
4 7 elsif (ref $code_ref eq 'Try::Tiny::Retry::Delay') { }
71 0 2 if $on_retry
76 1 3 if $delay
86 7 2 unless (defined $delay)
100 1 33 if ($wantarray) { }
1 32 elsif (defined $wantarray) { }
113 10 21 if (@conditions)
117 7 3 if &$c($count)
119 3 7 unless $met
122 3 25 unless defined &$delay($count)
126 14 14 if (defined $on_retry and $redo)
131 25 3 if $redo
133 1 2 $wantarray ? :