JSSTemailModel D

Total Complexity 446
Dependencies 9
Dependents 0
Total lines 2,343
Lines of code 2,107
Logical lines of code 1,520
Comment lines 182
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
sendMail()
D
0
352 1,697
storeEmail()
A
48 9 33
sendEmailDefault()
A
49 9 30
getTicketReplyHistory()
S
48 6 35
getEmailForForm()
S
57 6 17
sendTestEmail()
S
44 4 43
sendEmail()
S
61 6 11
getSenderEmailAndName()
S
55 5 21
getRecordByTablenameAndId()
S
52 4 24
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
getDefaultSenderEmailAndName()
S
67 2 7
getEmailForDepartment()
S
66 2 8
getStaffUidByStaffId()
S
65 2 9
getAdminSearchFormDataEmails()
S
64 2 10
sendSMTPmail()
S
77 1 3
jsst_set_html_content_type()
S
83 1 3
getSMTPEmailConfig()
S
72 1 5