Branch Coverage

lib/WebService/Shippo/Object.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
26 0 0 if ref $id and &reftype($id) eq 'HASH'
27 0 0 if $id
39 0 0 unless defined $ref_type
41 0 0 if ($ref_type eq 'HASH') { }
44 0 0 if (exists $invocant->{'count'} and exists $invocant->{'results'}) { }
58 0 0 unless $response->is_success
87 0 0 unless defined $object_id
89 0 0 unless &blessed($invocant)
91 0 0 unless &reftype($invocant) eq 'HASH'
93 0 0 unless exists $invocant->{'object_id'}
134 0 0 if $method eq 'DESTROY'
141 0 0 unless defined $invocant->{$method}
142 0 0 if (wantarray and ref $invocant->{$method})
144 0 0 if &reftype($invocant->{$method}) eq 'HASH'
146 0 0 if &reftype($invocant->{$method}) eq 'ARRAY'