jsc
v0.3.11 code complexity code complexity js javascript
js-complexity-viz
JavaScript source code complexity tool
This is a runner/wrapper around Phil Booth's tool complexity report
Install and run
npm install -g js-complexity-viz
js-complexity-viz 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:
- report.html (based on template, uses Google charting library)
- 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 [email protected]
npm i jsc
Source Code
github.com/bahmutov/js-compl...Metadata
- MIT
- >= 0.8.0
- Gleb Bahmutov
- released 10/15/2013