Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | ErrorHandler::convertExceptionToArray() | 0 | 13 | 7 | 7.02 | 2 | 0 | 0 |
A | ErrorHandlerTest::testConvertExceptionToArray() | 0 | 12 | 3 | ? | 1 | 0 | 0 |
A | JSend\Tests\ErrorHandlerTest::setUp() | 0 | 2 | 2 | ? | 1 | 0 | 0 |
A | Tests\FormmaterTest::testOptions() | 0 | 5 | 1 | ? | 1 | 0 | 0 |
A | SerializerTest::createSerializer() | 0 | 1 | 1 | ? | 1 | 0 | 0 |
A | Yii2\JSend\Formatter::getOptions() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | FormmaterTest::dataProviderFormat() | 0 | 5 | 1 | ? | 1 | 0 | 0 |
A | Tests\SerializerTest::testSerialize() | 0 | 8 | 2 | ? | 1 | 0 | 0 |
A | RazonYang\Yii2\JSend\Formatter::init() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | Tests\FormmaterTest::testFormat() | 0 | 8 | 2 | ? | 1 | 0 | 0 |
A | SerializerTest::dataProviderModel() | 0 | 7 | 1 | ? | 1 | 0 | 0 |
A | RazonYang\Yii2\JSend\Formatter::format() | 0 | 6 | 2 | 2 | 1 | 0 | 0 |
A | Yii2\JSend\Serializer::serialize() | 0 | 4 | 2 | 2 | 1 | 0 | 0 |
A | SerializerTest::testSerializeModelErrors() | 0 | 5 | 1 | ? | 1 | 0 | 0 |
A | Yii2\JSend\Formatter::setOptions() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |