Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
A | Support\Database\Search::toArray() | 0 | 7 | 5 | 5.39 | 2 | 2 | 0 |
A | Helldar\Roles\ServiceProvider::blade() | 0 | 18 | 3 | ? | 3 | 1 | 0 |
A | Support\Database\Search::isPermission() | 0 | 1 | 1 | 1 | 1 | 1 | 0 |
A | SetAttribute::setSlugAttribute() | 0 | 2 | 1 | 1 | 0 | 0 | 0 |
A | Roles\Traits\Searchable::findObject() | 0 | 4 | 2 | 2.5 | 1 | 0 | 0 |
A | Database\BaseMigration::rename() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | Roles\Http\Middleware\Role::handle() | 0 | 4 | 3 | 3.07 | 1 | 0 | 0 |
A | Roles\Models\Role::hasPermission() | 0 | 1 | 1 | 2 | 0 | 0 | 0 |
A | Helldar\Roles\Support\Config::set() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | ModifyRolesAndPermissionsTablesRemoveTimestamps::createTimestamps() | 0 | 2 | 1 | ? | 0 | 0 | 0 |
A | ModifyRolesAndPermissionsTableOptimizeIndexes::up() | 0 | 2 | 1 | ? | 2 | 0 | 0 |
A | Roles\Traits\HasRoles::assignRole() | 0 | 2 | 1 | 1 | 1 | 0 | 0 |
A | Roles\Traits\Commands::roleIsExist() | 0 | 1 | 1 | 2 | 0 | 0 | 0 |
A | Roles\Traits\HasRoles::hasRole() | 0 | 3 | 1 | 1 | 1 | 0 | 0 |
A | PermissionNotFoundException::__construct() | 0 | 2 | 1 | 2 | 1 | 0 | 0 |