File Coverage

blib/lib/Net/Braintree/Transaction/Status.pm
Criterion Covered Total %
statement 42 42 100.0
branch n/a
condition n/a
subroutine 14 14 100.0
pod n/a
total 56 56 100.0


line stmt bran cond sub pod time code
1             package Net::Braintree::Transaction::Status;
2 1     1   3 use strict;
  1         2  
  1         23  
3              
4 1     1   3 use constant AuthorizationExpired => 'authorization_expired';
  1         2  
  1         37  
5 1     1   4 use constant Authorizing => 'authorizing';
  1         1  
  1         29  
6 1     1   4 use constant Authorized => 'authorized';
  1         1  
  1         29  
7 1     1   3 use constant GatewayRejected => 'gateway_rejected';
  1         1  
  1         34  
8 1     1   3 use constant Failed => 'failed';
  1         1  
  1         39  
9 1     1   3 use constant ProcessorDeclined => 'processor_declined';
  1         2  
  1         76  
10 1     1   5 use constant Settled => 'settled';
  1         1  
  1         54  
11 1     1   4 use constant Settling => 'settling';
  1         5  
  1         33  
12 1     1   4 use constant SubmittedForSettlement => 'submitted_for_settlement';
  1         1  
  1         33  
13 1     1   3 use constant SettlementDeclined => 'settlement_declined';
  1         1  
  1         30  
14 1     1   3 use constant SettlementPending => 'settlement_pending';
  1         1  
  1         32  
15 1     1   3 use constant Voided => 'voided';
  1         2  
  1         50  
16              
17 1         43 use constant All => (
18             AuthorizationExpired,
19             Authorizing,
20             Authorized,
21             GatewayRejected,
22             Failed,
23             ProcessorDeclined,
24             Settled,
25             SettlementDeclined,
26             SettlementPending,
27             Settling,
28             SubmittedForSettlement,
29             Voided,
30 1     1   3 );
  1         1  
31              
32             1;