Branch Coverage

blib/lib/Dancer2/Plugin/Interchange6.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
361 32 87 if ($user)
388 3 62 @_ == 1 ? :
396 63 2 unless (defined $$carts{$args{'name'}})
404 12 51 if (my $user_ref = $plugin->logged_in_user)
427 0 6 unless $payment_settings
430 4 2 if ($args{'provider'}) { }
437 5 1 if (exists $payment_settings->{'providers'}{$provider}) { }
469 2 1 if ($bop_object->is_success) { }
518 2 156 if (@_) { }
540 34 107 if (defined $key)