Code Analysis: Website Toolbox Community 1.9.8

Function Rating Maintainability Complexity Lines of code
onForumDashboardLogin()
D
23
37 188
onForumUpdateSettings()
D
26
30 163
wpse_plugin_comment_template()
C
29 24 117
custom_meta_box_markup()
C
33 24 98
addUpdateTopic()
B
32 18 114
updateForumDataByDomainURL()
A
37 13 77
checkForumEnableOrInvalidAPI()
A
48 16 29
dashboardUserRolesMultiSelect()
A
38 13 68
redirectPrivateForum()
A
42 12 52
ssoLoginLogout()
A
45 12 40
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
44 10 42
onForumPluginActivation()
A
46 9 38
afterLoginRedirection()
A
47 9 36
ssoHttpRequest()
A
47 9 34
loginAndSetCookies()
A
54 10 19
updateDomainViaSQL()
A
46 8 38
sidebar_plugin_register()
A
40 6 68
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
updateByWebhook()
S
52 6 22
forumSettingsPage()
S
54 6 21
apiRequest()
S
51 5 25
checkTopicCategory()
S
51 5 25
updateUserOnForum()
S
52 5 23
embedContent()
S
50 4 33
resetCookieOnLogout()
S
66 6 7
unsetWarnings()
S
64 6 9
getAuthtokenForLogin()
S
58 5 14
redirectionToAvoidAMP()
S
58 5 14
isForumEmbeddedOnHomePage()
S
56 4 17
publish_post_after_save()
S
57 4 17
createHyperlink()
S
57 4 17
onForumPluginDeactivation()
S
58 4 16
getProfileImage()
S
61 4 14
publishForumPage()
S
62 4 11
getDomainName()
S
63 4 10
changeForumLink()
S
67 4 7
checkPostStatus()
S
63 4 10
showForumDashboardUpdatePage()
S
48 1 43
setCookieOnLogin()
S
59 3 13
isForumAndWebsiteOnsameDomain()
S
61 3 12
redirectAfterActivation()
S
61 3 12
appendTokenInURL()
S
63 3 11
getUserid()
S
62 3 11
createForumPage()
S
55 2 19
wtbGetCurrentPageUrl()
S
72 3 4
getAllCategoriesForSideBar()
S
68 3 7
wtCheckForSidebar()
S
67 3 8
showForumDashboardLoginPage()
S
53 1 29
httpRequestForUninstallReinstallPlugin()
S
59 2 13
forumDashboardUpdateEmbedOption()
S
60 2 12
getCategoryList()
S
65 2 9
validateForumUrl()
S
70 2 7
handle_wtWebhookEndpoint()
S
72 2 6
addPluginSettingsLink()
S
64 2 10
dashboardLoginUsername()
S
69 2 6
isForumRefererUrl()
S
67 2 7
startForumSession()
S
75 2 5
showForumDashboardMenu()
S
65 2 8
removeParam()
S
71 1 5
esc_attr()
S
92 1 1
esc_url()
S
92 1 1
dashboardLoginPassword()
S
74 1 5
forumDashboardUpdateOption()
S
77 1 4
pluginAssets()
S
76 1 4
sidebar_init()
S
70 1 6
dashboardLoginDescription()
S
70 1 7
sidebar_plugin_script_enqueue()
S
82 1 3
forumDashboardUpdateEmbeddedCommentsOption()
S
76 1 5
dashboardLoginCreateAccountOption()
S
72 1 5
forumDashboardUpdateDescription()
S
83 1 3
saveAuthToken()
S
71 1 5
getLoginUrl()
S
72 1 5
wtWebhookEndpoint()
S
80 1 3
validateAPIKeyCall()
S
63 1 10
unsetLoginSession()
S
79 1 3
userRolesScript()
S
75 1 4
forumDashboardUpdateUsername()
S
72 1 5