MstMailUtils D

Total Complexity 339
Dependencies 5
Dependents 1
Total lines 1,488
Lines of code 1,324
Logical lines of code 976
Comment lines 117
Methods 47
Properties 0

Methods 47

Method Rating Maintainability Complexity Lines of code
htmlSafeWordwrapStr()
C
33 27 90
removeMailFooter()
C
31 24 111
getRecipInfoStr()
B
42 20 51
isBouncedMail()
B
41 19 52
undoSubjectModifications()
B
41 16 53
addRemoveConvertBodyParts()
B
44 16 46
isBlockedEmailAddress()
A
45 15 40
appendMailFooter()
A
48 15 31
isValidEmail()
A
48 14 30
getAttachmentFilenameFromParameterArray()
A
44 12 40
removeMailHeader()
A
39 10 67
replaceWildcards()
A
37 9 73
replaceContentIdsWithAttachments()
A
44 9 43
getAttachmentFilename()
A
51 9 26
getContentTypeString()
A
54 9 22
modifyMailContent()
A
42 7 51
getAttachmentParameters()
A
50 8 26
isSentFromDMARC_PolicyRejectProvider()
A
51 8 25
wellFormatHTMLBody()
S
50 7 28
appendMailHeader()
S
52 7 27
checkMailWithWordsToFilter()
S
53 6 24
arraySearchWithVariations()
S
56 6 19
splitEmailAddressInLocalAndDomainPart()
S
51 5 29
convertRelativeToAbsoluteURL()
S
59 6 14
getMailSize()
S
54 5 21
getContentId()
S
59 5 13
replaceWildcardsThatAreMailIndependent()
S
51 4 26
htmlWordwrapIfNeeded()
S
53 4 24
replaceRecipientWildcards()
S
53 4 22
getReplyToArray()
S
60 4 13
ucwordsWithDelimiters()
S
61 4 12
extractCharset()
S
60 3 13
hasLineLongerThan()
S
59 3 13
getHeaderFieldsAndContents()
S
53 2 22
getSubjectPrefix()
S
55 2 19
getPlainTextVersionOfHTMLBody()
S
61 2 13
getHeaderValue()
S
59 2 13
convertRelativeToAbsoluteImageSourcesInHTMLText()
S
57 1 19
doesStrContainHtmlSafeWordwrapCriticalTags()
S
70 2 6
getHTMLVersionOfPlaintextBody()
S
63 1 12
htmlWordwrapBySimpleReplace()
S
75 1 4
convertRelativeToAbsoluteSiteURLsInHTMLText()
S
63 1 10
getListIDMailHeader()
S
67 1 7
undoMailBodyModifications()
S
63 1 10
modifyMailSubjectWithMailIndependentVars()
S
75 1 4
modifyMailSubject()
S
74 1 4
getMail()
S
69 1 6