Condition Coverage

blib/lib/Net/Flotum/API/ExceptionHandler.pm
Criterion Covered Total %
condition 8 19 42.1


and 3 conditions

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

or 2 conditions

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

or 3 conditions

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