Braintree/ApplePayCard.pm

filter: Statementstmt 64.2% 9 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 40.0% 2 / 5 Podpod 0.0% 0 / 3 totaltotal 50.0% 11 / 22 CC 1 SCAR 4.7
CC
1
Cov
64%
BUILD
2.0
expiration_date
2.0
is_default
2.0
CRAP 1.6
« Braintree/PayPalAccountGateway.pm ↑ Summary Braintree/CreditCardVerification.pm »
1 package Net::Braintree::ApplePayCard;
2 1 ▶use Net::Braintree::ApplePayCard::CardType;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 extends 'Net::Braintree::PaymentMethod';
6  
7 1 my $meta = __PACKAGE__->meta;
8  
9 0 ▶sub BUILD {
Subroutine BUILD: not called CC=1 SCAR=6.9
Pod undocumented
10 0 my ($self, $attributes) = @_;
11 0 $self->set_attributes_from_hash($self, $attributes);
12 }
13  
14 0 ▶sub expiration_date {
Subroutine expiration_date: not called CC=1 SCAR=6.9
Pod undocumented
15 0 my $self = shift;
16 0 return $self->expiration_month . "/" . $self->expiration_year;
17 }
18  
19 0 ▶sub is_default {
Subroutine is_default: not called CC=1 SCAR=6.9
Pod undocumented
20 0 return shift->default;
21 }
22  
23 1 1;
« Braintree/PayPalAccountGateway.pm ↑ Summary Braintree/CreditCardVerification.pm »