Percentage | Lines | ||
---|---|---|---|
Wrapper |
|
76 % | 166 |
Structure |
|
91 % | 385 |
Mapper |
|
94 % | 200 |
FieldValidator |
|
100 % | 64 |
MustBeObject |
|
100 % | 10 |
MustBeSequence |
|
100 % | 10 |
MustBeSimple |
|
100 % | 10 |
UnknownField |
|
100 % | 10 |
InvalidJson |
|
100 % | 36 |
SmartValidator |
|
100 % | 44 |
CRAP Score | Lines | ||
---|---|---|---|
Structure::getCurrentSkipAttributes() | 20 | 14 | |
Structure::buildValueToMap() | 10 | 69 | |
Structure::map() | 8 | 38 | |
Object::getInputAttributes() | 6 | 29 | |
Structure::createAnnotationAdapter() | 5 | 22 | |
Smart::detectMapperClass() | 4 | 11 | |
Structure::getSkipAttributesByParent() | 3 | 13 | |
Transforms::findByInputFieldName() | 3 | 10 | |
Mapper::enableValidation() | 2 | 5 | |
Mapper::setOutputClassOrObject() | 2 | 9 | |