Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A JsonImporterTest.php$0 ➔ testIsImportingMethod() 0 28 2 ? 0 0 0
A JsonExporterTest.php$0 ➔ fooModelForTest() 0 13 2 ? 0 0 0
A JsonImporterTest::testImportSeveralTimesWillJustAdd() 0 12 2 ? 1 0 0
A JsonImporterTest.php$0 ➔ testImportNonImportableObjects() 0 12 1 ? 0 0 0
A Tests\JsonExporterTest::setDatabase() 0 10 1 ? 1 0 0
A JsonImporterTest::testImportNullRelation() 0 9 1 ? 1 0 0
A JsonImporter::getRelationObject() 0 9 3 3 0 0 0
A RelationsInModelFinder::getMethodCode() 0 9 2 2 0 0 0
A Traits\JsonExporter::exportToJson() 0 1 1 1 0 0 0
A JsonImporterTest::testImportBadJson() 0 3 1 ? 1 0 0
A Helpers\JsonImporter::__construct() 0 1 1 1 0 0 0
A RelationsInModelFinder::__construct() 0 2 1 1 0 0 0
A JsonExporterTest::testExportToJson() 0 4 1 ? 1 0 0
A JsonImporterTest::testImportNullAttribute() 0 8 1 ? 1 0 0
A MathieuTu\JsonSyncer\Tests\MyModel::bar() 0 1 1 ? 0 0 0