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 | wschat\components\Chat::closeRequest() | 0 | 11 | 2 | 1 | 0 | 0 |
A | AbstractStorageTest::testMysqlStorage() | 0 | 3 | 1 | 1 | 0 | 1 |
A | wschat\components\User::__construct() | 0 | 4 | 1 | 6 | 0 | 2 |
A | wschat\components\Chat::onOpen() | 0 | 4 | 1 | 2 | 0 | 1 |
A | components\ChatManager::storeMessage() | 0 | 11 | 1 | 5 | 0 | 3 |
A | ChatTest::testRemoveUserFromChat() | 0 | 5 | 1 | 1 | 0 | 0 |
A | unit\ChatRoomTest::testAddUser() | 0 | 6 | 1 | 1 | 0 | 1 |
A | wschat\components\Chat::onMessage() | 0 | 5 | 2 | 1 | 0 | 0 |
A | components\ChatManager::getHistory() | 0 | 3 | 1 | 3 | 1 | 2 |