Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
C | Migrations\Service\Migration::migrate() | 0 | 17 | 12 | 5 | 0 | 2 |
C | Migrations\Config::__construct() | 0 | 19 | 8 | 3 | 1 | 2 |
C | Migrations\Version\Resolver::getAll() | 7 | 27 | 10 | 1 | 0 | 0 |
B | Service\Migration::applyMigration() | 0 | 26 | 6 | 4 | 0 | 1 |
B | Controller\ListController::onDispatch() | 0 | 10 | 5 | 1 | 0 | 0 |
B | Service\Generator::getTemplate() | 0 | 5 | 1 | 3 | 1 | 0 |
B | Migrations\Module::getConsoleUsage() | 0 | 22 | 1 | 4 | 1 | 1 |
B | Controller\ApplyController::onDispatch() | 0 | 14 | 4 | 2 | 0 | 0 |
A | Controller\InitController::onDispatch() | 0 | 12 | 3 | 1 | 0 | 1 |
A | Migration::sortMigrationsByVersionDesc() | 7 | 8 | 3 | 2 | 0 | 0 |
A | TableGatewayFactory::createService() | 0 | 7 | 1 | 2 | 0 | 0 |
A | Controller\VersionController::onDispatch() | 12 | 6 | 2 | 1 | 0 | 0 |
A | Version\Table::getCurrentVersion() | 0 | 6 | 2 | 1 | 0 | 0 |
A | ApplyControllerFactory::createService() | 0 | 4 | 1 | 1 | 0 | 0 |
A | Migration::hasMigrationVersions() | 0 | 5 | 3 | 1 | 0 | 0 |