WpdiscuzHelperOptimization A

Total Complexity 71
Dependencies 5
Dependents 1
Total lines 230
Lines of code 191
Logical lines of code 120
Comment lines 18
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
cleanAllCaches()
A
46 13 39
cleanPostCache()
A
49 10 31
getCommentRoot()
A
54 10 21
onProfileUpdate()
S
63 7 9
getTreeByParentId()
S
62 5 11
statusEventHandler()
S
67 4 8
removeVoteData()
S
68 4 6
resetPhrases()
S
68 4 6
notifyOnApprove()
S
60 3 14
isReplyInAuthorTree()
S
63 3 11
getCommentDepth()
S
65 3 9
deleteUserRelatedData()
S
68 3 7
__construct()
S
58 1 14
cleanCommentRelatedRows()
S
74 1 5