Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Computes the CRAP metric for Ruby source code
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit 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