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 | 7 | use strict; | |||
1 | 2 | ||||||
1 | 61 | ||||||
3 | |||||||
4 | 1 | 1 | 8 | use constant AmericanExpress => "Apple Pay - American Express"; | |||
1 | 1 | ||||||
1 | 92 | ||||||
5 | 1 | 1 | 7 | use constant MasterCard => "Apple Pay - MasterCard"; | |||
1 | 2 | ||||||
1 | 60 | ||||||
6 | 1 | 1 | 7 | use constant Visa => "Apple Pay - Visa"; | |||
1 | 2 | ||||||
1 | 100 | ||||||
7 | |||||||
8 | 1 | 62 | use constant All => [ | ||||
9 | AmericanExpress, | ||||||
10 | MasterCard, | ||||||
11 | Visa | ||||||
12 | 1 | 1 | 7 | ]; | |||
1 | 2 | ||||||
13 | |||||||
14 | 1; |