publiclab/image-sequencer

View on GitHub
src/modules/Crop/Ui.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function CropModuleUi has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function CropModuleUi(step, ui) {

  let inputWidth = 0,
    inputHeight = 0;

Severity: Major
Found in src/modules/Crop/Ui.js - About 2 hrs to fix

Function setup has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function setup() {
    let x = 0,
      y = 0;

    // display original uncropped input image on initial setup
Severity: Minor
Found in src/modules/Crop/Ui.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status