Condition Coverage

blib/lib/Net/Flotum/API/ExceptionHandler.pm
Criterion Covered Total %
condition 3 16 18.7


and 3 conditions

line !l l&&!r l&&r condition
34 0 0 1 $res->code == 404 and not $res->content =~ /Endpoint not found/
37 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'

or 2 conditions

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

or 3 conditions

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