WpdiscuzHelperOptimization C

Total Complexity 101
Dependencies 5
Dependents 1
Total lines 367
Lines of code 292
Logical lines of code 176
Comment lines 25
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
cleanAllCaches()
A
46 13 39
cleanPostCache()
A
49 10 32
getCommentRoot()
A
54 10 21
onProfileUpdate()
S
61 7 11
notifyOnApprove()
S
54 6 19
getTreeByParentId()
S
61 5 12
getCommentParentsTree()
S
62 5 11
statusEventHandler()
S
62 5 10
isApplicableToRequest()
S
65 4 9
resetPhrases()
S
68 4 6
removeSocialAvatars()
S
68 4 6
removeVoteData()
S
66 4 7
__construct()
S
50 2 26
getCommentDepth()
S
65 3 9
cleanCommentRelatedRows()
S
69 3 7
deleteUserRelatedData()
S
65 3 9
optionUpdated()
S
63 2 12
pluginDeactivated()
S
64 2 11
wpfProfileUpdate()
S
71 1 5
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
78 1 3
getWpDiscuzSpecificArgs()
S
79 1 3