| Percentage | Lines | ||
|---|---|---|---|
| JsonError |
|
44 % | 54 |
| JsonEncoder |
|
81 % | 623 |
| MigratingConverter |
|
86 % | 120 |
| JsonDecoder |
|
88 % | 320 |
| SchemaUriVersioner |
|
100 % | 63 |
| VersionFieldVersioner |
|
100 % | 40 |
| ValidationFailedException |
|
100 % | 35 |
| MigrationManager |
|
100 % | 136 |
| UnsupportedVersionException |
|
100 % | 25 |
| ValidatingConverter |
|
100 % | 85 |
| CRAP Score | Lines | ||
|---|---|---|---|
| JsonError::getErrorMessage() | 34 | 30 | |
| JsonEncoder::encode() | 24 | 101 | |
| JsonValidator::validate() | 10 | 42 | |
| JsonDecoder::decodeJson() | 8 | 34 | |
| JsonEncoder::encodeFile() | 7 | 60 | |
| JsonDecoder::decodeFile() | 7 | 60 | |
| ValidatingConverter::validate() | 5 | 25 | |
| JsonDecoder::decode() | 5 | 22 | |
| JsonDecoder::setMaxDepth() | 4 | 18 | |
| JsonEncoder::setMaxDepth() | 4 | 18 | |