Payjp/Object.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.7% 18 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
new
1.0
CRAP 1.0
« Payjp/Tenant.pm ↑ Summary Payjp/Account.pm »
1 package Net::Payjp::Object;
2  
3 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 11 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 sub new{
7 64 ▶ my $self = shift;
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
8 64 my %p = @_;
9
10 64 bless{%p}, $self;
11 }
12  
13 11 our $AUTOLOAD;
14 sub AUTOLOAD {
15 179 ▶ my $self = shift;
Subroutine AUTOLOAD: called CC=1 SCAR=0.0
16  
17 179 my ($key) = $AUTOLOAD =~ /([^:]*$)/;
18 179 return $self->{$key};
19 }
20  
21  
22 11 1;
« Payjp/Tenant.pm ↑ Summary Payjp/Account.pm »