| Percentage | Lines | ||
|---|---|---|---|
| PhpDocDecorator |
|
40 % | 67 |
| Ip |
|
53 % | 26 |
| Country |
|
75 % | 9 |
| AssertGenerator |
|
84 % | 44 |
| LessThan |
|
100 % | 5 |
| Iban |
|
100 % | 8 |
| EqualTo |
|
100 % | 14 |
| DecoratorAbstract |
|
100 % | 39 |
| Choice |
|
100 % | 19 |
| AttachableGeneratorAbstract |
|
100 % | 31 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Ip::generateForProperty() | 34 | 24 | |
| PhpDocDecorator::castStringToBool() | 30 | 13 | |
| GreaterThanOrEqual::decorate() | 10 | 29 | |
| LessThanOrEqual::decorate() | 10 | 29 | |
| PhpDocDecorator::convertTypes() | 9 | 21 | |
| ClassMapper::getObjectForField() | 6 | 30 | |
| NotEqualTo::decorate() | 6 | 20 | |
| PhpDocDecorator::castBoolToString() | 6 | 3 | |
| ClassMapper::getMapping() | 5 | 12 | |
| CardScheme::generateForProperty() | 5 | 25 | |