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   4 use strict;
  1         2  
  1         30  
3              
4 1     1   4 use constant AuthorizationExpired => 'authorization_expired';
  1         1  
  1         40  
5 1     1   3 use constant Authorizing => 'authorizing';
  1         2  
  1         38  
6 1     1   4 use constant Authorized => 'authorized';
  1         2  
  1         32  
7 1     1   4 use constant GatewayRejected => 'gateway_rejected';
  1         1  
  1         38  
8 1     1   4 use constant Failed => 'failed';
  1         1  
  1         33  
9 1     1   3 use constant ProcessorDeclined => 'processor_declined';
  1         1  
  1         35  
10 1     1   4 use constant Settled => 'settled';
  1         2  
  1         35  
11 1     1   4 use constant Settling => 'settling';
  1         1  
  1         33  
12 1     1   4 use constant SubmittedForSettlement => 'submitted_for_settlement';
  1         2  
  1         45  
13 1     1   4 use constant SettlementDeclined => 'settlement_declined';
  1         2  
  1         48  
14 1     1   4 use constant SettlementPending => 'settlement_pending';
  1         1  
  1         33  
15 1     1   4 use constant Voided => 'voided';
  1         0  
  1         97  
16              
17 1         49 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   4 );
  1         2  
31              
32             1;