Repository Analysis

tj/commander.js

node.js command-line interfaces made easy

0.7 Likely human-written View on GitHub
0.7
Adjusted Score
0.7
Raw Score
100%
Time Factor
2026-05-29
Last Push
28,231
Stars
JavaScript
Language
27,733
Lines of Code
175
Files
20
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 20

Pattern Findings

20 matches across 2 categories. Click a row to expand file-level details.

Over-Commented Block17 hits · 17 pts
SeverityFileLineSnippet
LOWtests/command.parseOptions.test.js221// from its option-argument and that option-arguments not be optional, but there are some exceptions in POSIX.1-2017 to
LOWexamples/argument.js21// node argument.js --help
LOWexamples/pass-through-options.js21// node pass-through-options.js --dry-run git checkout -b new-branch
LOWexamples/options-common.js21
LOWexamples/arguments-custom-processing.js41// Try the following:
LOWexamples/custom-command-class.js41// Try the following:
LOWexamples/options-conflicts.js81// node options-conflicts.js source --interactive
LOWexamples/positional-options.js21// node positional-options.js -p upload test.js
LOWexamples/thank.js21
LOWexamples/options-negatable.js21console.log(`You ordered a pizza with ${sauceStr} and ${cheeseStr}`);
LOWexamples/options-env.js21
LOWexamples/global-options-added.js1#!/usr/bin/env node
LOWexamples/configure-output.js21// Try the following:
LOWexamples/options-extra.js41
LOWexamples/options-boolean-or-value.js21// node options-boolean-or-value --cheese
LOW.github/workflows/codeql-analysis.yml41 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
LOWlib/command.js2761
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippet
LOWtests/options.bool.combo.test.js52 function createPepperProgramWithDefault(defaultValue) {
LOWtests/options.bool.combo.test.js125 function createPepperProgramWithDefaultAndPreset() {
LOWlib/command.js2719function incrementNodeInspectorPort(args) {