JSSTticketModel D

Total Complexity 603
Dependencies 7
Dependents 0
Total lines 2,657
Lines of code 2,272
Logical lines of code 1,670
Comment lines 235
Methods 72
Properties 1

Methods 72

Method Rating Maintainability Complexity Lines of code
storeTickets()
D
7
107 306
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
getRandomTicketId()
A
39 14 69
closeTicket()
A
41 13 50
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
tickDepartmentTransfer()
A
44 10 40
changeTicketPriority()
A
44 10 40
reopenTicket()
A
45 10 37
unbanEmail()
A
43 9 43
markTicketInProgress()
A
44 9 41
removeTicket()
A
45 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
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
getFrontSideTicketSearchFormData()
S
49 4 29
checkIsTicketDuplicate()
S
59 5 14
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
61 4 12
setStatus()
S
62 4 11
checkBannedEmail()
S
54 3 19
getTicketidForVisitor()
S
58 3 14
getDefaultMultiFormId()
S
62 3 12
getTicketHistory()
S
61 3 12
canUnbanEmail()
S
62 3 11
getNotificationIdById()
S
63 3 10
getUIdById()
S
63 3 10
ticketAssignToMe()
S
65 3 9
sendFeedbackMailByTicketid()
S
63 3 10
updateTicketStatusCron()
S
68 3 8
getIpAddress()
S
64 3 10
getStaffIdById()
S
63 3 10
getTicketEmailById()
S
63 3 10
getTrackingIdById()
S
63 3 10
getTicketSubjectById()
S
63 3 10
storeUploadFieldValueInParams()
S
59 2 13
validateUserForTicket()
S
69 2 7
generateHash()
S
73 2 5
isFieldRequired()
S
64 2 9
getAttachmentByTicketId()
S
66 2 8
countTicket()
S
66 2 8
countOpenTicket()
S
66 2 8
getLastReply()
S
68 2 7
getTotalStatsForDashboard()
S
59 1 13
removeFileCustom()
S
60 1 12
getLatestTicketForDashboard()
S
68 1 8
totalTicket()
S
73 1 5
createTokenByEmailAndTrackingId()
S
69 1 6
getTicketListSorting()
S
64 1 9
uploadFileCustom()
S
80 1 3