NLeSC/Cesium-NcWMS

View on GitHub
app/scripts/outlines/outlines.controller.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function OutlinesController has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function OutlinesController($scope, $http, Cesium, CesiumViewerService, Messagebus, UserAgent) {
    this.mobile = UserAgent.mobile;
    this.outlines = false;
    this.values = [];

Severity: Minor
Found in app/scripts/outlines/outlines.controller.js - About 1 hr to fix

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

      function OutlinesController($scope, $http, Cesium, CesiumViewerService, Messagebus, UserAgent) {
    Severity: Minor
    Found in app/scripts/outlines/outlines.controller.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status