blib/lib/IO/Iron.pm

filter: Statementstmt 76.9% 20 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 6 / 9 Podpod 100% 3 / 3 totaltotal 76.3% 29 / 38 CC 1 SCAR 2.9
CC
1
Cov
77%
ironcache
2.0
ironmq
2.0
ironworker
2.0
CRAP 1.3
« integ_t/iron_io_integ_tests_common.pl ↑ Summary blib/lib/IO/Iron/ConnectorBase.pm »
1 package IO::Iron;
2  
3 ## no critic (Documentation::RequirePodAtEnd)
4 ## no critic (Documentation::RequirePodSections)
5  
6 3 ▶use 5.010_000;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 # Global creator
11 BEGIN {
12 3 ▶ use parent qw( Exporter );
Subroutine BEGIN: called CC=1 SCAR=0.0
13 3 ▶ our (@EXPORT_OK, %EXPORT_TAGS);
Subroutine BEGIN: called CC=1 SCAR=0.0
14 3 %EXPORT_TAGS = ( 'all' => [ qw(ironcache ironmq ironworker) ] );
15 3 @EXPORT_OK = qw(all ironcache ironmq ironworker);
16 }
17 3 our @EXPORT_OK;
18  
19 # Global destructor
20 ▶END {
Subroutine END: called CC=1 SCAR=0.0
21 }
22  
23  
24 # ABSTRACT: Client Libraries to Iron services IronCache, IronMQ and IronWorker.
25  
26 3 our $VERSION = '0.12_01'; # TRIAL VERSION: generated by DZP::OurPkgVersion
27  
28  
29  
30 3 require IO::Iron::IronCache::Client;
31 3 require IO::Iron::IronMQ::Client;
32 3 require IO::Iron::IronWorker::Client;
33  
34  
35  
36  
37  
38  
39  
40 sub ironcache {
41 0 ▶ my (%params) = @_;
Subroutine ironcache: not called CC=1 SCAR=6.9
Pod documented
42 0 return IO::Iron::IronCache::Client->new( \%params );
43 }
44  
45  
46 sub ironmq {
47 0 ▶ my (%params) = @_;
Subroutine ironmq: not called CC=1 SCAR=6.9
Pod documented
48 0 return IO::Iron::IronMQ::Client->new( \%params );
49 }
50  
51  
52 sub ironworker {
53 0 ▶ my (%params) = @_;
Subroutine ironworker: not called CC=1 SCAR=6.9
Pod documented
54 0 return IO::Iron::IronWorker::Client->new( %params );
55 }
56  
57  
58 3 1;
59  
60 __END__
« integ_t/iron_io_integ_tests_common.pl ↑ Summary blib/lib/IO/Iron/ConnectorBase.pm »