Code Analysis: Website Toolbox Community 1.9.5

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