Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Brief code stats from your rakefile
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
README.rdoc
Rakefile
VERSION

README.rdoc

Code Stats

Usage

In your Rakefile, add

begin
  require 'code_stats'
  CodeStats::Tasks.new
rescue LoadError
  puts "Code Stats not available, install it with gem install code_stats"
end

And you get:

Summary
                                                                    154 Lines
                                                                    123 Code
                                                                      0 Comments
                                                                   0.00 Comments to code %
                                                                     31 Empty

Options

  • directories: Takes an array of directories to report on. (default: 'lib')

  • reporting_depth: Depth of subdirectories to report on. 0 is summary mode. (Default: 0)

Something went wrong with that request. Please try again.