JavaScript source code complexity tool
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
experiments
src
test
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
MIT-License.txt
README.md
index.js
js-complexity-viz.js
package.json

README.md

JSC (formerly js-complexity-viz)

NPM info

Build status dependencies endorse

JavaScript source code complexity tool

This is a runner/wrapper around Phil Booth's tool complexity report

Install and run

npm install -g jsc
jsc foo.js tests/*.js

It can also be installed locally and used from other modules. See js-complexity-viz.js source file.

Use -h option to see all (few) options

Outputs:

  1. report.html (based on template, uses Google charting library)
  2. report.json (collected js file complexity statistics)

For example, the html can be ingested into Jenkins build system when using HTML publisher plugin

License

The MIT License, see MIT-License.txt

Contact

Gleb Bahmutov gleb.bahmutov@gmail.com