JSSTticketModel D

Total Complexity 620
Dependencies 8
Dependents 0
Total lines 2,721
Lines of code 2,333
Logical lines of code 1,713
Comment lines 244
Methods 75
Properties 1

Methods 75

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