Code

Rating   Name Duplication Size Complexity Changes Bugs Features
C DataObjectExtension::onAfterWrite() 0 40 14 2 0 0
B NotificationType::compilePossibleTemplateVars() 0 21 7 1 0 0
B NotificationType::getRecipients() 0 20 7 1 0 0
A Model\Notification::getSummary() 0 12 6 1 0 1
A NotificationType::getCMSFields() 0 40 3 2 0 0
A Model\Notification::getCMSFields() 0 34 3 2 0 1
A Notifier\Types\EmailNotification::send() 0 26 4 3 0 0
A NotificationsTest::testChangeFieldEmails() 0 20 1 1 0 0
A Types\NotificationType::validate() 0 9 5 1 0 0
A NotificationsTest::testChangeFieldValueEmails() 0 17 1 1 0 0
A NotificationsTest::testGetAllowedRules() 0 15 1 0 0 0
A NotificationsTest::testGetAllowedTypes() 0 15 1 0 0 0
A NotificationType::getFieldsFromClass() 0 14 3 1 0 0
A NotificationsTest::testDeletedEmails() 0 12 1 1 0 0
A SiteConfigExtension::updateCMSFields() 0 11 1 1 0 0