Condition Coverage

blib/lib/Business/Stripe.pm
Criterion Covered Total %
condition 20 21 95.2


and 3 conditions

line !l l&&!r l&&r condition
568 12 8 4 $_[0] and $_[0] eq 'delete'
6 6 1 @_ == 1 and ref $_[0] eq 'ARRAY'

or 2 conditions

line l !l condition
199 3 1 $params{$_} || ''
281 1 1 $param{'currency'} ||= 'usd'
359 2 1 $params{$_} || ''
466 2 1 $params{$_} || ''
542 1 23 $self->{'-url'} ||= 'https://api.stripe.com/v1/'
584 1 22 $self->{'-success'}{'id'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
568 7 0 13 scalar @_ > 1 or @_ == 1 and ref $_[0] eq 'ARRAY'