compodoc/ngd

View on GitHub
src/modules/cli/dist/cli.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function run has 86 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    Application.run = function () {
        program.silent = program.silent || false;
        ngd_core_1.logger.setVerbose(program.silent);
        var options = program.opts();
        var output = '';
Severity: Major
Found in src/modules/cli/dist/cli.js - About 3 hrs to fix

    Avoid deeply nested control flow statements.
    Open

                                if (exclude_1.indexOf(file) < 0) {
                                    file = path.join(dir, file);
                                    var stat = fs.statSync(file);
                                    if (stat && stat.isDirectory()) {
                                        results = results.concat(walk_1(file));
    Severity: Major
    Found in src/modules/cli/dist/cli.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status