Code Analysis: Website Toolbox Community 2.0.4

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