Code Analysis: Website Toolbox Forum 1.7.9

Function Rating Maintainability Complexity Lines of code
onForumDashboardLogin()
D
25
32 168
onForumUpdateSettings()
C
29
22 137
ssoLoginLogout()
C
38 24 66
dashboardUserRolesMultiSelect()
A
38 13 68
checkForumEnableOrInvalidAPI()
A
46 15 34
updateForumDataByDomainURL()
A
38 12 75
createForumLinkInMenu()
A
48 12 32
updatePageContent()
A
48 12 29
isSsoEnableForUserRole()
A
51 12 26
logoutUserOnForum()
A
45 11 39
showWarnings()
A
53 12 20
addAuthtokenCustomLink()
A
48 11 32
updateForumData()
A
48 11 30
checkPluginLogin()
A
45 10 40
afterLoginRedirection()
A
47 9 36
createUserOnForum()
A
46 8 37
checkReferelUrlOnLogin()
A
54 9 20
deleteExistingForumUser()
A
48 8 31
redirectPrivateForum()
A
52 8 23
ssoHttpRequest()
A
48 7 32
showForumUpdateSettingsPage()
A
50 7 31
setForumCookies()
S
51 7 26
getForumPostData()
S
56 7 17
forumSettingsPage()
S
55 6 21
forumExists()
S
54 6 20
deleteForumUser()
S
49 5 31
embedContent()
S
50 4 33
resetCookieOnLogout()
S
67 6 7
apiRequest()
S
53 4 22
onForumPluginActivation()
S
57 4 18
getProfileImage()
S
61 4 14
getAuthtokenForLogin()
S
59 4 13
publishForumPage()
S
63 4 11
updateUserOnForum()
S
55 3 19
getDomainName()
S
63 4 10
changeForumLink()
S
67 4 7
isForumEmbeddedOnHomePage()
S
59 3 13
onForumPluginDeactivation()
S
62 3 13
setCookieOnLogin()
S
60 3 13
isForumAndWebsiteOnsameDomain()
S
62 3 12
redirectAfterActivation()
S
62 3 12
getUserid()
S
62 3 11
appendTokenInURL()
S
64 3 11
showForumDashboardUpdatePage()
S
51 1 36
createForumPage()
S
56 2 19
showForumDashboardLoginPage()
S
54 1 29
forumDashboardUpdateEmbedOption()
S
61 2 12
isForumRefererUrl()
S
68 2 7
getLoginUrl()
S
64 2 10
showForumDashboardMenu()
S
66 2 8
dashboardLoginUsername()
S
69 2 6
addPluginSettingsLink()
S
64 2 10
validateForumUrl()
S
70 2 7
startForumSession()
S
75 2 5
dashboardLoginCreateAccountOption()
S
72 1 5
dashboardLoginPassword()
S
74 1 5
removeParam()
S
71 1 5
forumDashboardUpdateUsername()
S
73 1 5
saveAuthToken()
S
72 1 5
dashboardLoginDescription()
S
70 1 7
esc_url()
S
92 1 1
forumDashboardUpdateDescription()
S
83 1 3
userRolesScript()
S
75 1 4
esc_attr()
S
92 1 1
forumDashboardUpdateOption()
S
77 1 4
unsetLoginSession()
S
80 1 3