Rating | Name | Duplication | Size | Complexity |
---|---|---|---|---|
B | app/socket/index.js ➔ ioEvents | 0 | 99 | 1 |
B | app.helpers.updateUsersList | 0 | 26 | 6 |
B | index.js ➔ ... ➔ Room.findById | 0 | 32 | 4 |
B | user.js ➔ ... ➔ findOne | 0 | 23 | 5 |
B | app/models/room.js ➔ removeUser | 0 | 36 | 1 |
B | app.chat | 0 | 44 | 1 |
B | app.rooms | 0 | 25 | 1 |
B | app.rooms | 0 | 31 | 1 |
B | index.js ➔ ... ➔ socket.join | 0 | 34 | 1 |
B | UserSchema.pre(ꞌsaveꞌ) | 0 | 25 | 3 |
B | app/config/index.js ➔ init | 0 | 37 | 2 |
B | app/socket/index.js ➔ init | 0 | 27 | 1 |
B | router.post(ꞌ/registerꞌ) | 0 | 27 | 3 |
B | room.js ➔ ... ➔ find | 0 | 30 | 2 |
B | user.js ➔ findOrCreate | 0 | 25 | 1 |