NLeSC/ahn-pointcloud-viewer

View on GitHub
app/scripts/extract/pointcloud.extraction.selection.service.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function PointcloudExtractionSelectionService has 88 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function PointcloudExtractionSelectionService(THREE, SceneService, ExtractionSelectionService, ExtractionDrawingService, Messagebus, Potree) {
    var me = this;

    this.selectionActive = false;
    this.mouseDownPoint = null;
Severity: Major
Found in app/scripts/extract/pointcloud.extraction.selection.service.js - About 3 hrs to fix

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

      function PointcloudExtractionSelectionService(THREE, SceneService, ExtractionSelectionService, ExtractionDrawingService, Messagebus, Potree) {
    Severity: Minor
    Found in app/scripts/extract/pointcloud.extraction.selection.service.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status