Retry/Strategy.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Retry/Strategy/Linear.pm ↑ Summary
1 #
2 # This file is part of Action-Retry
3 #
4 # This software is copyright (c) 2013 by Damien "dams" Krotkine.
5 #
6 # This is free software; you can redistribute it and/or modify it under
7 # the same terms as the Perl 5 programming language system itself.
8 #
9 package Action::Retry::Strategy;
10 {
11 9 $Action::Retry::Strategy::VERSION = '0.24';
12 }
13  
14 # ABSTRACT: Srategy role that any Action::Retry strategy should consume
15  
16 9 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 9 requires 'needs_to_retry';
19 9 requires 'compute_sleep_time';
20 9 requires 'next_step';
21 9 requires 'reset';
22  
23 9 1;
24  
25 __END__
« Retry/Strategy/Linear.pm ↑ Summary