Code Analysis: Website Toolbox Community 1.9.0

Function Rating Maintainability Complexity Lines of code
onForumDashboardLogin()
D
25
33 171
onForumUpdateSettings()
C
28
24 144
custom_meta_box_markup()
C
34 22 95
wpse_plugin_comment_template()
B
31 20 107
addUpdateTopic()
B
32 18 115
updateForumDataByDomainURL()
A
37 13 77
dashboardUserRolesMultiSelect()
A
38 13 68
checkForumEnableOrInvalidAPI()
A
46 15 34
redirectPrivateForum()
A
42 12 52
ssoLoginLogout()
A
46 12 38
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
loginAndSetCookies()
A
54 10 19
ssoHttpRequest()
A
47 9 34
sidebar_plugin_register()
A
40 6 67
createUserOnForum()
A
46 8 37
checkReferelUrlOnLogin()
A
54 9 20
deleteExistingForumUser()
A
48 8 31
deleteForumUser()
A
47 7 35
showForumUpdateSettingsPage()
A
49 7 31
setForumCookies()
S
51 7 26
getForumPostData()
S
55 7 17
forumSettingsPage()
S
54 6 21
checkTopicCategory()
S
51 5 25
apiRequest()
S
51 5 25
embedContent()
S
50 4 33
resetCookieOnLogout()
S
66 6 7
getAuthtokenForLogin()
S
58 5 14
onForumPluginActivation()
S
56 4 18
createHyperlink()
S
57 4 17
publish_post_after_save()
S
57 4 17
getProfileImage()
S
61 4 14
publishForumPage()
S
62 4 11
updateUserOnForum()
S
55 3 19
getDomainName()
S
63 4 10
checkPostStatus()
S
63 4 10
changeForumLink()
S
67 4 7
isForumEmbeddedOnHomePage()
S
59 3 13
setCookieOnLogin()
S
59 3 13
onForumPluginDeactivation()
S
61 3 13
isForumAndWebsiteOnsameDomain()
S
61 3 12
redirectAfterActivation()
S
61 3 12
getUserid()
S
62 3 11
appendTokenInURL()
S
63 3 11
showForumDashboardUpdatePage()
S
50 1 36
createForumPage()
S
55 2 19
showForumDashboardLoginPage()
S
53 1 29
forumDashboardUpdateEmbedOption()
S
60 2 12
showForumDashboardMenu()
S
65 2 8
getCategoryList()
S
65 2 9
isForumRefererUrl()
S
67 2 7
startForumSession()
S
75 2 5
validateForumUrl()
S
70 2 7
addPluginSettingsLink()
S
64 2 10
dashboardLoginUsername()
S
69 2 6
forumDashboardUpdateUsername()
S
72 1 5
removeParam()
S
71 1 5
saveAuthToken()
S
71 1 5
sidebar_init()
S
70 1 6
sidebar_plugin_script_enqueue()
S
82 1 3
pluginAssets()
S
76 1 4
esc_url()
S
92 1 1
unsetLoginSession()
S
79 1 3
userRolesScript()
S
75 1 4
dashboardLoginPassword()
S
74 1 5
forumDashboardUpdateDescription()
S
83 1 3
forumDashboardUpdateOption()
S
77 1 4
dashboardLoginDescription()
S
70 1 7
getLoginUrl()
S
72 1 5
dashboardLoginCreateAccountOption()
S
72 1 5
esc_attr()
S
92 1 1