Percentage | Lines | ||
---|---|---|---|
LocalDeliveryCost |
|
0 % | 30 |
ReaderFactory |
|
34 % | 44 |
DataProviderReader |
|
50 % | 85 |
QueryReader |
|
54 % | 68 |
DeliveryOption |
|
60 % | 71 |
BaseModel |
|
66 % | 193 |
Category |
|
67 % | 41 |
Currency |
|
67 % | 100 |
Shop |
|
71 % | 61 |
SimpleOffer |
|
72 % | 307 |
CRAP Score | Lines | ||
---|---|---|---|
SimpleOffer::appendParamTags() | 30 | 19 | |
ReaderFactory::build() | 21 | 31 | |
YmlCatalog::getNewModel() | 19 | 20 | |
BaseModel::loadModel() | 7 | 32 | |
GenerateAction::run() | 6 | 41 | |
YmlCatalog::writeEachModel() | 6 | 50 | |
SimpleOffer::getYmlPictureTag() | 6 | 10 | |
YmlCatalog::gc() | 6 | 7 | |
DataProviderReader::key() | 6 | 8 | |
YmlCatalog::writeModel() | 5 | 17 | |