Branch Coverage

blib/lib/Net/Stripe/Customer.pm
Criterion Covered Total %
branch 1 52 1.9


line true false branch
49 0 0 @_ ? :
0 0 if @_ < 1
0 0 if @_ > 2
0 0 $#_ >= 0 ? :
0 0 unless Type::Tiny::XS::AUTO::TC3($new_value)
0 0 if ($#_ >= 0)
0 0 $#_ >= 1 ? :
0 0 unless Type::Tiny::XS::AUTO::TC3($old_value)
0 0 if ($#_ >= 1)
50 0 0 unless defined $new_value
51 0 0 if defined $old_value and $old_value eq $new_value
52 0 0 if defined $self->balance and $self->balance == $new_value
59 0 0 @_ ? :
0 0 if @_ < 1
0 0 if @_ > 2
0 0 $#_ >= 0 ? :
0 0 unless Type::Tiny::XS::AUTO::TC3($new_value)
0 0 if ($#_ >= 0)
0 0 $#_ >= 1 ? :
0 0 unless Type::Tiny::XS::AUTO::TC3($old_value)
0 0 if ($#_ >= 1)
60 0 0 unless defined $new_value
61 0 0 if defined $old_value and $old_value eq $new_value
62 0 0 if defined $self->account_balance and $self->account_balance == $new_value
66 2 0 @_ ? :
67 0 0 if defined $self->account_balance and defined $self->balance and $self->account_balance == $self->balance