WpdiscuzHelper D

Total Complexity 460
Dependencies 5
Dependents 10
Total lines 1,936
Lines of code 1,601
Logical lines of code 979
Comment lines 39
Methods 89
Properties 8

Methods 89

Method Rating Maintainability Complexity Lines of code
initCustomCss()
D
27
31 147
getCommentAuthor()
C
31 30 99
checkMetaFeedbackShortcodes()
C
35 31 74
checkFeedbackShortcodes()
C
37 27 67
handleCommentSubmission()
B
41 17 54
wpdGetInfo()
A
39 14 65
dateDiff()
A
46 15 36
fillUserRoleData()
A
46 12 38
__construct()
A
40 11 52
restrictCommentingPerUser()
A
50 11 26
wpDiscuzSuperSocializerLogin()
A
47 9 32
preGetDefaultAvatarForUser()
A
48 9 30
setNonceInCookies()
A
48 9 30
preGetDefaultAvatarForGuest()
A
48 9 30
userMentioning()
A
50 9 26
canUserEditComment()
A
59 10 11
resetRatingsButtons()
A
41 4 92
isLoadWpdiscuz()
S
65 9 7
getProfileUrl()
S
59 7 13
getUserNameAndEmail()
S
52 6 25
colorBrightness()
S
56 5 16
enqueueWpDiscuzStyle()
S
57 5 16
addRatingResetButton()
S
60 5 12
sanitize()
S
61 5 12
isContentInRange()
S
60 5 12
replaceUrlToImg()
S
60 5 11
getMentionedUsers()
S
56 4 18
disableAddonsDemo()
S
68 5 6
commentRowStickAction()
S
56 4 15
replaceImageToURL()
S
63 5 9
validateNonce()
S
62 5 10
getComponents()
S
57 4 15
getTwitterShareContent()
S
59 4 13
filterCommentText()
S
61 4 12
isUnapprovedInTree()
S
63 4 11
getDeleteAllSubscriptionsButton()
S
58 3 16
getDeleteAllCommentsButton()
S
58 3 16
umAuthorName()
S
64 4 10
isCommentEditable()
S
63 4 9
getNumber()
S
62 4 10
userNicename()
S
68 4 6
getDate()
S
59 3 14
getCommentDate()
S
59 3 14
makeClickable()
S
59 3 14
getPostDate()
S
59 3 14
_spoiler()
S
60 3 12
scanDir()
S
61 3 12
fixEmailFrom()
S
62 3 11
filterKses()
S
47 1 41
getCommentFormPath()
S
65 3 9
getWalkerPath()
S
65 3 9
fixURLScheme()
S
69 3 6
getWhatsappShareContent()
S
62 3 10
setNonceLife()
S
70 3 6
getCurrentUserDisplayName()
S
67 3 8
deleteCookiesButton()
S
61 2 13
superSocializerFix()
S
64 2 11
fixLocalhostIp()
S
71 2 6
getActivityContentHtml()
S
64 2 10
generateNonceKey()
S
78 2 3
isPostedToday()
S
67 2 7
getRealIPAddr()
S
66 2 8
replaceCommentContentCode()
S
65 2 9
commentDataArr()
S
68 2 7
getCurrentUser()
S
67 2 8
doShortcode()
S
71 2 6
getSubscriptionsContentHtml()
S
64 2 10
getFollowsContentHtml()
S
64 2 10
isValidAvatar()
S
70 2 5
getBPUserUrl()
S
78 2 3
isUserCanFollowOrSubscribe()
S
62 1 12
wpdDeactivationReasonModal()
S
80 1 3
updatePostAuthorsTrs()
S
76 1 4
getFollowsPage()
S
71 1 6
generateNonce()
S
80 1 3
getSubscriptionsTitleHtml()
S
73 1 5
getMicrotime()
S
74 1 4
getFollowsTitleHtml()
S
73 1 5
getUIDData()
S
75 1 4
multipleBlockquotesToOne()
S
72 1 5
addCommentTypes()
S
75 1 4
getSubscriptionsPage()
S
69 1 7
getActivityPage()
S
69 1 7
strWordCount()
S
67 1 7
getActivityTitleHtml()
S
73 1 5
replaceCodeContent()
S
71 1 5
spoiler()
S
78 1 3
isPostPostedToday()
S
77 1 3
getCommentExcerpt()
S
72 1 4