Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
B | wschat\components\Chat::authRequest() | 7 | 23 | 5 | 5 | 0 | 3 |
B | jones\wschat\components\User::init() | 0 | 17 | 5 | 4 | 1 | 2 |
B | components\ChatManager::findChat() | 0 | 17 | 5 | 3 | 0 | 1 |
B | ChatManager::isUserExistsInChat() | 0 | 8 | 5 | 2 | 0 | 1 |
A | components\AbstractStorage::factory() | 0 | 11 | 4 | 2 | 0 | 2 |
A | components\Chat::messageRequest() | 8 | 13 | 4 | 4 | 0 | 2 |
A | collections\History::storeMessage() | 0 | 8 | 2 | 1 | 0 | 1 |
A | components\DbStorage::storeMessage() | 0 | 9 | 2 | 1 | 0 | 1 |
A | codeception\unit\UserTest::testUserChat() | 0 | 11 | 1 | 1 | 0 | 1 |
A | ChatManager::removeUserFromChat() | 0 | 8 | 3 | 2 | 0 | 1 |
A | ChatTest::testUsersExistsInChat() | 0 | 8 | 1 | 1 | 0 | 0 |
A | wschat\components\Chat::closeRequest() | 0 | 11 | 2 | 1 | 0 | 0 |
A | AbstractStorageTest::testMysqlStorage() | 0 | 3 | 1 | 1 | 0 | 1 |
A | wschat\components\Chat::onOpen() | 0 | 4 | 1 | 2 | 0 | 1 |
A | wschat\components\User::__construct() | 0 | 4 | 1 | 6 | 0 | 2 |