| blib/lib/Regru/API/Response.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 16 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 44 | 8 | 0 | if ($response) |
| 46 | 1 | 7 | unless ref $response eq "HTTP::Response" |
| 48 | 1 | 6 | if $self->debug |
| 50 | 4 | 3 | $response->code == 200 ? : |
| 52 | 3 | 4 | if ($self->is_service_fail) |
| 61 | 1 | 0 | $self->is_success ? : |
| 1 | 1 | if $self->debug | |
| 62 | 1 | 1 | if ($self->is_success) { } |