Mapbd_wps_role A

Total Complexity 64
Dependencies 2
Dependents 6
Total lines 372
Lines of code 291
Logical lines of code 168
Comment lines 25
Methods 21
Properties 10

Methods 21

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
UpdateExStatus()
S
58 3 14
CreateDBTable()
S
57 2 20
AddRole()
S
64 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