blib/lib/HTTP/API/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 39 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
314 | 0 | 0 | 0 | $retry_count and $retry |
324 | 0 | 0 | 0 | $debug{'response_if_fail'} and $response->is_success |
478 | 0 | 0 | 0 | defined $default_value && length $default_value |
line | l | !l | condition |
---|---|---|---|
130 | 0 | 0 | $HTTP::API::Client::VERSION || -1 |
203 | 0 | 0 | $ENV{'RETRY_FAIL_STATUS'} || '' |
213 | 0 | 0 | $ENV{'HTTP_TIMEOUT'} || 60 |
284 | 0 | 0 | shift() || 'GET' |
286 | 0 | 0 | shift() || {} |
287 | 0 | 0 | shift() || {} |
368 | 0 | 0 | $last_response || '{}' |
379 | 0 | 0 | $self->last_response->decoded_content || '' |
393 | 0 | 0 | shift() || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
312 | 0 | 0 | 0 | $debug{'in_out'} or $debug{'send_out'} |
321 | 0 | 0 | 0 | $debug{'in_out'} || $debug{'response'} |
400 | 0 | 0 | 0 | $self->username or $self->password |
404 | 0 | 0 | 0 | $headers->{'authorization'} ||= $self->auth_token |