blib/lib/Cassandra/Client/Policy/Retry.pm

filter: Statementstmt 75.0% 15 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 57.1% 4 / 7 Podpod 0.0% 0 / 3 totaltotal 63.3% 19 / 30 CC 1 SCAR 3.6
CC
1
Cov
75%
try_next_host
2.0
retry
2.0
rethrow
2.0
CRAP 1.4
« blib/lib/Cassandra/Client/Policy/Throttle/Default.pm ↑ Summary blib/lib/Cassandra/Client/Error/UnavailableException.pm »
1 package Cassandra::Client::Policy::Retry;
2 13 our $AUTHORITY = 'cpan:TVDW';
3 13 $Cassandra::Client::Policy::Retry::VERSION = '0.21';
4 13 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 13 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 13 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 13 ▶use Exporter 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
9 13 our @EXPORT_OK= (qw/try_next_host retry rethrow/);
10  
11 0 ▶sub try_next_host {
Subroutine try_next_host: not called CC=1 SCAR=6.9
Pod undocumented
12 0 my $cl= shift;
13 0 return 'retry';
14 }
15  
16 0 ▶sub retry {
Subroutine retry: not called CC=1 SCAR=6.9
Pod undocumented
17 0 my $cl= shift;
18 0 return 'retry';
19 }
20  
21 0 ▶sub rethrow {
Subroutine rethrow: not called CC=1 SCAR=6.9
Pod undocumented
22 0 return 'rethrow';
23 }
24  
25 13 1;
26  
27 __END__
« blib/lib/Cassandra/Client/Policy/Throttle/Default.pm ↑ Summary blib/lib/Cassandra/Client/Error/UnavailableException.pm »