Created at 2024-09-03 19:22:11 , with PHPMetrics v2.8.2 (Jean-François Lépine).
Average weighted method count by class (CC)
12.79
Average cyclomatic complexity by class
8
Average relative System complexity
166.85
Average bugs by class(Halstead)
0.15
average defects by class (Kan)
0.61
Class WMC Class cycl. Max method cycl. Relative system complexity Relative data complexity Relative structural complexity Bugs Defects
Snicco\Component\BetterWPMail\Mailer 28 22 16 1156.22 0.22 1156 0.35 1.29
Snicco\Component\BetterWPMail\Exception\CantSendEmailWithWPMail 2 1 1 5.11 1.11 4 0.04 0.15
Snicco\Component\BetterWPMail\Exception\CouldNotRenderMailContent 0 1 0 0 0 0 0 0.15
Snicco\Component\BetterWPMail\Renderer\AggregateRenderer 7 6 6 5.56 1.56 4 0.06 0.59
Snicco\Component\BetterWPMail\Renderer\FilesystemRenderer 4 3 2 5 5 0 0.03 0.22
Snicco\Component\BetterWPMail\Transport\WPMailTransport 25 19 10 1369.14 0.14 1369 0.48 1.7
Snicco\Component\BetterWPMail\Event\MailEventsUsingWPHooks 4 2 2 1.5 0.5 1 0.01 0.15
Snicco\Component\BetterWPMail\Event\EmailWasSent 1 1 1 2.67 2.67 0 0.01 0.15
Snicco\Component\BetterWPMail\Event\SendingEmail 0 1 0 1 1 0 0 0.15
Snicco\Component\BetterWPMail\Event\NullEvents 2 1 1 1 1 0 0 0.15
Snicco\Component\BetterWPMail\WPMailAPI 4 1 1 3.63 2.63 1 0.03 0.15
Snicco\Component\BetterWPMail\ValueObject\Mailbox 19 15 11 8.24 4.24 4 0.17 0.99
Snicco\Component\BetterWPMail\ValueObject\MailDefaults 9 6 5 10.06 1.06 9 0.06 0.15
Snicco\Component\BetterWPMail\ValueObject\Envelope 3 3 3 2.33 1.33 1 0.03 0.29
Snicco\Component\BetterWPMail\ValueObject\Email 63 22 6 85.99 4.99 81 0.7 1.86
Snicco\Component\BetterWPMail\ValueObject\MailboxList 11 5 2 17.31 1.31 16 0.04 0.68
Snicco\Component\BetterWPMail\ValueObject\Attachment 22 15 5 11.09 11.09 0 0.18 0.71
Snicco\Component\BetterWPMail\Testing\WPMail 0 1 0 0 0 0 0 0.15
Snicco\Component\BetterWPMail\Testing\FakeTransport 39 27 14 484.23 0.23 484 0.68 1.98