Condition Coverage

blib/lib/Net/Flotum/API/ExceptionHandler.pm
Criterion Covered Total %
condition 3 19 15.7


and 3 conditions

line !l l&&!r l&&r condition
35 0 0 1 $res->code == 404 and not $res->content =~ /Endpoint not found/
38 0 0 0 $res->code == 400 and ref $obj eq 'HASH'
0 0 0 $res->code == 400 and ref $obj eq 'HASH' and ref $obj->{'error'} eq 'form_error'
0 0 0 $res->code == 400 and ref $obj eq 'ARRAY'

or 2 conditions

line l !l condition
15 0 16 $opts{'tries'} || 3
16 0 16 $opts{'sleep'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
56 0 0 0 $tries == 0 or $res->code != 500