blib/lib/Amazon/MWS/Routines.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 48 | 29.1 |
line | l | !l | condition |
---|---|---|---|
99 | 2 | 0 | $spec->{'version'} || '2010-01-01' |
116 | 0 | 0 | $args->{'content_type'} || 'application/x-www-form-urlencoded' |
126 | 1 | 0 | $args->{'content_type'} || 'text/plain' |
185 | 40 | 432 | $spec->{'module_name'} || 'Amazon::MWS::Client' |
220 | 1 | 1 | $uri->path || '/' |
251 | 0 | 2 | $opts{'configfile'} ||= 'amazon.xml' |
270 | 0 | 2 | $opts{'Application'} || 'Amazon::MWS::Client' |
271 | 0 | 2 | $opts{'Version'} || 0.5 |
289 | 0 | 2 | $opts{'endpoint'} ||= 'https://mws.amazonaws.com' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
152 | 0 | 0 | 2 | $response->code == 400 or $response->code == 403 |
175 | 0 | 0 | 2 | $spec->{'raw_body'} or $args->{'raw_body'} |
231 | 1 | 1 | 0 | $request->{'_method'} eq 'GET' or $request->{'_content'} |
257 | 0 | 0 | 0 | $opts{'access_key_id'} ||= $xmlconfig->{'access_key_id'} |
258 | 0 | 0 | 0 | $opts{'secret_key'} ||= $xmlconfig->{'secret_key'} |
259 | 0 | 0 | 0 | $opts{'merchant_id'} ||= $xmlconfig->{'merchant_id'} |
260 | 0 | 0 | 0 | $opts{'marketplace_id'} ||= $xmlconfig->{'marketplace_id'} |
261 | 0 | 0 | 0 | $opts{'endpoint'} ||= $xmlconfig->{'endpoint'} |
262 | 0 | 0 | 0 | $opts{'debug'} ||= $xmlconfig->{'debug'} |
263 | 0 | 0 | 0 | $opts{'logfile'} ||= $xmlconfig->{'logfile'} |