Code

Rating   Name Duplication Size Complexity Changes Bugs Features
C HasPermissionTrait::hasPermission() 0 16 7 0 0 0
B CreatePermissionTables::change() 0 51 5 0 0 0
B CakePermission\SchemaFactory::getRolesSchema() 0 27 2 1 0 1
B SchemaFactory::getPermissionsSchema() 0 27 2 1 0 1
A Model\Entity\UserTrait::hasRole() 0 6 4 0 0 0
A Shell\PermissionMigrateShell::main() 0 9 4 0 0 0
A SchemaFactory::getUsersRolesSchema() 0 13 2 1 0 1
A SchemaFactory::getRolesPermissionsSchema() 0 13 2 1 0 1
A Model\Entity\UserTrait::removeRole() 0 5 2 0 0 0
A Model\Table\UsersTable::initialize() 0 4 2 0 0 0
A Entity\UserTrait::removeAllRoles() 0 4 1 0 0 0
A Model\Entity\RoleTrait::create() 0 9 3 0 0 0
A Entity\PermissionTrait::create() 0 10 3 0 0 0
A Entity\RoleTrait::givePermission() 0 9 3 0 0 0
A UsersTableTrait::buildPermissionRelationship() 0 7 2 0 0 0