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'}) { }
|
278
|
0 |
0 |
if ($data->{'refresh_token'})
|
295
|
0 |
8 |
if $self->_access_token and $self->_access_token_expires > time + 5
|
306
|
4 |
0 |
unless ($self->access_token_is_valid and $self->_headers)
|
345
|
0 |
1 |
$params{'id'} ? :
|
379
|
0 |
1 |
$params{'id'} ? :
|
413
|
0 |
0 |
$params{'id'} ? :
|
471
|
0 |
1 |
$params{'id'} ? :
|
505
|
0 |
1 |
$params{'id'} ? :
|
553
|
4 |
0 |
if ($params{'limit'} and $params{'limit'} < $params{'page_size'})
|
562
|
0 |
4 |
$params{'path'} =~ /\?/ ? :
|
563
|
0 |
4 |
if $params{'options'}
|
584
|
4 |
0 |
if $params{'path'}
|
585
|
0 |
0 |
$url =~ /\?/ ? :
|
|
0 |
4 |
if $params{'options'}
|
592
|
0 |
0 |
if $params{'body'}
|
595
|
0 |
0 |
if $self->log->is_trace
|
605
|
0 |
0 |
if ($params{'fields'}) { }
|
606
|
0 |
0 |
if ($request->method ne 'GET')
|
622
|
0 |
0 |
if ($response->is_success) { }
|
625
|
0 |
0 |
if (grep {$_ == $response->code;} @{$self->retry_on_status;}) { }
|
626
|
0 |
0 |
if ($response->code == 429) { }
|
628
|
0 |
0 |
if ($response->header('Retry-After') and $response->header('Retry-After') =~ /^\d+$/)
|
646
|
0 |
0 |
if ($retry == 1)
|
647
|
0 |
0 |
if (not $self->max_tries or $self->max_tries > $try_count) { }
|
658
|
0 |
0 |
if $self->log->is_trace
|
659
|
0 |
0 |
unless ($response->is_success)
|
662
|
0 |
0 |
if ($response->decoded_content)
|