line |
true |
false |
branch |
243
|
0 |
4 |
if ($self->access_token_is_valid)
|
256
|
0 |
4 |
if ($params{'username'} and $params{'refresh_token'}) { }
|
|
0 |
4 |
elsif ($params{'username'} and $params{'password'}) { }
|
276
|
0 |
0 |
if ($data->{'refresh_token'})
|
293
|
0 |
8 |
if $self->_access_token and $self->_access_token_expires > time + 5
|
304
|
4 |
0 |
unless ($self->access_token_is_valid and $self->_headers)
|
342
|
0 |
1 |
$params{'id'} ? :
|
375
|
0 |
1 |
$params{'id'} ? :
|
408
|
0 |
0 |
$params{'id'} ? :
|
464
|
0 |
1 |
$params{'id'} ? :
|
497
|
0 |
1 |
$params{'id'} ? :
|
544
|
4 |
0 |
if ($params{'limit'} and $params{'limit'} < $params{'page_size'})
|
553
|
0 |
4 |
$params{'path'} =~ /\?/ ? :
|
572
|
0 |
4 |
if ($params{'uri'}) { }
|
|
4 |
0 |
elsif ($params{'path'}) { }
|
585
|
0 |
0 |
if $params{'body'}
|
588
|
0 |
0 |
if $self->log->is_trace
|
598
|
0 |
0 |
if ($params{'fields'}) { }
|
599
|
0 |
0 |
if ($request->method ne 'GET')
|
615
|
0 |
0 |
if ($response->is_success) { }
|
618
|
0 |
0 |
if (grep {$_ == $response->code;} @{$self->retry_on_status;}) { }
|
619
|
0 |
0 |
if ($response->code == 429) { }
|
621
|
0 |
0 |
if ($response->header('Retry-After') and $response->header('Retry-After') =~ /^\d+$/)
|
639
|
0 |
0 |
if ($retry == 1)
|
640
|
0 |
0 |
if (not $self->max_tries or $self->max_tries > $try_count) { }
|
651
|
0 |
0 |
if $self->log->is_trace
|
652
|
0 |
0 |
unless ($response->is_success)
|
655
|
0 |
0 |
if ($response->decoded_content)
|