Branch Coverage

blib/lib/Dancer2/Plugin/Cart/InlineViews.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
38 0 3 if ($ec_cart->{'add'}{'error'})
47 3 0 if (@{$ec_cart->{'cart'}{'items'};} > 0)
59 7 0 if (@{$ec_cart->{'cart'}{'items'};} > 0) { }
73 4 8 if ($editable == 1)
83 4 8 if ($editable == 1)
139 0 1 if ($ec_cart->{'shipping'}{'error'})
165 0 1 if ($ec_cart->{'billing'}{'error'})