CMA_AnswerThread D

Total Complexity 159
Dependencies 5
Dependents 5
Total lines 1,080
Lines of code 729
Logical lines of code 385
Comment lines 62
Methods 95
Properties 3

Methods 95

Method Rating Maintainability Complexity Lines of code
renderDaysAgo()
A
42 9 58
newThread()
A
42 8 51
customOrder()
S
52 6 26
addCommentToThread()
S
46 5 39
getAnswers()
S
48 5 34
getInstance()
S
59 6 15
_notifyOnFollow()
S
51 5 25
notifyAboutNewQuestion()
S
49 4 31
getAnswersByUser()
S
59 3 14
getQuestionsByUser()
S
56 2 18
getNumberOfAnswers()
S
67 3 8
getStatus()
S
71 3 5
getCommentData()
S
58 2 14
updateThreadMetadata()
S
65 2 11
notifyModeratorAnswer()
S
51 1 25
notifyModerator()
S
53 1 21
init()
S
55 1 19
setStatus()
S
73 2 5
getUpdated()
S
74 2 4
seContent()
S
72 2 5
setNewQuestionNotification()
S
65 2 9
isEditAllowed()
S
78 2 3
setAuthor()
S
73 2 5
getLastPoster()
S
72 2 5
setUpdated()
S
70 2 6
getCreationDate()
S
73 2 4
getNewQuestionNotification()
S
71 2 5
registerAdminMenu()
S
65 2 8
deleteQuestions()
S
70 2 6
getTitle()
S
71 2 5
restoreQuestions()
S
70 2 6
getVotes()
S
74 2 4
isQuestionExists()
S
61 1 12
getNewQuestionAdminNotificationContent()
S
79 1 3
setSidebarEnabled()
S
79 1 3
setSidebarMaxWidth()
S
79 1 3
getNotificationTitle()
S
79 1 3
isSidebarEnabled()
S
75 1 4
getNotificationContent()
S
79 1 3
setNotificationTitle()
S
79 1 3
setVotesMode()
S
79 1 3
setNotificationContent()
S
79 1 3
getNewQuestionNotificationContent()
S
79 1 3
getSidebarMaxWidth()
S
75 1 4
getLastPosterName()
S
76 1 4
getNewAnswerAdminNotificationContent()
S
79 1 3
getNewAnswerAuthorNotificationContent()
S
79 1 3
getNewQuestionNotificationTitle()
S
79 1 3
setNewQuestionNotificationTitle()
S
79 1 3
setNewQuestionNotificationContent()
S
79 1 3
setNegativeRatingAllowed()
S
79 1 3
setNewQuestionAdminNotificationContent()
S
79 1 3
setNewAnswerAdminNotificationContent()
S
79 1 3
setNewAnswerAuthorNotificationContent()
S
79 1 3
showLoginForm()
S
80 1 3
getQuestions()
S
65 1 9
getMarkupBoxShow()
S
79 1 3
getQuestionsTitle()
S
79 1 3
isVisible()
S
82 1 3
getPermalink()
S
74 1 4
getVotesMode()
S
79 1 3
setAnswerAutoApproved()
S
79 1 3
setRatingAllowed()
S
79 1 3
trash()
S
80 1 3
getViews()
S
79 1 3
addView()
S
72 1 5
addVote()
S
70 1 6
getHighestRatedAnswer()
S
79 1 3
refreshHighestRatedAnswer()
S
66 1 7
isResolved()
S
78 1 3
setResolved()
S
75 1 4
getListeners()
S
79 1 3
addListener()
S
68 1 7
getUnixUpdated()
S
79 1 3
getAuthor()
S
80 1 3
getAuthorId()
S
82 1 3
delete()
S
78 1 3
approve()
S
80 1 3
lightContent()
S
78 1 3
isNegativeRatingAllowed()
S
75 1 4
getLightContent()
S
80 1 3
getContent()
S
82 1 3
getVoters()
S
78 1 3
addVoter()
S
68 1 7
isVotingAllowed()
S
78 1 3
voteUp()
S
69 1 6
voteDown()
S
69 1 6
getUnixDate()
S
79 1 3
setShowLoginForm()
S
79 1 3
setQuestionAutoApproved()
S
79 1 3
setLastPoster()
S
75 1 4
isQuestionAutoApproved()
S
78 1 3
isAnswerAutoApproved()
S
78 1 3
isRatingAllowed()
S
75 1 4
isPublished()
S
80 1 3