JSSTticketModel D

Total Complexity 645
Dependencies 8
Dependents 0
Total lines 2,787
Lines of code 2,389
Logical lines of code 1,755
Comment lines 256
Methods 75
Properties 1

Methods 75

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