Branch Coverage

blib/lib/WebService/Client.pm
Criterion Covered Total %
branch 13 38 34.2


line true false branch
97 0 1 if (%$params)
100 0 0 if ('ARRAY' eq ref $value) { }
107 0 0 if (@items)
165 0 1 if ($self->mode eq 'v2')
172 0 1 if $req->method eq 'GET' and $res->code =~ /404|410/
173 0 1 unless $res->is_success
174 0 1 unless $res->content
176 0 1 if exists $args{'deserializer'}
177 1 0 if ($des) { }
178 0 1 unless 'CODE' eq ref $des
189 2 0 unless $self->logger
202 0 1 unless defined $path
203 0 1 $path =~ /^http/ ? :
209 0 1 unless 'HASH' eq ref $headers
210 1 0 unless _content_type($headers)
235 0 0 if (defined $data)
237 0 0 if exists $args{'serializer'}
238 0 0 if ($ser)
239 0 0 unless 'CODE' eq ref $ser