Mailboxlayer/Error.pm

filter: Statementstmt 47.0% 8 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 22.2% 2 / 9 Podpod 100% 7 / 7 totaltotal 51.5% 17 / 33 CC 1 SCAR 5.8
CC
1
Cov
47%
new
2.0
has_error
2.0
success
2.0
CRAP 1.8
« Mailboxlayer/Response.pm ↑ Summary
1 package Net::Mailboxlayer::Error;
2  
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 $Net::Mailboxlayer::Error::VERSION = '0.003';
7  
8 sub new
9 0 ▶{
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
10 0 my ($class, %props) = @_;
11  
12 0 my $self = bless \%props, $class;
13  
14 0 return $self;
15 }
16 0 ▶sub has_error {return 1}
Subroutine has_error: not called CC=1 SCAR=6.9
Pod documented
17 0 ▶sub success {return $_[0]->{success}}
Subroutine success: not called CC=1 SCAR=6.9
Pod documented
18 0 ▶sub type {return $_[0]->{error}->{type}}
Subroutine type: not called CC=1 SCAR=6.9
Pod documented
19 0 ▶sub info {return $_[0]->{error}->{info}}
Subroutine info: not called CC=1 SCAR=6.9
Pod documented
20 0 ▶sub code {return $_[0]->{error}->{code}}
Subroutine code: not called CC=1 SCAR=6.9
Pod documented
21 0 ▶sub response {return $_[0]->{_response}}
Subroutine response: not called CC=1 SCAR=6.9
Pod documented
22  
23 3 1;
24  
25 __END__
« Mailboxlayer/Response.pm ↑ Summary