Branch Coverage

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


line true false branch
50 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)
51 0 0 unless defined $new_value
52 0 0 if defined $old_value and $old_value eq $new_value
53 0 0 if defined $self->balance and $self->balance == $new_value
60 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)
61 0 0 unless defined $new_value
62 0 0 if defined $old_value and $old_value eq $new_value
63 0 0 if defined $self->account_balance and $self->account_balance == $new_value
67 2 0 @_ ? :
68 0 0 if defined $self->account_balance and defined $self->balance and $self->account_balance == $self->balance