WpdiscuzDBManager D

Total Complexity 269
Dependencies 3
Dependents 4
Total lines 1,489
Lines of code 1,045
Logical lines of code 669
Comment lines 134
Methods 138
Properties 7

Methods 138

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