linagora/openpaas-esn

View on GitHub
modules/linagora.esn.contact/frontend/app/contact/shell/contact-display-shell.service.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function ContactDisplayShell has 65 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function ContactDisplayShell(
    ContactsHelper,
    urlUtils,
    contactAvatarService,
    ContactLocationHelper,

    Function ContactDisplayShell has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function ContactDisplayShell(shell) {
          if (shell) {
            this.shell = shell;
            this.overlayIcon = {iconClasses: 'ng-hide'};
            this.informationsToDisplay = [];

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

          ContactsHelper,
          urlUtils,
          contactAvatarService,
          ContactLocationHelper,
          CONTACT_ATTRIBUTES_ORDER,

        There are no issues that match your filters.

        Category
        Status