Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript code quality front end
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
src
.gitignore
MIT-License.txt
README.md
package.json
solid.js

README.md

solid-code

JavaScript code quality front end:

installation

npm install -g solid-code

examples

solid foo.js
  1. Looks for foo.js | fooTest.js in subfolders
  2. Runs GT unit tests, outputs results and code coverage
  3. Computes code complexity
  4. (in progress) Computes dependency weights

You can specify multiple source files, they are tested sequentially.

solid foo.js bar.js
solid examples\*.js      -- loads all js files in folder examples
solid examples\**\*.js   -- loads all js files in all subfolders in examples

Few command line switches

  • --watch or -w to watch source files and rerun analysis automatically on change.
  • --help or -h shows command line options and exits.

The tool tries to be as silent as possible if the code is solid. Otherwise it will print detailed description of the failure: failed unit test results, insufficient code coverage, code is too complex.

Something went wrong with that request. Please try again.