blib/lib/Net/Braintree/ApplePayCard/CardType.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 15 | 15 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 20 | 20 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Net::Braintree::ApplePayCard::CardType; | ||||||
2 | 1 | 1 | 4 | use strict; | |||
1 | 1 | ||||||
1 | 30 | ||||||
3 | |||||||
4 | 1 | 1 | 3 | use constant AmericanExpress => "Apple Pay - American Express"; | |||
1 | 1 | ||||||
1 | 66 | ||||||
5 | 1 | 1 | 3 | use constant MasterCard => "Apple Pay - MasterCard"; | |||
1 | 1 | ||||||
1 | 33 | ||||||
6 | 1 | 1 | 3 | use constant Visa => "Apple Pay - Visa"; | |||
1 | 2 | ||||||
1 | 59 | ||||||
7 | |||||||
8 | 1 | 45 | use constant All => [ | ||||
9 | AmericanExpress, | ||||||
10 | MasterCard, | ||||||
11 | Visa | ||||||
12 | 1 | 1 | 5 | ]; | |||
1 | 1 | ||||||
13 | |||||||
14 | 1; |