Percentage | Lines | ||
---|---|---|---|
Repository |
|
100 % | 104 |
ServiceProvider |
|
100 % | 28 |
CRAP Score | Lines | |
---|---|---|
Repository::getDefaultByUser() | 3 | 18 |
Repository::setDefault() | 2 | 7 |
Repository::updateByUser() | 2 | 10 |
ServiceProvider::boot() | 2 | 6 |
Repository::model() | 1 | 4 |
Repository::create() | 1 | 8 |
Repository::update() | 1 | 8 |
Repository::getByUser() | 1 | 4 |
ServiceProvider::register() | 1 | 4 |
ServiceProvider::registerMigrations() | 1 | 4 |