PHPMailer D

Total Complexity 507
Dependencies 4
Dependents 1
Total lines 3,939
Lines of code 2,087
Logical lines of code 1,189
Comment lines 1,424
Methods 102
Properties 77

Methods 102

Method Rating Maintainability Complexity Lines of code
createBody()
D
26
26 183
smtpConnect()
C
33 28 87
createHeader()
B
36 23 73
wrapText()
B
37 21 78
preSend()
B
36 19 73
validateAddress()
B
38 19 70
attachAll()
B
35 16 95
msgHTML()
A
40 15 58
mb_pathinfo()
A
48 14 34
smtpSend()
A
43 12 47
getMailMIME()
A
46 12 39
encodeHeader()
A
43 11 44
sendmailSend()
A
42 10 58
parseAddresses()
A
46 11 39
DKIM_Add()
A
38 8 70
mailSend()
A
48 10 32
DKIM_Sign()
A
47 9 33
addAnAddress()
A
48 8 33
addOrEnqueueAnAddress()
A
49 8 29
postSend()
A
51 8 26
setFrom()
A
52 8 23
setLanguage()
A
42 6 50
punyencodeAddress()
A
56 8 16
_mime_types()
A
33 2 106
edebug()
S
50 7 30
encodeFile()
S
50 7 28
serverHostname()
S
59 8 13
encodeQ()
S
50 7 27
utf8CharBoundary()
S
51 7 26
encodeString()
S
52 7 25
setError()
S
55 7 19
addAttachment()
S
49 6 32
DKIM_QP()
S
59 7 12
setWordWrap()
S
58 6 16
getBoundary()
S
55 5 20
setMessageType()
S
59 5 16
mailPassthru()
S
59 5 13
addEmbeddedImage()
S
52 4 24
base64EncodeWrapMB()
S
52 4 24
send()
S
60 4 15
lang()
S
61 4 13
addStringEmbeddedImage()
S
57 3 16
DKIM_BodyC()
S
62 3 11
clearQueuedAddresses()
S
66 3 8
inlineImageExists()
S
67 3 8
attachmentExists()
S
67 3 8
addStringAttachment()
S
59 2 15
doCallback()
S
68 3 6
smtpClose()
S
68 3 8
DKIM_HeaderC()
S
60 2 12
encodeQP()
S
61 2 11
fixEOL()
S
68 2 7
filenameToType()
S
65 2 8
isQmail()
S
65 2 9
set()
S
65 2 9
isSendmail()
S
65 2 9
clearBCCs()
S
68 2 7
clearCCs()
S
68 2 7
clearAddresses()
S
68 2 7
idnSupported()
S
79 2 3
html2text()
S
64 2 10
getSMTPInstance()
S
71 2 6
__construct()
S
74 2 5
addCustomHeader()
S
68 2 7
hasMultiBytes()
S
68 2 7
addrFormat()
S
65 2 9
isHTML()
S
70 2 7
addrAppend()
S
67 2 7
getAllRecipientAddresses()
S
82 1 3
addAddress()
S
79 1 3
getReplyToAddresses()
S
82 1 3
getBccAddresses()
S
82 1 3
isSMTP()
S
81 1 3
secureHeader()
S
78 1 3
normalizeBreaks()
S
78 1 3
getCcAddresses()
S
82 1 3
isMail()
S
81 1 3
getToAddresses()
S
82 1 3
hasLineLongerThanMax()
S
77 1 3
sign()
S
71 1 6
getAttachments()
S
82 1 3
addCC()
S
79 1 3
alternativeExists()
S
80 1 3
headerLine()
S
79 1 3
__destruct()
S
82 1 3
endBoundary()
S
79 1 3
has8bitChars()
S
79 1 3
generateId()
S
79 1 3
encodeQPphp()
S
79 1 3
getSentMIMEMessage()
S
77 1 3
getTranslations()
S
82 1 3
clearReplyTos()
S
77 1 4
getCustomHeaders()
S
82 1 3
clearAllRecipients()
S
70 1 7
clearAttachments()
S
81 1 3
clearCustomHeaders()
S
81 1 3
getLastMessageID()
S
82 1 3
rfcDate()
S
75 1 4
textLine()
S
80 1 3
addBCC()
S
79 1 3
isError()
S
80 1 3
addReplyTo()
S
79 1 3