| line |
true |
false |
branch |
|
127
|
6 |
0 |
if ($self->default_routes) |
|
136
|
0 |
2 |
if (-e $self->app->config->{'views'} . '/' . $template . '.tt') { } |
|
148
|
6 |
0 |
unless grep {$_ eq 'products';} @{$excluded_routes;} |
|
160
|
0 |
3 |
if (-e $self->app->config->{'views'} . '/' . $template . '.tt') { } |
|
172
|
0 |
3 |
if $ec_cart->{'add'}{'error'} |
|
176
|
6 |
0 |
unless grep {$_ eq 'cart';} @{$excluded_routes;} |
|
186
|
6 |
0 |
unless grep {$_ eq 'cart/add';} @{$excluded_routes;} |
|
197
|
6 |
0 |
unless grep {$_ eq 'cart/clear';} @{$excluded_routes;} |
|
207
|
0 |
1 |
if (-e $app->config->{'views'} . '/cart/' . $template . '.tt') { } |
|
219
|
0 |
1 |
if $ec_cart->{'shipping'}{'error'} |
|
223
|
6 |
0 |
unless grep {$_ eq 'cart/shipping';} @{$excluded_routes;} |
|
233
|
6 |
0 |
unless grep {$_ eq 'cart/shipping';} @{$excluded_routes;} |
|
243
|
0 |
1 |
if (-e $app->config->{'views'} . '/cart/' . $template . '.tt') { } |
|
256
|
0 |
1 |
if $ec_cart->{'billing'}{'error'} |
|
260
|
6 |
0 |
unless grep {$_ eq 'cart/billing';} @{$excluded_routes;} |
|
270
|
6 |
0 |
unless grep {$_ eq 'cart/billing';} @{$excluded_routes;} |
|
280
|
0 |
1 |
if (-e $app->config->{'views'} . '/cart/' . $template . '.tt') { } |
|
292
|
0 |
1 |
if $ec_cart->{'checkout'}{'error'} |
|
296
|
6 |
0 |
unless grep {$_ eq 'cart/review';} @{$excluded_routes;} |
|
306
|
6 |
0 |
unless grep {$_ eq 'cart/receipt';} @{$excluded_routes;} |
|
316
|
0 |
1 |
if (-e $app->config->{'views'} . '/cart/' . $template . '.tt') { } |
|
331
|
6 |
0 |
if not grep({$_ eq 'cart/receipt';} @{$excluded_routes;}) |
|
340
|
8 |
0 |
if ($self->product_list) |
|
354
|
0 |
9 |
unless $ec_cart->{'cart'}{'items'} |
|
356
|
3 |
3 |
if ($cart_product->{'ec_sku'} eq $product->{'ec_sku'}) |
|
359
|
1 |
2 |
if ($cart_product->{'ec_quantity'} <= 0) |
|
369
|
5 |
13 |
if ($product_item->{'ec_sku'} eq $product->{'ec_sku'}) |
|
387
|
6 |
35 |
unless $ec_cart->{'cart'}{'items'} |
|
407
|
28 |
6 |
if $item_subtotal->{'ec_subtotal'} |
|
441
|
0 |
3 |
if ($ec_cart->{'add'}{'error'}) { } |
|
449
|
0 |
3 |
if ($ec_cart->{'add'}{'error'}) { } |
|
480
|
1 |
1 |
if ($ec_cart->{'shipping'}{'error'}) { } |
|
487
|
0 |
1 |
if ($ec_cart->{'shipping'}{'error'}) |
|
505
|
0 |
1 |
if ($ec_cart->{'billing'}{'error'}) { } |
|
512
|
0 |
1 |
if ($ec_cart->{'billing'}{'error'}) |
|
527
|
0 |
1 |
if ($ec_cart->{'checkout'}{'error'}) { } |
|
533
|
0 |
1 |
if ($ec_cart->{'checkout'}{'error'}) |
|
545
|
0 |
1 |
unless @{$ec_cart->{'cart'}{'items'};} > 0 |