publiclab/image-sequencer

View on GitHub
src/modules/Contrast/Module.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function Contrast has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function Contrast(options, UI) {

  var defaults = require('./../../util/getDefaults.js')(require('./info.json'));
  options.contrast = options.contrast || defaults.contrast;
  var output;
Severity: Minor
Found in src/modules/Contrast/Module.js - About 1 hr to fix

Function draw has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function draw(input, callback, progressObj) {

    progressObj.stop(true);
    progressObj.overrideFlag = true;

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

There are no issues that match your filters.

Category
Status