line |
true |
false |
branch |
59
|
0 |
0 |
if $param->{'debug'} |
70
|
0 |
0 |
if scalar(@_) % 2 |
78
|
0 |
0 |
if scalar(@_) % 2 |
81
|
0 |
0 |
if $opt->{'body'} |
87
|
0 |
0 |
if scalar(@_) % 2 |
97
|
0 |
0 |
if $opt->{'resource'} eq 'custom' |
99
|
0 |
0 |
if ($opt->{'resource'} eq 'products' or $opt->{'resource'} eq 'catalogs') |
105
|
0 |
0 |
if $opt->{'method'} eq 'list' |
106
|
0 |
0 |
if $opt->{'method'} eq 'insert' |
109
|
0 |
0 |
if $opt->{'method'} eq 'status' |
112
|
0 |
0 |
if $opt->{'method'} =~ /get|delete/ |
115
|
0 |
0 |
if $opt->{'dryrun'} |
116
|
0 |
0 |
if $opt->{'params'} |
119
|
0 |
0 |
if $opt->{'resource'} ne '' |
120
|
0 |
0 |
if $opt->{'method'} ne '' |
121
|
0 |
0 |
if $encoded_params |
149
|
0 |
0 |
if $self->{'debug'} |
152
|
0 |
0 |
unless ($rest->responseCode eq '200') |
153
|
0 |
0 |
if ($rest->responseCode eq '204' and $command[0] eq 'DELETE') { } |
|
0 |
0 |
elsif ($rest->responseCode eq '109') { } |
161
|
0 |
0 |
$rest->responseCode ne '401' ? : |
167
|
0 |
0 |
if $self->{'debug'} |
169
|
0 |
0 |
$rest->responseContent ? : |
175
|
0 |
0 |
if scalar(@_) % 2 |
182
|
0 |
0 |
unless $opt->{'grant_type'} or $opt->{'grant_type'} eq 'authorization_code' or $opt->{'grant_type'} eq 'refresh_token' |
184
|
0 |
0 |
if ($opt->{'grant_type'} eq 'authorization_code') { } |
221
|
0 |
0 |
unless ($response->is_success) |