| blib/lib/WebService/Braintree/Transaction/Type.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 12 | 12 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 4 | 100.0 |
| pod | n/a | ||
| total | 16 | 16 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package WebService::Braintree::Transaction::Type; | ||||||
| 2 | $WebService::Braintree::Transaction::Type::VERSION = '0.93'; | ||||||
| 3 | 1 | 1 | 6 | use strict; | |||
| 1 | 1 | ||||||
| 1 | 31 | ||||||
| 4 | |||||||
| 5 | 1 | 1 | 7 | use constant Sale => "sale"; | |||
| 1 | 3 | ||||||
| 1 | 61 | ||||||
| 6 | 1 | 1 | 6 | use constant Credit => "credit"; | |||
| 1 | 1 | ||||||
| 1 | 40 | ||||||
| 7 | |||||||
| 8 | 1 | 1 | 5 | use constant All => [Sale, Credit]; | |||
| 1 | 1 | ||||||
| 1 | 34 | ||||||
| 9 | 1; |