| blib/lib/Net/Braintree/Subscription/Status.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 21 | 21 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 7 | 7 | 100.0 |
| pod | n/a | ||
| total | 28 | 28 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Net::Braintree::Subscription::Status; | ||||||
| 2 | 1 | 1 | 4 | use strict; | |||
| 1 | 1 | ||||||
| 1 | 41 | ||||||
| 3 | |||||||
| 4 | 1 | 1 | 4 | use constant Active => 'Active'; | |||
| 1 | 2 | ||||||
| 1 | 60 | ||||||
| 5 | 1 | 1 | 4 | use constant Canceled => 'Canceled'; | |||
| 1 | 2 | ||||||
| 1 | 35 | ||||||
| 6 | 1 | 1 | 4 | use constant Expired => 'Expired'; | |||
| 1 | 1 | ||||||
| 1 | 33 | ||||||
| 7 | 1 | 1 | 5 | use constant PastDue => 'Past Due'; | |||
| 1 | 2 | ||||||
| 1 | 38 | ||||||
| 8 | 1 | 1 | 5 | use constant Pending => 'Pending'; | |||
| 1 | 1 | ||||||
| 1 | 93 | ||||||
| 9 | |||||||
| 10 | 1 | 48 | use constant All => ( | ||||
| 11 | Active, | ||||||
| 12 | Canceled, | ||||||
| 13 | Expired, | ||||||
| 14 | PastDue, | ||||||
| 15 | Pending | ||||||
| 16 | 1 | 1 | 5 | ); | |||
| 1 | 2 | ||||||
| 17 | |||||||
| 18 | 1; |