| 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.93'; | ||||||
| 3 | 1 | 1 | 6 | use strict; | |||
| 1 | 139 | ||||||
| 1 | 33 | ||||||
| 4 | |||||||
| 5 | 1 | 1 | 6 | use constant Api => "api"; | |||
| 1 | 1 | ||||||
| 1 | 42 | ||||||
| 6 | 1 | 1 | 6 | use constant ControlPanel => "control_panel"; | |||
| 1 | 1 | ||||||
| 1 | 112 | ||||||
| 7 | 1 | 1 | 10 | use constant Recurring => "recurring"; | |||
| 1 | 2 | ||||||
| 1 | 51 | ||||||
| 8 | |||||||
| 9 | 1 | 1 | 6 | use constant All => [Api, ControlPanel, Recurring]; | |||
| 1 | 2 | ||||||
| 1 | 35 | ||||||
| 10 | 1; |