NLeSC/Cesium-NcWMS

View on GitHub
app/scripts/cesiumviewer/cesium-viewer.service.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function CesiumViewerService has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function CesiumViewerService(Cesium) {
        return {
            init: function(element) {      
                this.clock = new Cesium.Clock({
                    multiplier : 500.0
Severity: Minor
Found in app/scripts/cesiumviewer/cesium-viewer.service.js - About 1 hr to fix

    Function init has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                init: function(element) {      
                    this.clock = new Cesium.Clock({
                        multiplier : 500.0
                    });
                    this.clockViewModel = new Cesium.ClockViewModel(this.clock);
    Severity: Minor
    Found in app/scripts/cesiumviewer/cesium-viewer.service.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status