blib/lib/Net/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 Net::Braintree::Transaction::Type; | ||||||
2 | 1 | 1 | 3 | use strict; | |||
1 | 2 | ||||||
1 | 23 | ||||||
3 | |||||||
4 | 1 | 1 | 3 | use constant Sale => "sale"; | |||
1 | 1 | ||||||
1 | 37 | ||||||
5 | 1 | 1 | 3 | use constant Credit => "credit"; | |||
1 | 1 | ||||||
1 | 32 | ||||||
6 | |||||||
7 | 1 | 1 | 3 | use constant All => [Sale, Credit]; | |||
1 | 1 | ||||||
1 | 31 | ||||||
8 | 1; |