blib/lib/WWW/JSON.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 16 | 56.2 |
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) |
176 | 7 | 0 | 10 | $p and $self->_http_method_uses_post_body($method) |
line | l | !l | condition |
---|---|---|---|
150 | 0 | 1 | $self->content_type || 'application/json' |
157 | 0 | 9 | $self->content_type || 'application/x-www-form-urlencoded' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
88 | 30 | 0 | 14 | $method eq 'POST' || $method eq 'PUT' |