Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
C | Traits\Tenantable::prepareTenantIds() | 0 | 31 | 12 | 0 | 0 | 0 |
B | Traits\Tenantable::bootTenantable() | 0 | 20 | 6 | 0 | 0 | 0 |
A | CreateTenantsTable::up() | 0 | 28 | 1 | 0 | 0 | 0 |
A | Tenants\Models\Tenant::__construct() | 0 | 24 | 1 | 0 | 0 | 0 |
A | Commands\MigrateCommand::handle() | 0 | 20 | 3 | 0 | 0 | 0 |
A | Commands\RollbackCommand::handle() | 0 | 19 | 3 | 0 | 0 | 0 |
A | CreateTenantablesTable::up() | 0 | 14 | 1 | 0 | 0 | 0 |
A | TenantsServiceProvider::register() | 0 | 13 | 1 | 0 | 0 | 0 |
A | Tenants\Traits\Tenantable::findOrFail() | 0 | 13 | 3 | 0 | 0 | 0 |
A | Tenantable::scopeWithAllTenants() | 0 | 12 | 1 | 0 | 0 | 0 |
A | Commands\PublishCommand::handle() | 0 | 10 | 2 | 0 | 0 | 0 |
A | Traits\Tenantable::syncTenants() | 0 | 10 | 1 | 0 | 0 | 0 |
A | Traits\Tenantable::detachTenants() | 0 | 9 | 2 | 0 | 0 | 0 |
A | Models\Tenant::getLanguageAttribute() | 0 | 4 | 1 | 0 | 0 | 0 |
A | Tenants\Traits\Tenantable::hasTenants() | 0 | 6 | 1 | 0 | 0 | 0 |