| blib/lib/PayProp/API/Public/Client/Role/APIRequest.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 18 | 38.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 52 | 0 | 42 | 1 | $handle_response_cb and ref $handle_response_cb ne "CODE" |
| 115 | 0 | 0 | 0 | $self->authorization->has_storage && $self->authorization->is_token_from_storage && ref $error eq 'PayProp::API::Public::Client::Exception::Response' && ($error->status_code // -1) == 401 |
| line | l | !l | condition |
|---|---|---|---|
| 38 | 44 | 0 | $args //= {} |
| 39 | 0 | 44 | $args->{'headers'} // {} |
| 40 | 28 | 16 | $args->{'method'} // "GET" |
| 48 | 44 | 0 | $method // "" |
| 100 | 0 | 0 | $Result->json // {} |
| 101 | 0 | 0 | $json->{'errors'} // [{"path", "/NO_PATH", "message", "NO_ERROR_MESSAGE"}] |