Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B notymo\AbstractNotification::send() 0 13 6 6 0 0 0
B notymo\APNSNotification::__construct() 0 9 5 5 1 0 0
B notymo\PushNotification::enqueue() 0 5 5 30 0 0 0
A notymo\PushNotification::initGcm() 0 5 4 4 0 0 0
A nstdio\notymo\Message::addToken() 0 10 4 4 0 0 0
A notymo\GCMNotification::enqueue() 0 11 4 4 0 0 0
A AbstractNotification::openConnection() 0 4 1 1 0 0 0
A nstdio\notymo\CurlWrapper::close() 0 3 2 2 0 0 0
A APNSNotification::createPayload() 0 9 2 2 0 0 0
A AbstractNotification::__construct() 0 3 1 1 0 0 0
A notymo\PushNotification::initApns() 0 6 3 3 2 0 0
A nstdio\notymo\Message::setType() 0 4 3 3 0 0 0
A notymo\GCMNotification::getTokens() 0 8 3 3 0 0 0
A notymo\CallbackInvoker::callOnError() 0 5 2 2 0 0 0
A notymo\MessageQueue::__construct() 0 3 1 1 0 0 0