|  line  | 
 true  | 
 false  | 
 branch  | 
 
| 
35
 | 
 1  | 
 34  | 
 $cart_name ? :
  | 
 
| 
39
 | 
 3  | 
 32  | 
 if (param('remove')) { }
  | 
 
| 
 | 
 3  | 
 57  | 
 elsif (param('update') and defined param('quantity')) { }
  | 
 
| 
46
 | 
 0  | 
 2  | 
 if request()->is_get
  | 
 
| 
71
 | 
 19  | 
 16  | 
 if ($input = param('sku'))
  | 
 
| 
78
 | 
 19  | 
 0  | 
 if (ref $input eq '')
  | 
 
| 
82
 | 
 1  | 
 18  | 
 unless (defined $product)
  | 
 
| 
92
 | 
 2  | 
 16  | 
 if (defined $product->canonical_sku)
  | 
 
| 
117
 | 
 4  | 
 0  | 
 unless defined $params{$name}
  | 
 
| 
125
 | 
 11  | 
 7  | 
 if (keys %$attr_ref) { }
  | 
 
| 
135
 | 
 2  | 
 9  | 
 unless ($cart_product = $product->find_variant(\%user_input, \%match_info))
  | 
 
| 
152
 | 
 4  | 
 12  | 
 if (param('quantity'))
  | 
 
| 
176
 | 
 3  | 
 29  | 
 if scalar @errors
  |