publiclab/image-sequencer

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

Summary

Maintainability
A
3 hrs
Test Coverage

Function AddQR has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

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

  var defaults = require('./../../util/getDefaults.js')(require('./info.json'));
  var output;
  getPixels = require('get-pixels');
Severity: Minor
Found in src/modules/AddQR/Module.js - About 1 hr to fix

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

  function draw(input, callback, progressObj) {

    options.size = Number(options.size || defaults.size);
    options.qrCodeString = options.qrCodeString || defaults.qrCodeString;
    options.startingX = options.startingX || defaults.startingX;
Severity: Minor
Found in src/modules/AddQR/Module.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status