Branch Coverage

blib/lib/LWP/UserAgent/JSON.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
88 0 1 ref $parameters[1] ? :
101 5 1 if (ref $_[0])
147 0 29 unless &Scalar::Util::blessed($object)
157 2 27 unless ($object->can('content_type'))
158 2 0 if ($object->isa('HTTP::Message'))
164 0 29 unless $object->can('content_type')
167 21 8 if $object->content_type ne 'application/json'
170 3 5 if ($object->isa('HTTP::Response')) { }
5 0 elsif ($object->isa('HTTP::Request')) { }