segura2010/CC-Proyecto-OpenSecureChat

View on GitHub
lib/Chat.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function ChatController has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

exports.ChatController = function(db){

    // Redis Client
    this.dbredis = db;

Severity: Minor
Found in lib/Chat.js - About 1 hr to fix

    Function add has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        this.add = function(userid, touserid, encryptedMsgUser, encryptedMsgToUser, isFile, cb){
    Severity: Minor
    Found in lib/Chat.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status