publiclab/image-sequencer

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

Summary

Maintainability
A
2 hrs
Test Coverage

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

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

  var defaults = require('./../../util/getDefaults.js')(require('./info.json'));

  var output;
Severity: Minor
Found in src/modules/Tint/Module.js - About 1 hr to fix

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

  function draw(input, callback, progressObj) {

    var color = options.color || defaults.color;
    color = color.substring(color.indexOf('(') + 1, color.length - 1); // extract only the values from rgba(_,_,_,_)
    color = color.split(',');
Severity: Minor
Found in src/modules/Tint/Module.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status