Mapbd_wps_role C

Total Complexity 101
Dependencies 2
Dependents 6
Total lines 495
Lines of code 376
Logical lines of code 228
Comment lines 37
Methods 25
Properties 10

Methods 25

Method Rating Maintainability Complexity Lines of code
UpdateExAccess()
A
46 15 34
SetDefaultRole()
A
44 11 42
AddNewAccess2()
A
54 10 20
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