Condition Coverage

blib/lib/WebService/Client.pm
Criterion Covered Total %
condition 5 13 38.4


and 3 conditions

line !l l&&!r l&&r condition
157 1 0 0 $res->code =~ /^5/ and $retries--
172 0 1 0 $req->method eq 'GET' and $res->code =~ /404|410/

or 2 conditions

line l !l condition
93 0 1 $params ||= {}
208 0 1 $args->{'headers'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
229 0 0 1 $headers->{'Content-Type'} || $headers->{'content-type'} || $headers->{'content_type'}