Branch Coverage

blib/lib/Paymill/REST/Base.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
42 0 0 if $self->can('type')
43 0 0 if exists $item_attrs->{'_type'}
46 0 0 if (ref $item_attrs eq 'HASH' and exists $item_attrs->{'data'})
51 0 0 if ref $item_attrs eq 'ARRAY' and scalar @$item_attrs < 1
56 0 0 if (ref $self) { }
65 0 0 unless defined $item_attrs->{$_}
80 0 0 if $self->can('type')
83 0 0 if (ref $hashed_items eq 'HASH' and exists $hashed_items->{'data'})
91 0 0 unless (ref $item_attrs)
100 0 0 wantarray ? :
110 0 0 if ($self->proxy)
129 0 0 $params->{'query'} ? :
131 0 0 if $params->{'noredirect'}
141 0 0 if ($query)
146 0 0 if (defined $method and $method) { }
156 0 0 if ($res->is_success) { }
163 0 0 if (not $res->content =~ /^\s*$/) { }
187 0 0 if $self->debug