Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Computes the CRAP metric for Ruby source code
branch: master

This branch is 1 commit behind kevinrutherford:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
README

README

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

Something went wrong with that request. Please try again.