Braintree/DisbursementDetails.pm

filter: Statementstmt 50.0% 6 / 12 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 1 / 3 Podpod 0.0% 0 / 2 totaltotal 36.8% 7 / 19 CC 2 SCAR 13.2
CC
2
Cov
43%
is_valid
6.0
BUILD
2.0
BEGIN
1.0
CRAP 3.8
« Braintree/ClientToken.pm ↑ Summary Braintree/MerchantAccountGateway.pm »
1 package Net::Braintree::DisbursementDetails;
2  
3 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 extends 'Net::Braintree::ResultObject';
5  
6 1 my $meta = __PACKAGE__->meta;
7  
8 0 ▶sub BUILD {
Subroutine BUILD: not called CC=1 SCAR=6.9
Pod undocumented
9 0 my ($self, $attributes) = @_;
10 0 $self->set_attributes_from_hash($self, $attributes);
11 }
12  
13 0 ▶sub is_valid {
Subroutine is_valid: not called CC=2 SCAR=17.9
Pod undocumented
14 0 my $self = shift;
15 0 ▶ if (defined($self->disbursement_date)) {
Branch: 1 branch
BranchTrueFalseTotal
if (defined $self->disbursement_date) { } 0 0 0
16 0 1;
17 } else {
18 0 0;
19 }
20 };
21  
22 1 1;
« Braintree/ClientToken.pm ↑ Summary Braintree/MerchantAccountGateway.pm »