CRAP Score | Lines | ||
---|---|---|---|
Session::restore() | 12 | 6 | |
Cookie::get() | 6 | 7 | |
Item::update() | 5 | 12 | |
Item::weight() | 4 | 13 | |
Item::totalPrice() | 4 | 13 | |
Basket::checkArgs() | 3 | 5 | |
Runtime::find() | 3 | 9 | |
Runtime::item() | 3 | 9 | |
Basket::createItemIdentifier() | 3 | 17 | |
Runtime::has() | 3 | 9 | |