WpdiscuzHelper D

Total Complexity 389
Dependencies 3
Dependents 9
Total lines 1,488
Lines of code 1,351
Logical lines of code 857
Comment lines 31
Methods 84
Properties 8

Methods 84

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