linagora/openpaas-esn

View on GitHub
modules/linagora.esn.contact/frontend/app/search/search-providers.service.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function contactSearchProviders has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function contactSearchProviders(
    _,
    $q,
    Providers,
    esnSearchProvider,

    Function get has 39 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function get() {
          if (searchProvider) {
            return searchProvider;
          }
          searchProvider = new esnSearchProvider({

      Function contactSearchProviders has 9 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          _,
          $q,
          Providers,
          esnSearchProvider,
          contactSearchResultsProviderSubmit,

        There are no issues that match your filters.

        Category
        Status