| blib/lib/Dancer2/Plugin/Interchange6.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 18 | 94.4 |
| line | true | false | branch |
|---|---|---|---|
| 362 | 3 | 62 | @_ == 1 ? : |
| 370 | 63 | 2 | unless (defined $$carts{$args{'name'}}) |
| 378 | 12 | 51 | if (my $user_ref = $plugin->logged_in_user) |
| 401 | 0 | 6 | unless $payment_settings |
| 404 | 4 | 2 | if ($args{'provider'}) { } |
| 411 | 5 | 1 | if (exists $payment_settings->{'providers'}{$provider}) { } |
| 443 | 2 | 1 | if ($bop_object->is_success) { } |
| 492 | 2 | 156 | if (@_) { } |
| 514 | 34 | 107 | if (defined $key) |