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 JsonImporter::getRelationObject() 0 9 3 3 0 0 0
A RelationsInModelFinder::getMethodCode() 0 9 2 2 0 0 0
A JsonImporterTest::testImportNullRelation() 0 9 1 ? 1 0 0
A JsonImporterTest.php$0 ➔ setAuthorAttribute() 0 7 2 ? 1 0 0
A MathieuTu\JsonSyncer\Tests\MyModel::baz() 0 1 1 ? 0 0 0
A JsonImporterTest::testImportFromJson() 0 2 1 ? 0 0 0
A JsonImporterTest::testImportFromArrayable() 0 2 1 ? 1 0 0
A JsonExporter::getJsonExportableAttributes() 0 2 1 1 0 0 0
A Helpers\JsonExporter::__construct() 0 1 1 1 0 0 0
A JsonExporterTest.php$0 ➔ getAuthorAttribute() 0 7 2 ? 0 0 0