WpdiscuzDBManager D

Total Complexity 243
Dependencies 2
Dependents 1
Total lines 1,211
Lines of code 935
Logical lines of code 609
Comment lines 103
Methods 130
Properties 8

Methods 130

Method Rating Maintainability Complexity Lines of code
fixTables()
B
38 16 77
addNewFollow()
A
49 14 25
getActiveUsers()
S
52 7 22
getGraphAllComments()
S
53 7 19
getGraphInlineComments()
S
53 7 19
addStcrSubscriptions()
S
50 5 26
getMostReactedCommentId()
S
55 5 19
getLastCommentId()
S
55 5 17
rebuildRatings()
S
56 5 16
addLstcSubscriptions()
S
51 4 26
addGravatars()
S
54 4 18
getUserVotes()
S
59 4 14
updatePhrases()
S
60 4 13
addEmailNotification()
S
59 4 12
updateUserInfo()
S
55 3 20
getNewCommentIds()
S
58 3 14
getStcrSubscriptions()
S
65 3 8
getLstcSubscriptions()
S
65 3 8
isFollowExists()
S
66 3 8
dbCreateTables()
S
56 1 19
isTableExists()
S
74 2 4
deletePhrases()
S
73 2 5
getPhrases()
S
64 2 9
commentIDsToRemove()
S
62 2 10
getParentCommentsHavingReplies()
S
63 2 10
unsubscribeLink()
S
64 2 8
confirmLink()
S
68 2 6
getPostsAuthors()
S
65 2 8
removeVotes()
S
70 2 5
deleteSubscriptions()
S
69 2 6
deleteVotes()
S
69 2 6
getGravatars()
S
64 2 9
getExpiredGravatars()
S
65 2 9
deleteExpiredGravatars()
S
68 2 7
updateGravatarsStatus()
S
66 2 8
getSubscriptions()
S
69 2 5
getFollows()
S
69 2 5
getUserFollows()
S
66 2 8
getUserFollowers()
S
66 2 8
followConfirmLink()
S
68 2 6
followCancelLink()
S
68 2 6
regenerateVoteMetas()
S
64 2 9
regenerateVoteData()
S
67 2 7
regenerateClosedComments()
S
68 2 6
deleteFeedbackForm()
S
67 2 7
isUserRated()
S
64 2 9
initDB()
S
62 1 11
__construct()
S
83 1 3
addVoteType()
S
73 1 4
updateVoteType()
S
73 1 4
isUserVoted()
S
74 1 4
isPhraseExists()
S
74 1 4
getAuthorVisibleComments()
S
74 1 4
getCommentsByParentId()
S
74 1 4
getPostNewCommentNotification()
S
73 1 4
getAllNewCommentNotification()
S
73 1 4
getNewReplyNotification()
S
73 1 4
hasSubscription()
S
71 1 5
hasConfirmedSubscription()
S
72 1 5
hasConfirmedSubscriptionByID()
S
72 1 5
deleteCommentNotifications()
S
74 1 4
getUnsubscribeLinkParams()
S
73 1 4
notificationConfirm()
S
74 1 4
unsubscribe()
S
74 1 4
alterPhrasesTable()
S
75 1 4
alterVotingTable()
S
75 1 4
alterVotingTableForDateAndPostId()
S
75 1 4
alterNotificationTable()
S
75 1 4
alterSubscriptionTable()
S
75 1 4
getVotes()
S
74 1 4
getBlogID()
S
82 1 3
getBlogIDs()
S
79 1 3
dropTables()
S
65 1 9
deleteUserVotes()
S
74 1 4
deleteGravatars()
S
79 1 3
getStcrAllSubscriptions()
S
75 1 4
getUserSubscription()
S
71 1 5
getLstcAllSubscriptions()
S
75 1 4
getCommentsCount()
S
74 1 4
getInlineCommentsCount()
S
73 1 4
getThreadsCount()
S
74 1 4
getRepliesCount()
S
74 1 4
getUserCommentersCount()
S
74 1 4
getGuestCommentersCount()
S
74 1 4
getAllSubscribersCount()
S
74 1 4
getPostSubscribersCount()
S
73 1 4
getAllCommentSubscribersCount()
S
73 1 4
getCommentSubscribersCount()
S
73 1 4
getFollowersCount()
S
74 1 4
getFollowingCount()
S
74 1 4
getHottestTree()
S
71 1 5
deleteStatisticCaches()
S
74 1 4
deleteOldStatisticCaches()
S
75 1 4
getSubscriptionsCount()
S
74 1 4
getSubscriptionById()
S
74 1 4
unsubscribeById()
S
74 1 4
unsubscribeByEmail()
S
74 1 4
getFollowsCount()
S
74 1 4
getFollowById()
S
74 1 4
unfollowById()
S
74 1 4
unfollowByEmail()
S
74 1 4
deleteFollowsByEmail()
S
74 1 4
confirmFollow()
S
73 1 4
cancelFollow()
S
73 1 4
showVoteRegenerate()
S
75 1 4
getVoteRegenerateCount()
S
75 1 4
getVoteRegenerateData()
S
74 1 4
showVoteDataRegenerate()
S
75 1 4
getVoteDataRegenerateCount()
S
75 1 4
getVoteDataRegenerateData()
S
74 1 4
showClosedRegenerate()
S
75 1 4
getClosedRegenerateCount()
S
75 1 4
getClosedRegenerateData()
S
74 1 4
usersHaveComments()
S
75 1 4
userHasComments()
S
74 1 4
updateCommentersData()
S
75 1 4
updateCommenterData()
S
73 1 4
getRebuildRatingsCount()
S
74 1 4
getRebuildRatingsData()
S
73 1 4
addFeedbackForm()
S
73 1 4
getFeedbackForm()
S
74 1 4
getFeedbackFormByUid()
S
74 1 4
updateFeedbackForm()
S
73 1 4
postHasFeedbackForms()
S
74 1 4
getOpenedFeedbackForms()
S
74 1 4
addRate()
S
73 1 4
getPostRatingData()
S
74 1 4
removeRatings()
S
74 1 4
deleteCommentMeta()
S
74 1 4
deleteCommentMetaByKeyAndValue()
S
74 1 4