Mapbd_wps_role A

Total Complexity 61
Dependencies 2
Dependents 6
Total lines 350
Lines of code 277
Logical lines of code 157
Comment lines 19
Methods 20
Properties 10

Methods 20

Method Rating Maintainability Complexity Lines of code
SetDefaultRole()
A
45 11 40
SetCapabilitiesByRole()
S
55 7 19
GetAddForm()
S
48 3 41
GetSlugBy()
S
57 4 17
GetPropertyRawOptions()
S
58 4 16
GetRoleListWithCapabilities()
S
60 4 13
Save()
S
62 4 11
IsAdminRole()
S
65 4 9
CreateDBTable()
S
57 2 20
AddRole()
S
65 3 9
GetRoleList()
S
63 2 10
AddRoleIfNotExists()
S
68 2 7
DeleteBySlug()
S
69 2 7
getAgentRoles()
S
66 2 8
GetPropertyOptionsColor()
S
64 2 10
SetValidation()
S
62 1 11
DropDBTable()
S
70 1 6
GetRoleObjectBy()
S
65 1 9
IsBuiltInRole()
S
74 1 4
__construct()
S
64 1 10