Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B DependencyInjection\OctanteNatsExtension::load() 0 15 1 4 0 2
B Configuration::getConfigTreeBuilder() 0 22 1 2 0 1
A ConnectionFactoryTest::test_createConnection_calledWithAValidConfigurationKey_returnAValidConnection() 22 16 1 1 0 1
A ConnectionWrapperTest::methodsDataProvider() 0 18 1 1 0 1
A ConnectionFactoryTest::test_createDefaultConnection_called_setADefaultConnectionKey() 21 16 1 1 0 1
A NatsDataCollectorTest::test_callGetErrorCommandsCount_aLoggerWithAnError_returnOne() 21 14 1 1 0 1
A NatsDataCollectorTest::test_getTimeIsCalled_oneCommandInLogger_returnTime() 21 14 1 1 0 1
A ConnectionFactory::__construct() 0 3 1 2 0 2
A NatsLoggerTest::test_callLogCommand_natsMessage_sendMessageToLogger() 18 14 1 1 0 1
A Connection\ConnectionWrapper::request() 7 5 1 1 0 1
A ConnectionFactory::createDefaultConnection() 0 6 2 2 0 1
A NatsLoggerTest::test_callLogCommand_natsMessage_sendErrorToLogger() 18 14 1 1 0 1
A Connection\ConnectionWrapper::publish() 7 5 1 1 0 1
A NatsDataCollectorTest::test_collectIsCalled__returnDataWithCommandsArrayKey() 0 7 1 1 0 1
A NatsDataCollector::getErrorCommandsCount() 0 3 1 1 0 1