Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B Guardian\Http\Models\Role::addUser() 0 8 5 1 0 0
B WithPermissions::hasLocalAccess() 0 13 5 1 0 0
B CreateGuardianTables::up() 0 32 3 1 0 0
B Http\Models\Role::addPermission() 0 9 5 1 0 0
A GuardianMiddleware::hasLocalAccess() 0 7 4 1 0 0
A Guardian\Http\Models\Role::removeUser() 0 7 4 1 0 0
A Middleware\GuardianMiddleware::hasAccess() 0 6 4 1 0 0
A Traits\WithPermissions::hasAccess() 0 8 4 1 0 0
A GuardianMiddleware::hasGlobalAccess() 0 7 4 1 0 0
A Http\Models\Role::removePermission() 0 8 4 1 0 0
A Traits\WithPermissions::hasAccessAny() 0 10 4 1 0 0
A PermissionParameter::withDefaultID() 0 3 1 1 0 0
A GuardianServiceProvider::register() 0 10 2 1 0 0
A Guardian\Http\Guardian::restricted() 0 4 2 1 0 0
A Guardian\Http\Models\Role::scopeClient() 0 4 2 1 0 0