azukiapp/azk

View on GitHub
src/cmds/info.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function index has 72 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  index() {
    return async(this, function* () {
      let args = this.normalized_params.arguments;
      let options = this.normalized_params.options;

Severity: Major
Found in src/cmds/info.js - About 2 hrs to fix

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

          let systems_data = _.reduce(systems, (data, system) => {
            var obj = {};
            obj[system.image.provider] = system.image.name;
            var system_data = {
              depends : system.options.depends,
    Severity: Minor
    Found in src/cmds/info.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status