JSSTticketModel D

Total Complexity 584
Dependencies 7
Dependents 0
Total lines 2,577
Lines of code 2,204
Logical lines of code 1,609
Comment lines 225
Methods 70
Properties 1

Methods 70

Method Rating Maintainability Complexity Lines of code
storeTickets()
D
8
104 297
combineOrSingleSearch()
D
24
55 144
getTicketsForAdmin()
D
21
46 195
getTicketForDetail()
B
35 21 82
getStaffTickets()
B
34 15 92
setSearchVariableForTicket()
B
51 19 22
getTicketListOrdering()
A
39 14 74
banEmail()
A
39 12 61
getMyTickets()
A
38 11 72
closeTicket()
A
42 12 50
getRandomTicketId()
A
43 12 49
assignTicketToStaff()
A
44 11 42
getCookiesSavedSearchDataTicket()
A
48 11 31
checkActionStatusSame()
A
50 11 28
tickDepartmentTransfer()
A
44 10 40
changeTicketPriority()
A
45 10 40
unbanEmail()
A
44 9 43
markTicketInProgress()
A
44 9 41
removeTicket()
A
45 9 41
reopenTicket()
A
45 9 37
removeEnforceTicket()
A
46 8 37
getMyTicketInfo_Widget()
A
48 7 33
validateTicketDetailForStaff()
S
50 6 29
getTicketsForForm()
S
51 6 27
captchaValidate()
S
52 6 26
getRandomFolderName()
S
53 6 25
sendFeedbackMail()
S
54 6 20
ticketValidate()
S
59 6 16
updateLastReply()
S
57 6 15
canRemoveTicket()
S
55 5 19
getSortArg()
S
56 5 19
getOrdering()
S
56 5 18
checkIsTicketDuplicate()
S
59 5 14
validateTicketDetailForVisitor()
S
52 4 25
removeTicketAttachmentsByTicketid()
S
52 4 23
validateTicketDetailForUser()
S
59 4 14
checkCanReopenTicket()
S
59 4 13
banEmailAndCloseTicket()
S
61 4 12
isTicketAssigned()
S
61 4 12
getFrontSideTicketSearchFormData()
S
50 3 26
setStatus()
S
62 4 11
getAdminTicketSearchFormData()
S
52 3 24
checkBannedEmail()
S
54 3 19
getTicketidForVisitor()
S
58 3 14
getTicketHistory()
S
61 3 12
canUnbanEmail()
S
62 3 11
ticketAssignToMe()
S
65 3 9
getTicketSubjectById()
S
63 3 10
getNotificationIdById()
S
63 3 10
getUIdById()
S
63 3 10
getIpAddress()
S
64 3 10
getTicketEmailById()
S
63 3 10
updateTicketStatusCron()
S
68 3 8
getStaffIdById()
S
63 3 10
getTrackingIdById()
S
63 3 10
sendFeedbackMailByTicketid()
S
63 3 10
storeUploadFieldValueInParams()
S
59 2 13
countOpenTicket()
S
66 2 8
countTicket()
S
66 2 8
getAttachmentByTicketId()
S
66 2 8
generateHash()
S
73 2 5
getLastReply()
S
68 2 7
validateUserForTicket()
S
69 2 7
getTotalStatsForDashboard()
S
59 1 13
removeFileCustom()
S
60 1 12
uploadFileCustom()
S
80 1 3
getTicketListSorting()
S
64 1 9
getLatestTicketForDashboard()
S
68 1 8
createTokenByEmailAndTrackingId()
S
69 1 6
totalTicket()
S
73 1 5