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
11679633
Releases
29
Current Version
0.10.0
Released
2015-04-18 00:00:00 UTC
First Release
2010-08-21 22:00:00 UTC

Github colszowka/simplecov

Watchers
2243
Forks
219
Development activity
Less active
Last commit
2015-08-27 06:18:18 UTC
Contributors
30
Issues

rubocop

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

Rubygem rubocop

Total Downloads
3088896
Releases
62
Current Version
0.32.1
Released
2015-06-24 00:00:00 UTC
First Release
2012-05-03 00:00:00 UTC

Github bbatsov/rubocop

Watchers
5032
Forks
572
Development activity
Very active
Last commit
2015-08-29 21:54:21 UTC

Rails best practices

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

Rubygem rails_best_practices

Total Downloads
1159065
Releases
116
Current Version
1.15.7
Released
2015-02-27 00:00:00 UTC
First Release
2009-11-04 19:00:00 UTC

Github railsbp/rails_best_practices

Watchers
2814
Forks
191
Development activity
Less active
Last commit
2015-05-22 22:44:30 UTC

Reek

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

Rubygem reek

Total Downloads
714286
Releases
55
Current Version
2.2.1
Released
2015-05-11 00:00:00 UTC
First Release
2008-09-07 23:00:00 UTC

Github troessner/reek

Watchers
1488
Forks
102
Development activity
Very active
Last commit
2015-08-27 18:41:17 UTC
Contributors
30
Issues

coveralls

A Ruby implementation of the Coveralls API.

Rubygem coveralls

Total Downloads
2368912
Releases
34
Current Version
0.8.2
Released
2015-06-23 00:00:00 UTC
First Release
2012-11-15 00:00:00 UTC
Depends on following gems
Depending Gems
1674

Github lemurheavy/coveralls-ruby

Watchers
54
Forks
39
Development activity
Less active
Last commit
2015-06-23 18:31:16 UTC
First commit

Rcov

rcov is a code coverage tool for Ruby.

Rubygem rcov

Total Downloads
1470343
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
2304

Github relevance/rcov

Watchers
389
Forks
63
Development activity
Inactive
Last commit
2012-05-29 05:15:09 UTC

Cane

Fails your build if code quality thresholds are not met

Rubygem cane

Total Downloads
613961
Releases
19
Current Version
2.6.2
Released
2014-04-21 00:00:00 UTC
First Release
2012-01-14 00:00:00 UTC

Github square/cane

Watchers
1247
Forks
69
Development activity
Inactive
Last commit
2014-07-20 03:04:43 UTC
Contributors
26
Issues

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
929924
Releases
34
Current Version
4.3.2
Released
2015-01-30 00:00:00 UTC
First Release
2007-08-01 07:00:00 UTC

Github seattlerb/flog

Watchers
386
Forks
49
Development activity
Inactive
Last commit
2015-01-31 00:01:14 UTC
Top contributors
Contributors
1
Issues

foodcritic

Lint tool for Opscode Chef cookbooks.

Rubygem foodcritic

Total Downloads
553767
Releases
36
Current Version
4.0.0
Released
2014-06-11 00:00:00 UTC
First Release
2011-11-30 00:00:00 UTC

Github acrmp/foodcritic

Watchers
357
Forks
129
Development activity
Less active
Last commit
2015-08-14 19:47:40 UTC

rubycritic

RubyCritic is a tool that wraps around various static analysis gems to provide a quality report of your Ruby code.

Rubygem rubycritic

Total Downloads
69254
Releases
25
Current Version
1.4.0
Released
2015-03-14 00:00:00 UTC
First Release
2014-03-18 00:00:00 UTC
Depends on following gems
Depending Gems
5

Github whitesmith/rubycritic

Watchers
1008
Forks
59
Development activity
Less active
Last commit
2015-05-04 05:17:47 UTC
First commit

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
814992
Releases
20
Current Version
2.6.1
Released
2015-01-30 00:00:00 UTC
First Release
2008-11-06 05:00:00 UTC
Depends on following gems
Depending Gems
97

Github seattlerb/flay

Watchers
333
Forks
32
Development activity
Inactive
Last commit
2015-08-11 10:56:28 UTC
Top contributors
Contributors
1
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
460561
Releases
53
Current Version
4.12.0
Released
2015-06-18 00:00:00 UTC
First Release
2009-12-02 06:00:00 UTC

Github metricfu/metric_fu

Watchers
456
Forks
71
Development activity
Less active
Last commit
2015-08-24 04:40:27 UTC

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
505546
Releases
28
Current Version
5.0.0
Released
2015-05-31 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

sandi_meter

Sandi Metz rules checker

Rubygem sandi_meter

Total Downloads
30804
Releases
17
Current Version
1.2.0
Released
2015-05-13 00:00:00 UTC
First Release
2013-09-15 00:00:00 UTC
Depends on following gems
Depending Gems
2

Github makaroni4/sandi_meter

Watchers
568
Forks
31
Development activity
Less active
Last commit
2015-05-13 11:46:38 UTC
First commit

pelusa

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

Rubygem pelusa

Total Downloads
16448
Releases
9
Current Version
0.2.4
Released
2015-01-07 00:00:00 UTC
First Release
2012-02-14 00:00:00 UTC
Depends on following gems
Depending Gems
1

Github codegram/pelusa

Watchers
450
Forks
21
Development activity
Inactive
Last commit
2015-01-07 08:28:13 UTC

guard-rubocop

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

Rubygem guard-rubocop

Total Downloads
305914
Releases
13
Current Version
1.2.0
Released
2014-11-05 00:00:00 UTC
First Release
2013-04-20 00:00:00 UTC

Github yujinakayama/guard-rubocop

Watchers
107
Forks
18
Development activity
Less active
Last commit
2014-11-05 18:42:42 UTC
First commit
Top contributors
Contributors
2
Issues

CoverMe

CoverMe - Code Coverage for Ruby 1.9

Rubygem cover_me

Total Downloads
80212
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
217
Forks
22
Development activity
Inactive
Last commit
2012-01-31 20:11:15 UTC

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
109856
Releases
24
Current Version
1.4.1
Released
2014-11-05 00:00:00 UTC
First Release
2010-04-23 07:00:00 UTC

Github turboladen/tailor

Watchers
143
Forks
18
Development activity
Inactive
Last commit
2014-11-05 05:44:54 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
215787
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
17
Forks
2
Development activity
Inactive
Last commit
2010-02-02 22:13:57 UTC
First commit
Top contributors
Contributors
1
Issues

jslint_on_rails

JSLint JavaScript checker wrapped in a Ruby gem for easier use

Rubygem jslint_on_rails

Total Downloads
207032
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
6

Github psionides/jslint_on_rails

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

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
2

coco

"Code coverage tool for ruby 2.0 to 2.2. 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
17691
Releases
13
Current Version
0.13.0
Released
2015-07-03 00:00:00 UTC
First Release
2011-02-26 23:00:00 UTC
Depends on following gems
Depending Gems
7

Github lkdjiin/coco

Watchers
51
Forks
13
Development activity
Less active
Last commit
2015-07-03 12:18:16 UTC
First commit
Top contributors
Contributors
6
Issues

Rcov plugin

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

Rubygem rcov_plugin

Total Downloads
4401
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
55609
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
11

Github danmayer/code_statistics

Watchers
6
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
25
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
4895
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
55
Forks
3
Development activity
Inactive
Last commit
2014-10-21 19:11:25 UTC
First commit
Contributors
4
Issues

code_stats2

Language-agnostic Code Statistics

Rubygem code_stats2

Total Downloads
13329
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
25
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
7702
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.