Condition Coverage

blib/lib/WWW/JSON.pm
Criterion Covered Total %
condition 9 16 56.2


and 3 conditions

line !l l&&!r l&&r condition
100 17 0 0 $path->$WWW::JSON::_isa('URI') and $path->scheme
122 0 10 7 $params && !$self->_http_method_uses_post_body($method)
174 7 0 10 $p and $self->_http_method_uses_post_body($method)

or 2 conditions

line l !l condition
150 0 1 $self->content_type || 'application/json'
155 0 9 $self->content_type || 'application/x-www-form-urlencoded'

or 3 conditions

line l !l&&r !l&&!r condition
88 30 0 14 $method eq 'POST' || $method eq 'PUT'