| blib/lib/WebService/Braintree/Transaction/Source.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 WebService::Braintree::Transaction::Source; | ||||||
| 2 | $WebService::Braintree::Transaction::Source::VERSION = '0.92'; | ||||||
| 3 | 1 | 1 | 5 | use strict; | |||
| 1 | 2 | ||||||
| 1 | 25 | ||||||
| 4 | |||||||
| 5 | 1 | 1 | 4 | use constant Api => "api"; | |||
| 1 | 1 | ||||||
| 1 | 40 | ||||||
| 6 | 1 | 1 | 4 | use constant ControlPanel => "control_panel"; | |||
| 1 | 2 | ||||||
| 1 | 30 | ||||||
| 7 | 1 | 1 | 4 | use constant Recurring => "recurring"; | |||
| 1 | 2 | ||||||
| 1 | 46 | ||||||
| 8 | |||||||
| 9 | 1 | 1 | 5 | use constant All => [Api, ControlPanel, Recurring]; | |||
| 1 | 1 | ||||||
| 1 | 49 | ||||||
| 10 | 1; |