Project

code_stats

0.0
No commit activity in last 3 years
No release in over 3 years
Code statistics for your rakefile
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.0.3
 Project Readme

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)