blib/lib/Amazon/MWS/XML/Order.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 22 | 36.3 |
line | true | false | branch |
---|---|---|---|
86 | 0 | 1 | unless $sub |
171 | 0 | 4 | unless $address->name |
174 | 4 | 0 | if (my $name = $address->name) |
175 | 2 | 2 | if ($name =~ /\s*(.+?)\s+([\w-]+)\s*$/) { } |
2 | 0 | elsif ($name =~ /\s*(.+?)\s*$/) { } | |
291 | 0 | 0 | unless defined $total_cost |
295 | 0 | 0 | if (_kinda_equal($subtotal + $shipping, $total_cost)) { } |
312 | 0 | 0 | unless $currency |
361 | 2 | 0 | $status eq 'Shipped' ? : |
383 | 0 | 0 | if ($status eq 'Pending' or $status eq 'Canceled') { } |
452 | 1 | 0 | if (my $shipping = $order->{'ShipmentServiceLevelCategory'}) { } |