Condition Coverage

blib/lib/WWW/Docker/Role/HTTP.pm
Criterion Covered Total %
condition 0 23 0.0


and 3 conditions

line !l l&&!r l&&r condition
156 0 0 0 $body and $body =~ /^\s*[\{\[]/
209 0 0 0 $headers{'transfer-encoding'} and $headers{'transfer-encoding'} eq "chunked"

or 2 conditions

line l !l condition
109 0 0 $opts{'content_type'} // "application/x-tar"
228 0 0 readline $sock // ""
332 0 0 readline $sock // ""
339 0 0 $headers{'transfer-encoding'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
159 0 0 0 $data->{'message'} // $body
165 0 0 0 $status_code == 204 or not defined $body
0 0 0 $status_code == 204 or not defined $body or $body eq ""