Percentage | Lines | ||
---|---|---|---|
MailRendererFactory |
|
0 % | 46 |
MailTransportFactory |
|
7 % | 99 |
MailerFactory |
|
15 % | 43 |
MailMessageFactory |
|
33 % | 40 |
ModuleOptionsFactory |
|
40 % | 32 |
Mailer |
|
72 % | 158 |
ModuleOptions |
|
100 % | 179 |
AbstractMailer |
|
100 % | 121 |
CRAP Score | Lines | ||
---|---|---|---|
Mailer::sendEmail() | 110 | 32 | |
MailTransportFactory::__invoke() | 42 | 42 | |
Mailer::createNewMail() | 9 | 30 | |
ModuleOptionsFactory::__invoke() | 6 | 6 | |
Mailer::prepareAsMultipart() | 5 | 33 | |
Mailer::prepareAsText() | 3 | 12 | |
MailRendererFactory::__invoke() | 2 | 17 | |
MailRendererFactory::createService() | 2 | 18 | |
MailMessageFactory::__invoke() | 2 | 14 | |
MailerFactory::__invoke() | 2 | 15 | |