line |
true |
false |
branch |
67
|
0 |
1 |
unless defined $headers |
71
|
1 |
0 |
if (my $token = $self->get_access_token) { } |
86
|
1 |
0 |
if defined $params->{'method'} |
87
|
0 |
1 |
unless defined $params->{'httpMethod'} |
97
|
0 |
1 |
if $http_method eq "POST" and not defined $optional_data |
99
|
0 |
1 |
if $self->debug > 11 |
100
|
0 |
1 |
unless $http_method =~ /^GET|PATH|PUT|POST|PATCH|DELETE$/mix |
104
|
1 |
0 |
unless $no_auth |
105
|
0 |
1 |
if ($http_method =~ /^POST|PATH|PUT|PATCH$/gix) { } |
108
|
0 |
0 |
if ($optional_data eq '') { } |
111
|
0 |
0 |
if (ref $optional_data eq 'HASH') { } |
|
0 |
0 |
elsif (ref $optional_data eq '') { } |
120
|
1 |
0 |
if $http_method eq "GET" |
122
|
0 |
0 |
if $http_method eq "DELETE" |
137
|
1 |
0 |
if (ref $params eq "") |
138
|
0 |
1 |
if $self->debug |
146
|
0 |
1 |
if $self->debug |
153
|
0 |
1 |
unless ($res->code) |
158
|
0 |
1 |
if ($res->code == 401 and $self->do_autorefresh) { } |
|
0 |
1 |
elsif ($res->code == 403) { } |
|
0 |
1 |
elsif ($res->code == 429) { } |
159
|
0 |
0 |
if $self->debug > 11 |
172
|
1 |
0 |
if $res->code == 200 |
173
|
0 |
0 |
if $res->code == 204 |
174
|
0 |
0 |
if $res->code == 400 |