Condition Coverage

blib/lib/WebService/Akeneo/Transport.pm
Criterion Covered Total %
condition 6 21 28.5


and 3 conditions

line !l l&&!r l&&r condition
67 1 0 0 $res->is_error and ($res->code // 0) == 401

or 2 conditions

line l !l condition
38 1 0 $opt{'ndjson'} // []
53 1 0 $tx->req->body // ""
61 0 1 $h->header("X-Rate-Limit-Remaining") // ""
62 0 0 $h->header("X-Rate-Limit-Reset") // 1
67 0 0 $res->code // 0
74 0 0 $res->body // ""
86 1 0 $res->headers->content_type // ""
87 1 0 $res->body // ""
90 0 0 eval { do { decode_json($_) } } // {"raw", $_}