Mapbd_wps_role A

Total Complexity 66
Dependencies 2
Dependents 6
Total lines 388
Lines of code 300
Logical lines of code 176
Comment lines 28
Methods 22
Properties 10

Methods 22

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
CreateDBTable()
S
55 3 21
IsAdminRole()
S
65 4 9
UpdateExStatus()
S
58 3 14
AddRole()
S
64 3 9
DeleteBySlug()
S
69 2 7
AddRoleIfNotExists()
S
68 2 7
GetRoleList()
S
63 2 10
getAgentRoles()
S
66 2 8
GetPropertyOptionsColor()
S
64 2 10
SetValidation()
S
62 1 11
IsBuiltInRole()
S
74 1 4
UpdateDBTableCharset()
S
66 1 8
DropDBTable()
S
70 1 6
GetRoleObjectBy()
S
65 1 9
__construct()
S
64 1 10