Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B DeployMigration\Lib\Service\Migrator::run() 0 43 7 6 3 0
A Lib\Service\MigratorTest::testRun() 0 26 1 2 1 0
A MigratorTest::testRunWithError() 0 25 1 2 1 0
A RunDeployMigrationsCommand::handle() 0 22 4 1 0 1
A CreateDeployMigrationsTable::up() 0 10 1 1 0 0
A RunDeployMigrationsCommand::__construct() 0 5 1 0 0 0
A RunDeployMigrationsCommand::hasMigrationTable() 0 1 1 0 0 0
A Migrator::handleLaravelCommand() 0 3 1 1 0 0
A app() 0 3 2 1 0 0
A base_path() 0 1 2 0 0 0
A Lib\Service\Migrator::__construct() 0 3 1 1 0 0
A Lib\Service\Instantiator::create() 0 1 1 0 0 0
A Service\Config::getMigrationsPath() 0 1 1 1 0 0
A MigrationCreator::prepareTemplate() 0 1 1 0 0 0
A BaseDeployMigrationCommand::__construct() 0 1 1 0 0 0