Branch Coverage

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


line true false branch
35 0 0 if scalar @_ == 1 and ref $_[0] eq "HASH"
40 0 0 if ($self->_is_object($this) and $this->can("as_hash"))
62 0 0 if (@_)
67 0 0 if (not defined $total && CORE::length $total) { }
81 0 0 @_ ? :
96 0 0 unless exists $self->{'_pos'}
98 0 0 if ($self->{'_pos'} + 1 < scalar @$data) { }
0 0 elsif ($self->has_more and scalar @$data and $self->_is_object($data->[-1])) { }
105 0 0 unless $self->{'_limit'}
112 0 0 unless exists $hash->{'object'}
118 0 0 unless scalar @$data
131 0 0 unless exists $self->{'_pos'}
133 0 0 if ($self->{'_pos'} - 1 >= 0) { }
0 0 elsif (scalar @$data and $self->_is_object($data->[0])) { }
140 0 0 unless $self->{'_limit'}
147 0 0 unless exists $hash->{'object'}
154 0 0 unless scalar @$data
174 0 0 unless $self->_check($this)
189 0 0 unless $self->_check($this)
198 0 0 unless $self->_is_object($this)
202 0 0 if (scalar @$data and $self->_is_object($data->[0]))
204 0 0 if $data->[0]->can("object")
206 0 0 if ($this->can("object"))
208 0 0 if $this->object ne $obj_name
217 0 0 if (@_)
220 0 0 unless $self->_is_array($ref)
223 0 0 if ($self->_is_object($ref->[0])) { }
226 0 0 $self->_is_object($ref) ? :
230 0 0 if (scalar @$ref)
233 0 0 if ($self->_is_object($ref->[0])) { }
235 0 0 unless $ref->[0]->can("object")
240 0 0 if ref $ref->[0] ne "HASH"
241 0 0 unless scalar keys %{$$ref[0];}
252 0 0 unless ($self->{$field} and $self->_is_object($self->{$field}))
254 0 0 defined $self->{$field} && CORE::length $self->{$field} ? :