| blib/lib/LWP/UserAgent/JSON.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 20 | 70.0 |
| line | true | false | branch |
|---|---|---|---|
| 65 | 1 | 0 | if ($self->SUPER::can('put')) { } |
| 101 | 0 | 1 | ref $parameters[1] ? : |
| 114 | 5 | 1 | if (ref $_[0]) |
| 160 | 0 | 29 | unless &Scalar::Util::blessed($object) |
| 170 | 2 | 27 | unless ($object->can('content_type')) |
| 171 | 2 | 0 | if ($object->isa('HTTP::Message')) |
| 177 | 0 | 29 | unless $object->can('content_type') |
| 180 | 21 | 8 | if $object->content_type ne 'application/json' |
| 183 | 3 | 5 | if ($object->isa('HTTP::Response')) { } |
| 5 | 0 | elsif ($object->isa('HTTP::Request')) { } |