WpdiscuzHelper D

Total Complexity 323
Dependencies 3
Dependents 8
Total lines 1,262
Lines of code 1,142
Logical lines of code 728
Comment lines 29
Methods 73
Properties 8

Methods 73

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