blib/lib/Pinto/Remote/SelfContained/HasHttptiny.pm

filter: Statementstmt 94.4% 17 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod n/a totaltotal 91.6% 22 / 24 CC 1 SCAR 1.5
CC
1
Cov
94%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« blib/lib/Pinto/Remote/SelfContained/Types.pm ↑ Summary /usr/local/bin/cpanm »
1 package
2 Pinto::Remote::SelfContained::HasHttptiny; # hide from PAUSE
3 # ABSTRACT: role providing an HTTP::Tiny instance
4  
5 5 ▶use v5.10;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 5 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 5 ▶use HTTP::Tiny;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 5 ▶use Types::Standard qw(InstanceOf);
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 5 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 5 our $VERSION = '1.999'; # TRIAL VERSION
14  
15 has httptiny => (
16 is => 'lazy',
17 isa => InstanceOf['HTTP::Tiny'],
18 0 ▶ default => sub { HTTP::Tiny->new(verify_SSL => 1) },
Subroutine __ANON__: not called CC=1 SCAR=6.9
19 5 );
20  
21 5 1;
22  
23 __END__
« blib/lib/Pinto/Remote/SelfContained/Types.pm ↑ Summary /usr/local/bin/cpanm »