JSSTemailModel D

Total Complexity 432
Dependencies 8
Dependents 0
Total lines 2,213
Lines of code 1,980
Logical lines of code 1,427
Comment lines 181
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
sendMail()
D
0
347 1,614
storeEmail()
A
48 9 33
sendEmailDefault()
A
49 9 30
getEmailForForm()
S
57 6 17
sendEmail()
S
61 6 11
getSenderEmailAndName()
S
55 5 21
sendTestEmail()
S
46 3 39
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
getLatestReplyByTicketId()
S
63 3 10
getEmailById()
S
63 3 10
getStaffUidByStaffId()
S
65 2 9
replaceMatches()
S
72 2 5
getStaffEmailAddressByStaffId()
S
65 2 9
getTemplateForEmail()
S
66 2 8
getAllEmailsForCombobox()
S
66 2 8
checkAlreadyExist()
S
66 2 8
getEmailForDepartment()
S
66 2 8
getSMTPEmailConfig()
S
72 1 5
jsst_set_html_content_type()
S
83 1 3
sendSMTPmail()
S
77 1 3
getDefaultSenderEmailAndName()
S
70 1 6
getAdminSearchFormDataEmails()
S
71 1 6