linagora/openpaas-esn

View on GitHub
modules/linagora.esn.messaging.email/lib/handlers/whatsup.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function exports has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(lib, dependencies) {

  var userModule = dependencies('user');

  function sendMessageAsEMail(from, user, message, context, callback) {
Severity: Minor
Found in modules/linagora.esn.messaging.email/lib/handlers/whatsup.js - About 1 hr to fix

    Function sendMessageAsEMail has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      function sendMessageAsEMail(from, user, message, context, callback) {
    Severity: Minor
    Found in modules/linagora.esn.messaging.email/lib/handlers/whatsup.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status