nus-mtp/attack-on-tutor

View on GitHub
source/controller/lobby.js

Summary

Maintainability
A
1 hr
Test Coverage

Function enterLobby has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var enterLobby = function (req, res, next) {

    var user = req.body.auth.decoded;
    var userId = user.id;
    var coursecode = req.params.moduleId;
Severity: Minor
Found in source/controller/lobby.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status