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 CakePermission\TableFactory::getModel() 0 3 1 0 0 0
A Entity\UserTrait::getAllPermissions() 0 8 2 0 0 0
A RolesTableTrait::buildPermissionRelationship() 0 14 3 0 0 0
A Table\PermissionsTable::initialize() 0 4 2 0 0 0
A RoleTrait::revokeAllPermissions() 0 5 1 0 0 0
A Model\Entity\UserTrait::assignRole() 0 9 3 0 0 0
A PermissionsTableTrait::buildPermissionRelationship() 0 8 2 0 0 0