nigelfds / jsmetric

Javascript cyclometric complexity metrics
6 stars 1 forks source link

[WARNING: This project is not yet ready for proper use. Its very much an alpha at the moment]

*** Installation

$ gem install jsmetric

*** Usage

Cyclometric complexity for a file: $ ./bin/jsmetric path_to_js_file

Cyclometric complexity for all .js files in a Directory $ ./bin/jsmetric path_to_dir

*** Backlog/Future Work

[Notes for developing JSMetric itself futher]

*** To get started you need:

Ruby 1.9.2 Bundler 1.x

This project contains a .rvmrc file for use with RVM.

*** Setting up dev environment

$ ./build

*** Dev smoke

$ ./bin/jsmetric features/sample_js_files_for_test/foobar.js