linagora/openpaas-esn

View on GitHub
frontend/js/modules/search/form/advanced/search-advanced-form.controller.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function ESNSearchAdvancedFormController has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function ESNSearchAdvancedFormController(
    $stateParams,
    $rootScope,
    esnSearchContextService,
    esnSearchQueryService,

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

        var removeStateListener = $rootScope.$on('$stateChangeSuccess', function(event, toState, toParams, fromState, fromParams) {

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

          $stateParams,
          $rootScope,
          esnSearchContextService,
          esnSearchQueryService,
          esnI18nService

        There are no issues that match your filters.

        Category
        Status