publiclab/image-sequencer

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

Summary

Maintainability
A
2 hrs
Test Coverage

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

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

  function setup(setImage, onLoad) {

    // generate a unique timestamp based id for the dropzone
Severity: Minor
Found in src/modules/ImportImage/Ui.js - About 1 hr to fix

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

  function setup(setImage, onLoad) {

    // generate a unique timestamp based id for the dropzone
    var dropzoneId = 'dropzone-import-image-' + step.ID;

Severity: Minor
Found in src/modules/ImportImage/Ui.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status