Percentage | Lines | ||
---|---|---|---|
AuthFactory |
|
100 % | 14 |
Auth |
|
100 % | 16 |
AuthDecorator |
|
100 % | 64 |
AuthRoleTrait |
|
100 % | 99 |
CRAP Score | Lines | |
---|---|---|
AuthRoleTrait::getRoleFromAuth() | 3 | 12 |
AuthFactory::newInstance() | 1 | 4 |
Auth::getRoleId() | 1 | 4 |
AuthDecorator::__construct() | 1 | 4 |
AuthDecorator::getRoleId() | 1 | 4 |
AuthDecorator::getAuth() | 1 | 4 |
AuthDecorator::__call() | 1 | 4 |
AuthRoleTrait::setRoleKey() | 1 | 5 |
AuthRoleTrait::setGuestRole() | 1 | 5 |
AuthRoleTrait::setMemberRole() | 1 | 5 |