Percentage | Lines | ||
---|---|---|---|
ProductTypeRepository |
|
0 % | 15 |
PaymentMethodRepository |
|
0 % | 15 |
VariantGroupRepository |
|
0 % | 15 |
CurrencyRepository |
|
0 % | 25 |
PeriodRepository |
|
0 % | 15 |
SiteRepository |
|
0 % | 15 |
StateRepository |
|
0 % | 15 |
CustomerRepository |
|
0 % | 15 |
TagRepository |
|
0 % | 15 |
ShippingMethodRepository |
|
0 % | 15 |
CRAP Score | Lines | ||
---|---|---|---|
ProductRepository::updateParentChildRelationships() | 72 | 62 | |
Product::updateCategories() | 42 | 24 | |
Product::findPriceByCurrency() | 42 | 19 | |
AbstractRepository::removeByIds() | 42 | 28 | |
Product::findPrice() | 30 | 9 | |
Product::updatePrices() | 30 | 22 | |
AbstractRepository::generator() | 30 | 25 | |
Order::updateOrderLines() | 30 | 19 | |
Order::totalPriceWithoutFees() | 20 | 18 | |
Order::findOrderLine() | 12 | 9 | |