Percentage | Lines | ||
---|---|---|---|
ItemBagTrait |
|
100 % | 103 |
ItemInjectableTrait |
|
100 % | 32 |
ItemBagFactory |
|
100 % | 37 |
CRAP Score | Lines | ||
---|---|---|---|
ItemBagTrait::addItem() | 3 | 8 | |
ItemBagFactory::create() | 3 | 12 | |
ItemBagTrait::removeItem() | 2 | 10 | |
ItemBagTrait::toArray() | 2 | 9 | |
ItemBagTrait::toJson() | 1 | 3 | |
ItemBagTrait::clearItems() | 1 | 3 | |
ItemBagTrait::__construct() | 1 | 3 | |
ItemBagTrait::hasItem() | 1 | 3 | |
ItemBagTrait::getItemsList() | 1 | 3 | |
ItemBagTrait::countItems() | 1 | 3 | |