| blib/lib/Role/REST/Client.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 24 | 70.8 |
| line | true | false | branch |
|---|---|---|---|
| 109 | 0 | 12 | if (ref $res eq 'HASH') { } |
| 161 | 4 | 8 | if (defined $data) |
| 162 | 0 | 4 | ref $data ? : |
| 167 | 12 | 0 | unless $args->{'preserve_headers'} |
| 170 | 2 | 2 | defined $args->{'deserializer'} ? : |
| 4 | 8 | exists $args->{'deserializer'} ? : | |
| 179 | 3 | 0 | if $deserializer and $content |
| 188 | 8 | 4 | $use_serializer ? : |
| 6 | 6 | $res->is_error ? : | |
| 200 | 1 | 0 | if ($data and scalar keys %$data) |
| 213 | 4 | 0 | if ($self->type =~ /urlencoded/) |
| 214 | 4 | 0 | $data && scalar keys %$data ? : |