Branch Coverage

lib/WebService/Shippo/Object.pm
Criterion Covered Total %
branch 0 32 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'}
104 0 0 unless @_ > 1
153 0 0 if $method eq 'DESTROY'
160 0 0 unless defined $invocant->{$method}
161 0 0 if (wantarray and ref $invocant->{$method})
163 0 0 if &reftype($invocant->{$method}) eq 'HASH'
165 0 0 if &reftype($invocant->{$method}) eq 'ARRAY'