Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
B | Privileges\Manager::considerPermission() | 0 | 15 | 10 | 3 | 0 | 1 |
A | Detector::concernTimeRestriction() | 0 | 8 | 6 | 0 | 0 | 0 |
A | Privileges\Manager::considerRestriction() | 0 | 7 | 5 | 2 | 0 | 1 |
A | Detector::concernIpRestriction() | 0 | 11 | 5 | 1 | 0 | 0 |
A | Privileges\Detector::checkRestrictions() | 0 | 7 | 5 | 1 | 0 | 0 |
A | CreatePrivUserRoleTable::up() | 0 | 15 | 4 | 1 | 0 | 0 |
A | Manager::getAuthorizableMigration() | 0 | 13 | 3 | 2 | 0 | 1 |
A | PrivilegesServiceProvider::register() | 0 | 12 | 1 | 3 | 0 | 0 |
A | PermissionResolver::getScopeRestrictions() | 0 | 10 | 2 | 2 | 1 | 1 |
A | Privileges\Manager::assignRole() | 0 | 9 | 4 | 0 | 0 | 0 |
A | CreatePrivRolesTable::up() | 0 | 9 | 1 | 1 | 0 | 0 |
A | Events\Role\Creating::__construct() | 0 | 2 | 1 | 1 | 0 | 0 |
A | Privileges\Manager::__construct() | 0 | 1 | 1 | 1 | 0 | 0 |
A | Privileges\Models\Role::grantPermission() | 0 | 1 | 1 | 0 | 0 | 0 |
A | Privileges\Detector::ownerOrLevel() | 0 | 4 | 4 | 1 | 0 | 0 |