portainer/portainer

View on GitHub
app/config.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

export function configApp($urlRouterProvider, $httpProvider, localStorageServiceProvider, $uibTooltipProvider, $compileProvider, cfpLoadingBarProvider) {
  if (process.env.NODE_ENV === 'testing') {
    $compileProvider.debugInfoEnabled(false);
  }

Severity: Minor
Found in app/config.js - About 1 hr to fix

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

    export function configApp($urlRouterProvider, $httpProvider, localStorageServiceProvider, $uibTooltipProvider, $compileProvider, cfpLoadingBarProvider) {
    Severity: Minor
    Found in app/config.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status