codeclimate-clog
is a Code Climate engine that wraps Clog. Clog performs CoffeeScript static analysis. You can run it on your command line using the Code Climate CLI, or on the codeclimate analysis platform.
Clog performs the following complexity-related checks:
- Cyclomatic complexity
- Token complexity
- File length
- Function length
- If you haven't already, install the Code Climate CLI.
- Run
codeclimate engines:enable clog
. This command both installs the engine and enables it in your.codeclimate.yml
file. - You're ready to analyze! Browse into your project's folder and run
codeclimate analyze
.