blib/lib/Dancer/Plugin/Interchange6/Cart.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 28 | 28 | 100.0 |
line | true | false | branch |
---|---|---|---|
73 | 43 | 19 | if ($cart->in_storage) { } |
163 | 12 | 50 | if (logged_in_user()) |
214 | 25 | 1 | unless ref $args eq 'ARRAY' |
223 | 7 | 20 | unless (ref $arg eq 'HASH') |
228 | 2 | 25 | unless defined $arg->{'sku'} |
233 | 1 | 24 | unless defined $result |
244 | 19 | 5 | defined $arg->{'quantity'} ? : |
265 | 7 | 16 | if ($cart_product) { } |
283 | 1 | 21 | wantarray ? : |
317 | 1 | 4 | unless $self->users_id |
343 | 1 | 1 | if ($product) { } |
394 | 2 | 4 | unless $index >= 0 |
517 | 1 | 8 | unless $qty =~ /^\d+$/ |
519 | 2 | 6 | if ($qty == 0) |