Branch Coverage

blib/lib/Net/API/Stripe/List.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
26 0 0 if scalar @_ == 1 and ref $_[0] eq 'HASH'
31 0 0 if ($self->_is_object($this) and $this->can('as_hash'))
53 0 0 if (@_)
58 0 0 if (not CORE::length $total) { }
72 0 0 @_ ? :
87 0 0 unless exists $self->{'_pos'}
89 0 0 $self->has_more ? :
90 0 0 if ($self->{'_pos'} + 1 < scalar @$data) { }
0 0 elsif ($self->has_more and scalar @$data and $self->_is_object($data->[-1])) { }
97 0 0 unless $self->{'_limit'}
105 0 0 unless exists $hash->{'object'}
111 0 0 unless scalar @$data
124 0 0 unless exists $self->{'_pos'}
127 0 0 if ($self->{'_pos'} - 1 >= 0) { }
0 0 elsif (scalar @$data and $self->_is_object($data->[0])) { }
134 0 0 unless $self->{'_limit'}
142 0 0 unless exists $hash->{'object'}
149 0 0 unless scalar @$data
169 0 0 unless $self->_check($this)
184 0 0 unless $self->_check($this)
193 0 0 unless $self->_is_object($this)
197 0 0 if (scalar @$data and $self->_is_object($data->[0]))
199 0 0 if $data->[0]->can('object')
201 0 0 if ($this->can('object'))
203 0 0 if $this->object ne $obj_name
212 0 0 if (@_)
215 0 0 unless $self->_is_array($ref)
218 0 0 if ($self->_is_object($ref->[0])) { }
224 0 0 if (scalar @$ref)
227 0 0 if ($self->_is_object($ref->[0])) { }
229 0 0 unless $ref->[0]->can('object')
234 0 0 if ref $ref->[0] ne 'HASH'
235 0 0 unless scalar keys %{$$ref[0];}
246 0 0 unless ($self->{$field} and $self->_is_object($self->{$field}))