WH_User C

Total Complexity 108
Dependencies 2
Dependents 11
Total lines 483
Lines of code 307
Logical lines of code 201
Comment lines 60
Methods 25
Properties 7

Methods 25

Method Rating Maintainability Complexity Lines of code
isAuthorized_action()
B
40 24 58
addRole()
A
44 16 45
userExists()
A
53 11 22
updateAuthorRole()
S
55 7 18
updateEditorRole()
S
55 7 18
isAuthorizedOnPage()
S
56 6 18
getWpUserName()
S
58 6 15
isAuthorizedOnWHdashboard()
S
55 5 18
__construct()
S
56 5 17
readCapabilities()
S
71 2 6
save()
S
69 2 7
getAll_Users()
S
66 2 8
readRoles()
S
71 2 6
get_User()
S
64 2 10
deleteRole()
S
73 1 5
addCapabilities()
S
76 1 4
getAll_UsersForRoles()
S
80 1 3
getAll_Admins()
S
80 1 3
getAll_Authors()
S
80 1 3
getAll_Editors()
S
80 1 3
getAll_Readers()
S
80 1 3
getAll_ReadersPremium()
S
80 1 3
updateDB_Object()
S
71 1 6
delete()
S
77 1 4
deleteCapabilities()
S
77 1 4