blib/lib/CloudHealth/API/ResultParser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
11 | 4 | 3 | if ($response->status >= 400) { } |
14 | 1 | 2 | unless defined $response->content |
25 | 1 | 1 | if $@ |
41 | 0 | 4 | if $@ |
48 | 2 | 2 | if (defined $struct->{'error'}) { } |
1 | 1 | elsif ($struct->{'errors'} and ref $struct->{'errors'} eq 'ARRAY') { } |