Branch Coverage

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 28 unless &Scalar::Util::blessed($object)
170 1 27 unless ($object->can('content_type'))
171 1 0 if ($object->isa('HTTP::Message'))
177 0 28 unless $object->can('content_type')
180 21 7 if $object->content_type ne 'application/json'
183 2 5 if ($object->isa('HTTP::Response')) { }
5 0 elsif ($object->isa('HTTP::Request')) { }