BikBikBikBikBik/blocke

View on GitHub
lib/command-line-arg-data-usage-generator.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function generateDefinitions has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    generateDefinitions(includeAccount) {
        let definitions = [
            {
                name: 'block',
                alias: 'b',
Severity: Minor
Found in lib/command-line-arg-data-usage-generator.js - About 1 hr to fix

    Function generateUsage has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        generateUsage(options, includeAccount) {
            let usage = [
                {
                    header: `blocke ${options.command}`,
                    content: `Query the ${options.currencyName} blockchain. If no option is specified blocke will search for the right type of the value.`
    Severity: Minor
    Found in lib/command-line-arg-data-usage-generator.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status