BohemiaInteractive/bi-service

View on GitHub
bin/bi-service.js

Summary

Maintainability
A
3 hrs
Test Coverage

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

function _initializeYargs(ya) {
    ya = ya
    .usage('$0 <command> [options]')
    .command(['run [options..]', 'start', 'serve'], 'Starts bi-service app - expects it to be located under cwd', {
        cluster: {
Severity: Minor
Found in bin/bi-service.js - About 1 hr to fix

    Function defaultCmd has 44 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function defaultCmd(argv) {
    
        if (argv['get-conf'] !== undefined) {
            getConfigCmd(argv);
        //if no supported commands or options were matched so far,
    Severity: Minor
    Found in bin/bi-service.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status