JSSTemailModel D

Total Complexity 443
Dependencies 8
Dependents 0
Total lines 2,327
Lines of code 2,092
Logical lines of code 1,506
Comment lines 181
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
sendMail()
D
0
352 1,691
storeEmail()
A
48 9 33
sendEmailDefault()
A
49 9 30
getTicketReplyHistory()
S
48 6 35
getEmailForForm()
S
57 6 17
sendEmail()
S
61 6 11
getSenderEmailAndName()
S
55 5 21
getRecordByTablenameAndId()
S
52 4 24
sendTestEmail()
S
46 3 39
canRemoveEmail()
S
57 4 17
removeEmail()
S
57 4 16
checkSMTPEnableOrDisable()
S
59 4 14
getMailRecordById()
S
53 3 24
getEmails()
S
53 3 22
getEmailById()
S
63 3 10
getLatestReplyByTicketId()
S
63 3 10
getTemplateForEmail()
S
66 2 8
getAllEmailsForCombobox()
S
66 2 8
replaceMatches()
S
72 2 5
getStaffEmailAddressByStaffId()
S
65 2 9
checkAlreadyExist()
S
66 2 8
getEmailForDepartment()
S
66 2 8
getStaffUidByStaffId()
S
65 2 9
getDefaultSenderEmailAndName()
S
70 1 6
sendSMTPmail()
S
77 1 3
jsst_set_html_content_type()
S
83 1 3
getSMTPEmailConfig()
S
72 1 5
getAdminSearchFormDataEmails()
S
71 1 6