Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B Sunspikes\Carrot\Consumer\Consumer::add() 0 37 4 4 1 1
B Sunspikes\Carrot\Carrot::__construct() 0 33 2 3 0 1
A Carrot\Consumer\Consumer::listen() 0 9 4 2 1 0
A Producer\Producer::__construct() 0 3 1 3 1 0
A Sunspikes\Carrot\Carrot::buildConfig() 0 3 1 2 0 0
A Carrot\Producer\Producer::send() 0 8 3 5 1 1
A Sunspikes\Carrot\Carrot::buildChannel() 0 11 3 2 0 0
A Sunspikes\Carrot\Carrot::getProducer() 0 4 1 2 0 1
A AMQPConnectionTrait::closeConnection() 0 6 3 1 0 0
A Carrot\ConfigAwareTrait::setConfig() 0 3 1 1 0 0
A Sunspikes\Carrot\Carrot::getConsumer() 0 4 1 2 0 0
A Consumer\Consumer::__construct() 0 3 1 3 0 1
A Sunspikes\Carrot\Carrot::config() 0 5 2 1 0 0
A Consumer\Consumer::rejectMessage() 0 2 1 2 0 0
A Sunspikes\Carrot\Carrot::consumer() 0 2 1 1 0 0