Code Analysis: Website Toolbox Community 2.1.0

Function Rating Maintainability Complexity Lines of code
onForumUpdateSettings()
D
21
50 190
onForumDashboardLogin()
D
21
49 196
custom_meta_box_markup()
D
31 35 102
addUpdateTopic()
C
29 28 124
wpse_plugin_comment_template()
C
29 24 117
ssoLoginLogout()
C
39 25 55
sidebar_plugin_register()
B
36 18 83
redirectToEmbedPage()
B
47 19 31
updatePageContent()
B
42 18 43
updateUserOnForum()
B
42 17 46
updateForumDataByDomainURL()
A
37 13 78
checkForumEnableOrInvalidAPI()
A
48 16 29
dashboardUserRolesMultiSelect()
A
38 13 68
logoutUserOnForum()
A
43 14 46
updateForumData()
A
46 14 34
createUserOnForum()
A
42 12 48
onForumPluginActivation()
A
44 12 45
ssoHttpRequest()
A
44 12 41
checkReferelUrlOnLogin()
A
51 13 24
showWarnings()
A
53 13 20
addAuthtokenCustomLink()
A
47 12 34
createForumLinkInMenu()
A
48 12 32
checkTopicCategory()
A
48 12 31
isSsoEnableForUserRole()
A
51 12 26
checkPluginLogin()
A
44 10 42
deleteForumUser()
A
45 10 39
printTestRequestStatus()
A
48 10 29
publish_post_after_save()
A
50 10 27
getAuthtokenForLogin()
A
51 10 24
updateDomainViaSQL()
A
46 9 38
loginAndSetCookies()
A
54 10 19
changeForumLink()
A
56 10 16
deleteExistingForumUser()
A
48 8 31
updateByWebhook()
A
52 8 22
redirectionToAvoidAMP()
A
53 8 21
setForumCookies()
S
51 7 26
apiRequest()
S
53 7 20
resetPasswordOnForum()
S
55 7 19
redirectToPluginSettingsPage()
S
55 7 19
getForumPostData()
S
54 7 18
resetCookieOnLogout()
S
63 8 9
getRedirectURL()
S
57 7 15
wtbGetAllowedHTMLTags()
S
37 1 104
testDeclineMemberRequest()
S
51 6 25
forumSettingsPage()
S
53 6 22
redirectToForum()
S
56 6 18
showPageActionMessage()
S
55 5 21
unsetWarnings()
S
64 6 9
embedContent()
S
52 4 27
findPageWithEmbedCode()
S
53 4 24
isForumEmbeddedOnHomePage()
S
56 4 17
createHyperlink()
S
57 4 17
onForumPluginDeactivation()
S
58 4 16
handle_wtWebhookEndpoint()
S
63 5 10
wtbGetCurrentPageUrl()
S
67 5 6
dashboardLoginUsername()
S
61 5 10
getProfileImage()
S
61 4 14
getUserid()
S
62 4 11
publishForumPage()
S
62 4 11
getAllCategoriesForSideBar()
S
63 4 11
showForumUpdateSettingsPage()
S
55 3 21
checkPostStatus()
S
63 4 10
getDomainName()
S
63 4 10
setCookieOnLogin()
S
59 3 13
showForumDashboardUpdatePage()
S
48 1 43
isForumAndWebsiteOnsameDomain()
S
61 3 12
redirectAfterActivation()
S
61 3 12
appendTokenInURL()
S
63 3 11
createForumPage()
S
55 2 19
isForumRefererUrl()
S
66 3 7
wtCheckForSidebar()
S
67 3 8
showForumDashboardLoginPage()
S
53 1 29
httpRequestForUninstallReinstallPlugin()
S
59 2 13
createOrUpdateForumPage()
S
61 2 12
forumDashboardUpdateEmbedOption()
S
60 2 12
printLogoutImage()
S
62 2 10
unsetCookie()
S
77 2 3
wtbGenerateHTMLTag()
S
65 2 8
getCategoryList()
S
65 2 9
validateForumUrl()
S
70 2 7
addPluginSettingsLink()
S
64 2 10
ssoLogoutOnUpdatePassword()
S
73 2 5
showForumDashboardMenu()
S
65 2 8
startForumSession()
S
73 2 6
wtWebhookEndpoint()
S
78 1 3
dashboardLoginPassword()
S
72 1 5
dashboardLoginDescription()
S
68 1 7
getLoginUrl()
S
72 1 5
esc_url()
S
92 1 1
forumDashboardUpdateEmbeddedCommentsOption()
S
69 1 6
sidebar_plugin_script_enqueue()
S
82 1 3
saveAuthToken()
S
69 1 6
userRolesScript()
S
69 1 6
removeParam()
S
71 1 5
allowDomainForRedirect()
S
72 1 5
dashboardLoginCreateAccountOption()
S
71 1 5
forumDashboardUpdateOption()
S
76 1 4
hasAuthtokenInUrl()
S
79 1 3
getEmbedCodeHTML()
S
64 1 9
forumDashboardUpdateUsername()
S
71 1 5
unsetLoginSession()
S
79 1 3
sidebar_init()
S
70 1 6
forumDashboardUpdateDescription()
S
83 1 3
validateAPIKeyCall()
S
63 1 10
esc_attr()
S
92 1 1