Code

Rating   Name Duplication Size Complexity Changes Bugs Features
B Configuration::getConfigTreeBuilder() 0 22 1 2 0 1
B DependencyInjection\OctanteNatsExtension::load() 0 15 1 4 0 2
A ConnectionFactoryTest::test_createConnection_calledWithAValidConfigurationKey_returnAValidConnection() 22 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 ConnectionWrapperTest::methodsDataProvider() 0 18 1 1 0 1
A ConnectionFactoryTest::test_createDefaultConnection_called_setADefaultConnectionKey() 21 16 1 1 0 1
A ConnectionFactory::createConnection() 0 7 2 4 0 3
A ConnectionWrapper::__construct() 0 3 1 1 0 1
A NatsBundle\Logger\NatsLogger::logCommand() 0 12 3 1 0 1
A NatsLoggerTest::test_callGetNbCommand_callingTwoCommands_returnValueTwo() 0 12 1 1 0 1
A Connection\ConnectionWrapper::subscribe() 8 6 1 1 0 1
A NatsDataCollectorTest::test_callGetCommandCount_twoCommands_returnTwo() 17 12 1 1 0 1
A ConnectionFactory::getConnectionOptions() 0 12 1 1 0 0
A ConnectionWrapper::unsubscribe() 7 5 1 1 0 1