Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B jobqueue\Worker::handleJobException() 0 11 5 0 0 0
B yiicod\jobqueue\Worker::daemon() 0 8 5 0 0 0
B yiicod\jobqueue\Worker::getNextJob() 0 9 5 0 0 0
B yiicod\jobqueue\Worker::process() 0 12 3 0 0 0
A Worker::stopWorkerIfLostConnection() 0 17 3 0 0 0
A yiicod\jobqueue\Worker::runJobById() 0 10 4 0 0 0
A Worker::markJobAsFailedIfAlreadyExceedsMaxAttempts() 0 7 4 0 0 0
A Worker::markJobAsFailedIfWillExceedMaxAttempts() 0 4 4 0 0 0
A queues\MongoThreadQueue::canRunJob() 0 7 4 0 0 0
A jobqueue\JobProcess::getProcess() 0 11 4 0 0 0
A yiicod\jobqueue\JobQueue::connect() 0 6 2 0 0 0
A MongoThreadQueue::pushToDatabase() 0 3 1 0 0 0
A MongoFailedJobProvider::__construct() 0 3 1 0 0 0
A yiicod\jobqueue\Worker::__construct() 0 6 1 0 0 0
A queues\MongoThreadQueue::exists() 0 4 1 0 0 0