Branch Coverage

blib/lib/Business/Stripe.pm
Criterion Covered Total %
branch 34 34 100.0


line true false branch
190 1 9 if ($method eq 'post')
194 7 2 unless $method eq 'delete'
196 1 8 if (scalar @_ >= 2) { }
2 6 elsif (scalar @_) { }
323 1 1 $amount ? :
362 1 1 $qs ? :
469 1 1 $qs ? :
544 21 3 if $self->{'-api_key'}
545 4 20 unless ($self->{'-ua'})
547 1 3 ref $self->{'-ua_args'} eq 'HASH' ? :
557 1 24 unless $self->{'-auth'}
568 4 20 if ($_[0] and $_[0] eq 'delete') { }
8 12 elsif (scalar @_ > 1 or @_ == 1 and ref $_[0] eq 'ARRAY') { }
574 1 7 @_ == 1 ? :
582 23 1 if ($res->is_success)
595 1 23 if ($self->{'-version'})
598 1 23 if ($self->{'-stripe_account'})