Branch Coverage

blib/lib/Net/Flotum/API/ExceptionHandler.pm
Criterion Covered Total %
branch 4 12 33.3


line true false branch
32 15 1 unless $@
34 0 1 unless defined $res
35 1 0 if ($res->code == 404 and not $res->content =~ /Endpoint not found/)
38 0 0 if ($res->code == 400 and ref $obj eq 'HASH' and ref $obj->{'error'} eq 'form_error') { }
0 0 elsif ($res->code == 400 and ref $obj eq 'ARRAY') { }
56 0 0 if ($tries == 0 or $res->code != 500)