Percentage | Lines | ||
---|---|---|---|
CartServiceProvider |
|
0 % | 12 |
Cart |
|
52 % | 216 |
Storage |
|
86 % | 65 |
Item |
|
100 % | 216 |
CRAP Score | Lines | ||
---|---|---|---|
Storage::store() | 2 | 10 | |
Cart::toArray() | 2 | 6 | |
Cart::toJson() | 2 | 4 | |
Cart::__construct() | 2 | 5 | |
Cart::get() | 2 | 4 | |
Cart::offsetExists() | 2 | 4 | |
Cart::offsetGet() | 2 | 4 | |
Cart::offsetSet() | 2 | 4 | |
Cart::offsetUnset() | 2 | 4 | |
Cart::getIterator() | 2 | 4 | |