Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A OneSignal\NotificationTest::testAddData() 0 12 1 ? 1 0 0
A OneSignal\OneSignalService::__construct() 0 11 4 4 1 0 0
A OneSignal\Notification::forSegment() 0 2 1 1 1 0 0
A OneSignalServiceTest::testMissingEnv1() 0 3 1 ? 2 0 0
A OneSignal\NotificationResponse::isError() 0 1 1 1 1 0 0
A OneSignal\Notification::addHeading() 0 4 2 2 0 0 0
A NotificationResponseTest::testConstruct() 0 4 1 ? 1 0 0
A OneSignal\Notification::addContent() 0 4 2 2 1 0 0
A OneSignalServiceTest::testMissingConfig() 0 3 1 ? 2 0 0
A NotificationResponse::getRecipientsCount() 0 1 1 1 1 0 0
A NotificationTest::testAddContent() 0 6 1 ? 1 0 0
A OneSignal\Notification::addData() 0 2 1 1 1 0 0
A NotificationResponseTest::testIdIsNull() 0 3 1 ? 1 0 0
A OneSignal\Notification::__construct() 0 4 1 1 1 0 0
A NotificationResponseTest::testRecipientsCount() 0 2 1 ? 1 0 0