blib/lib/WebService/ILS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 31 | 6.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
633 | 0 | 0 | 0 | $response->code == 401 and $has_token |
715 | 0 | 0 | 0 | $content_type and $content_type =~ m[application/json]u |
740 | 0 | 0 | 0 | $content_type and $content_type =~ m[application/json]u |
line | l | !l | condition |
---|---|---|---|
146 | 0 | 0 | $p_s || {} |
206 | 2 | 0 | shift() || {} |
221 | 0 | 2 | delete $params->{'user_agent_params'} || {} |
326 | 0 | 0 | shift() || {} |
660 | 0 | 0 | $token_type || 'Bearer' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
608 | 0 | 0 | 0 | $1 || $die_string |
666 | 0 | 0 | 0 | $self->_error_from_json($data) || $response->decoded_content |
745 | 0 | 0 | 0 | $content || $self->invalid_response_exception_string($response) |
751 | 0 | 0 | 0 | $self->_error_from_json($data) || "Invalid response:\n$content" |