Mapbd_wps_role B

Total Complexity 91
Dependencies 2
Dependents 6
Total lines 464
Lines of code 355
Logical lines of code 215
Comment lines 34
Methods 24
Properties 10

Methods 24

Method Rating Maintainability Complexity Lines of code
UpdateExAccess()
A
46 15 34
SetDefaultRole()
A
45 11 41
AddNewAccess()
A
54 10 20
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
AddRoleIfNotExists()
S
68 2 7
GetRoleList()
S
63 2 10
DeleteBySlug()
S
69 2 7
getAgentRoles()
S
66 2 8
GetPropertyOptionsColor()
S
64 2 10
SetValidation()
S
62 1 11
UpdateDBTableCharset()
S
66 1 8
IsBuiltInRole()
S
74 1 4
DropDBTable()
S
70 1 6
GetRoleObjectBy()
S
65 1 9
__construct()
S
64 1 10