| line |
true |
false |
branch |
|
60
|
0 |
0 |
if $param->{'debug'} |
|
71
|
0 |
0 |
if scalar(@_) % 2 |
|
79
|
0 |
0 |
if scalar(@_) % 2 |
|
82
|
0 |
0 |
if $opt->{'body'} |
|
88
|
0 |
0 |
if scalar(@_) % 2 |
|
98
|
0 |
0 |
if $opt->{'resource'} eq 'custom' |
|
100
|
0 |
0 |
if ($opt->{'resource'} eq 'products' or $opt->{'resource'} eq 'catalogs') |
|
106
|
0 |
0 |
if $opt->{'method'} eq 'list' |
|
107
|
0 |
0 |
if $opt->{'method'} eq 'insert' |
|
110
|
0 |
0 |
if $opt->{'method'} eq 'status' |
|
113
|
0 |
0 |
if $opt->{'method'} =~ /get|delete/ |
|
116
|
0 |
0 |
if $opt->{'dryrun'} |
|
117
|
0 |
0 |
if $opt->{'params'} |
|
120
|
0 |
0 |
if $opt->{'resource'} ne '' |
|
121
|
0 |
0 |
if $opt->{'method'} ne '' |
|
122
|
0 |
0 |
if $encoded_params |
|
150
|
0 |
0 |
if $self->{'debug'} |
|
153
|
0 |
0 |
unless ($rest->responseCode eq '200') |
|
154
|
0 |
0 |
if ($rest->responseCode eq '204' and $command[0] eq 'DELETE') { } |
|
|
0 |
0 |
elsif ($rest->responseCode eq '109') { } |
|
162
|
0 |
0 |
$rest->responseCode ne '401' ? : |
|
168
|
0 |
0 |
if $self->{'debug'} |
|
170
|
0 |
0 |
$rest->responseContent ? : |
|
176
|
0 |
0 |
if scalar(@_) % 2 |
|
183
|
0 |
0 |
unless $opt->{'grant_type'} or $opt->{'grant_type'} eq 'authorization_code' or $opt->{'grant_type'} eq 'refresh_token' |
|
185
|
0 |
0 |
if ($opt->{'grant_type'} eq 'authorization_code') { } |
|
222
|
0 |
0 |
unless ($response->is_success) |