Computes the CRAP metric for Ruby source code
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This project will contain a tool to compute the CRAP metric for Ruby code.

This current version looks for all files called ./spec/**/*_spec.rb,
runs them using Rspec, and reports the cyclomatic complexity for
all methods defined in all files tested.

Run it like this:

  ruby -Ilib /path/to/crap4r