webgme/webgme-cli

View on GitHub
src/VisualizerManager.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function new has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

VisualizerManager.prototype.new = function (options, callback) {
  // Set the config options from the command line flags
  var self = this,
    visualizerGenerator = new VisualizerGenerator(this._logger, options),
    id = options.visualizerID,
Severity: Minor
Found in src/VisualizerManager.js - About 1 hr to fix

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

    VisualizerManager.prototype.import = function (options, callback) {
      var self = this;
      ComponentManager.prototype.import.call(this, options, function (err, result) {
        if (err) {
          return callback(err);
    Severity: Minor
    Found in src/VisualizerManager.js - About 1 hr to fix

      TODO found
      Open

        var name = options.name, // TODO: Change this to id
      Severity: Minor
      Found in src/VisualizerManager.js by fixme

      There are no issues that match your filters.

      Category
      Status