Code Metrics

SimpleCov

Code coverage for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across test suites

Rubygem simplecov

Total Downloads
4929550
Releases
25
Current Version
0.8.2
Released
2013-11-20 00:00:00 UTC
First Release
2010-08-21 22:00:00 UTC

Github colszowka/simplecov

Watchers
1641
Forks
169
Development activity
Less active
Last commit
2014-02-12 10:45:38 UTC
Contributors
30
Issues

Rails best practices

a code metric tool for rails codes, written in Ruby.

Rubygem rails_best_practices

Total Downloads
679700
Releases
112
Current Version
1.15.2
Released
2014-03-11 00:00:00 UTC
First Release
2009-11-04 19:00:00 UTC

Github railsbp/rails_best_practices

Watchers
2271
Forks
154
Development activity
Less active
Last commit
2014-03-19 13:47:23 UTC
Contributors
30
Issues
Wiki pages

rubocop

Automatic Ruby code style checking tool. Aims to enforce the community-driven Ruby Style Guide.

Rubygem rubocop

Total Downloads
307615
Releases
43
Current Version
0.20.0
Released
2014-04-02 00:00:00 UTC
First Release
2012-05-03 00:00:00 UTC

Github bbatsov/rubocop

Watchers
1696
Forks
163
Development activity
Very active
Last commit
2014-02-15 05:35:09 UTC
Contributors
62
Issues
Wiki pages

Rcov

rcov is a code coverage tool for Ruby.

Rubygem rcov

Total Downloads
1337591
Releases
20
Current Version
1.0.0
Released
2012-02-01 00:00:00 UTC
First Release
2006-05-30 01:00:00 UTC
Depends on following gems
Depending Gems
2366

Github relevance/rcov

Watchers
378
Forks
61
Development activity
Inactive
Last commit
2012-05-29 05:15:09 UTC
Contributors
17
Issues
Wiki pages

Cane

Fails your build if code quality thresholds are not met

Rubygem cane

Total Downloads
281573
Releases
18
Current Version
2.6.1
Released
2013-10-31 00:00:00 UTC
First Release
2012-01-14 00:00:00 UTC

Github square/cane

Watchers
1088
Forks
70
Development activity
Less active
Last commit
2014-01-02 22:28:01 UTC

Reek

Reek is a tool that examines Ruby classes, modules and methods and reports any code smells it finds.

Rubygem reek

Total Downloads
424462
Releases
36
Current Version
1.3.7
Released
2014-03-25 00:00:00 UTC
First Release
2008-09-07 23:00:00 UTC

Github troessner/reek

Watchers
921
Forks
57
Development activity
Less active
Last commit
2014-02-01 10:17:17 UTC
Contributors
25
Issues
Wiki pages

coveralls

A Ruby implementation of the Coveralls API.

Rubygem coveralls

Total Downloads
894267
Releases
20
Current Version
0.7.0
Released
2013-09-18 00:00:00 UTC
First Release
2012-11-15 00:00:00 UTC

Github lemurheavy/coveralls-ruby

Watchers
26
Forks
17
Development activity
Less active
Last commit
2014-01-13 19:07:40 UTC
First commit

Flog

Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.

Rubygem flog

Total Downloads
601630
Releases
30
Current Version
4.2.0
Released
2013-10-18 00:00:00 UTC
First Release
2007-08-01 07:00:00 UTC

Github seattlerb/flog

Watchers
248
Forks
37
Development activity
Less active
Last commit
2014-04-11 22:04:16 UTC
Top contributors
Contributors
1
Issues

foodcritic

Lint tool for Opscode Chef cookbooks.

Rubygem foodcritic

Total Downloads
206372
Releases
35
Current Version
3.0.3
Released
2013-10-13 00:00:00 UTC
First Release
2011-11-30 00:00:00 UTC

Github acrmp/foodcritic

Watchers
301
Forks
93
Development activity
Less active
Last commit
2014-02-11 23:16:22 UTC
Contributors
28
Issues

MetricFu

Code metrics from Flog, Flay, Saikuro, Churn, Reek, Roodi, Code Statistics, and Rails Best Practices. (and optionally RCov)

Rubygem metric_fu

Total Downloads
283671
Releases
47
Current Version
4.10.0
Released
2014-04-01 00:00:00 UTC
First Release
2009-12-02 06:00:00 UTC

Github metricfu/metric_fu

Watchers
274
Forks
68
Development activity
Active
Last commit
2014-04-18 20:27:26 UTC
Contributors
30
Issues
Wiki pages

Flay

Flay analyzes code for structural similarities. Differences in literal values, variable, class, method names, whitespace, programming style, braces vs do/end, etc are all ignored. Making this totally rad.

Rubygem flay

Total Downloads
509015
Releases
17
Current Version
2.4.0
Released
2013-07-24 00:00:00 UTC
First Release
2008-11-06 05:00:00 UTC

Github seattlerb/flay

Watchers
214
Forks
17
Development activity
Less active
Last commit
2013-07-26 21:01:38 UTC
Top contributors
Contributors
1
Issues
Wiki pages

Roodi

Roodi parses your Ruby code and warns you about design issues you have based on the checks that is has configured

Rubygem roodi

Total Downloads
310414
Releases
25
Current Version
4.0.0
Released
2014-04-10 00:00:00 UTC
First Release
2008-09-09 14:00:00 UTC

Github martinjandrews/roodi

Watchers
164
Forks
35
Development activity
Inactive
Last commit
2013-08-08 14:06:55 UTC
Top contributors
Contributors
5
Issues
Wiki pages

pelusa

Static analysis Lint-type tool to improve your OO Ruby code

Rubygem pelusa

Total Downloads
12743
Releases
8
Current Version
0.2.3
Released
2013-09-19 00:00:00 UTC
First Release
2012-02-14 00:00:00 UTC
Depends on following gems
Depending Gems
1

Github codegram/pelusa

Watchers
416
Forks
21
Development activity
Inactive
Last commit
2013-09-19 09:34:06 UTC

CoverMe

CoverMe - Code Coverage for Ruby 1.9

Rubygem cover_me

Total Downloads
68519
Releases
15
Current Version
1.2.0
Released
2011-09-07 00:00:00 UTC
First Release
2010-08-13 04:00:00 UTC

Github markbates/cover_me

Watchers
221
Forks
25
Development activity
Inactive
Last commit
2012-01-31 20:11:15 UTC

Saikuro

Saikuro is a Ruby cyclomatic complexity analyzer. When given Ruby source code Saikuro will generate a report listing the cyclomatic complexity of each method found. In addition, Saikuro counts the number of lines per method and can generate a listing of the number of tokens on each line of code.

Rubygem Saikuro

Total Downloads
201646
Releases
1
Current Version
1.1.0
Released
2008-06-20 15:00:00 UTC
First Release
2008-06-20 15:00:00 UTC
Depends on following gems
Depending Gems
10

Github devver/saikuro

Watchers
15
Forks
2
Development activity
Inactive
Last commit
2010-02-02 22:13:57 UTC
First commit
Top contributors
Contributors
1
Issues

tailor

tailor parses Ruby files and measures them with some style and static analysis "rulers". Default values for the Rulers are based on a number of style guides in the Ruby community as well as what seems to be common. More on this here http://wiki.github.com/turboladen/tailor. tailor's goal is to help you be consistent with your code, throughout your project, whatever style that may be.

Rubygem tailor

Total Downloads
57913
Releases
23
Current Version
1.4.0
Released
2014-01-24 00:00:00 UTC
First Release
2010-04-23 07:00:00 UTC

Github turboladen/tailor

Watchers
127
Forks
14
Development activity
Less active
Last commit
2014-01-24 08:38:46 UTC
Contributors
6
Issues
Wiki pages

Report card

metrics and CI are for A students.

Github thoughtbot/report_card

Watchers
79
Forks
5
Development activity
Inactive
Last commit
2011-06-09 19:15:08 UTC
Top contributors
Contributors
1

jslint_on_rails

JSLint JavaScript checker wrapped in a Ruby gem for easier use

Rubygem jslint_on_rails

Total Downloads
152244
Releases
9
Current Version
1.1.1
Released
2012-04-16 00:00:00 UTC
First Release
2009-12-17 23:00:00 UTC
Depends on following gems
Depending Gems
5

Github psionides/jslint_on_rails

Watchers
0
Forks
0
Development activity
Less active
Last commit
2013-02-18 21:26:52 UTC
First commit
2009-08-20 20:05:16 UTC
Top contributors
Contributors
1

guard-rubocop

Guard::Rubocop automatically checks Ruby code style with RuboCop when files are modified.

Rubygem guard-rubocop

Total Downloads
40492
Releases
12
Current Version
1.1.0
Released
2014-04-13 00:00:00 UTC
First Release
2013-04-20 00:00:00 UTC

Github yujinakayama/guard-rubocop

Watchers
55
Forks
8
Development activity
Less active
Last commit
2014-02-02 11:30:21 UTC
First commit
Top contributors
Contributors
2
Issues
Wiki pages

Rcov plugin

rcov_plugin adds the rake tasks that you need to measure coverage in your Rails project

Rubygem rcov_plugin

Total Downloads
3496
Releases
2
Current Version
3.0.1
Released
2010-04-19 04:00:00 UTC
First Release
2010-04-16 04:00:00 UTC
Depends on following gems
Depending Gems
0

Github commondream/rcov_plugin

Watchers
29
Forks
12
Development activity
Inactive
Last commit
2011-05-31 00:54:36 UTC

code_statistics

"This is a port of the rails 'rake stats' method so it can be made more robust and work for non rails projects. New features may eventually be added as well."

Rubygem code_statistics

Total Downloads
42473
Releases
24
Current Version
0.2.13
Released
2010-03-02 05:00:00 UTC
First Release
2009-10-23 07:00:00 UTC
Depends on following gems
Depending Gems
8

Github danmayer/code_statistics

Watchers
7
Forks
5
Development activity
Inactive
Last commit
2009-10-23 14:25:13 UTC
Top contributors
Contributors
1
Issues

Crap4r

Computes the CRAP metric for Ruby source code

Github kevinrutherford/crap4r

Watchers
26
Forks
3
Development activity
Inactive
Last commit
2009-06-01 20:59:44 UTC
Top contributors
Contributors
2
Issues

outlaw

Keep bad code out of your projects. Your idea of bad code, no one elses. Outlaw defines an example based DSL for demonstrating anti-patterns and builds a rule for each anti-pattern that it alerts the user to violations when encountered in a project's codebase during scanning. Outlaw is a work in progress and contributions, suggestions and forks are welcome. Outlaw was a personal project for Mendicant University, Session 10 in Jan '12

Rubygem outlaw

Total Downloads
3279
Releases
4
Current Version
0.1.3
Released
2012-02-11 00:00:00 UTC
First Release
2012-01-25 00:00:00 UTC
Depends on following gems
Depending Gems
0

Github bglusman/outlaw

Watchers
57
Forks
4
Development activity
Inactive
Last commit
2013-11-05 20:29:24 UTC
First commit
Contributors
4
Issues
Wiki pages

coco

"Code coverage tool for ruby 1.9.2 to 2.1. Use it by "require 'coco'" from rspec or unit/test. It display names of uncovered files on console. It builds simple html report. It reports sources that have no tests. It's configurable with a simple yaml file.

Rubygem coco

Total Downloads
8539
Releases
9
Current Version
0.9
Released
2014-02-02 00:00:00 UTC
First Release
2011-02-26 23:00:00 UTC
Depends on following gems
Depending Gems
4

Github lkdjiin/coco

Watchers
21
Forks
7
Development activity
Less active
Last commit
2014-02-03 20:00:44 UTC
First commit
Top contributors
Contributors
3
Issues
Wiki pages

code_stats2

Language-agnostic Code Statistics

Rubygem code_stats2

Total Downloads
9170
Releases
8
Current Version
0.1.8
Released
2012-03-03 00:00:00 UTC
First Release
2011-08-02 20:00:00 UTC
Depends on following gems
Depending Gems
0

Github alexeypetrushin/code_stats

Watchers
24
Forks
2
Development activity
Inactive
Last commit
2012-03-03 17:10:42 UTC
Top contributors
Contributors
1
Issues

metric_abc

Calculates ABC metric for Ruby 1.9. Just like Flog but much more dull.

Rubygem metric_abc

Total Downloads
5909
Releases
2
Current Version
0.0.3
Released
2010-08-23 22:00:00 UTC
First Release
2010-08-23 22:00:00 UTC
Depends on following gems
Depending Gems
2

Github hubertlepicki/metric_abc

Watchers
14
Forks
2
Development activity
Inactive
Last commit
2010-08-24 13:12:00 UTC
Top contributors
Contributors
1
Issues
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.