WpdiscuzHelperOptimization B

Total Complexity 92
Dependencies 5
Dependents 1
Total lines 312
Lines of code 259
Logical lines of code 162
Comment lines 19
Methods 25
Properties 4

Methods 25

Method Rating Maintainability Complexity Lines of code
cleanAllCaches()
A
46 13 39
cleanPostCache()
A
49 10 31
getCommentRoot()
A
54 10 21
onProfileUpdate()
S
61 7 11
notifyOnApprove()
S
54 6 19
getTreeByParentId()
S
62 5 11
statusEventHandler()
S
62 5 10
isApplicableToRequest()
S
65 4 9
resetPhrases()
S
68 4 6
removeVoteData()
S
66 4 7
__construct()
S
51 2 25
getCommentDepth()
S
65 3 9
cleanCommentRelatedRows()
S
69 3 7
deleteUserRelatedData()
S
65 3 9
pluginDeactivated()
S
69 2 6
optionUpdated()
S
71 2 5
wpfProfileUpdate()
S
73 1 4
bpAvatarUploaded()
S
74 1 4
actionsOnDeletedPost()
S
73 1 5
actionsOnUpdatedPost()
S
80 1 3
commentEdited()
S
79 1 3
addCustomVariables()
S
72 1 5
deleteCustomVariable()
S
76 1 4
addWpDiscuzParams()
S
77 1 3
getWpDiscuzSpecificArgs()
S
79 1 3