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
17113965
Releases
32
Current Version
0.11.2
Released
2016-02-03 00:00:00 UTC
First Release
2010-08-21 22:00:00 UTC
Depends on following gems
Depending Gems
4421

Github colszowka/simplecov

Watchers
2592
Forks
259
Development activity
Less active
Last commit
2016-04-21 15:37:17 UTC
Contributors
30
Issues

rubocop

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

Rubygem rubocop

Total Downloads
7196354
Releases
74
Current Version
0.40.0
Released
2016-05-09 00:00:00 UTC
First Release
2012-05-03 00:00:00 UTC

Github bbatsov/rubocop

Watchers
6233
Forks
831
Development activity
Very active
Last commit
2016-05-03 01:05:30 UTC

Rails best practices

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

Rubygem rails_best_practices

Total Downloads
1518128
Releases
117
Current Version
1.16.0
Released
2016-02-22 00:00:00 UTC
First Release
2009-11-04 19:00:00 UTC

Github railsbp/rails_best_practices

Watchers
3071
Forks
209
Development activity
Less active
Last commit
2016-04-08 13:12:56 UTC

Reek

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

Rubygem reek

Total Downloads
1139169
Releases
87
Current Version
4.0.3
Released
2016-05-23 00:00:00 UTC
First Release
2008-09-07 23:00:00 UTC
Depends on following gems
Depending Gems
200

Github troessner/reek

Watchers
1884
Forks
125
Development activity
Active
Last commit
2016-04-29 15:19:30 UTC
Contributors
30
Issues

coveralls

A Ruby implementation of the Coveralls API.

Rubygem coveralls

Total Downloads
3417372
Releases
44
Current Version
0.8.11
Released
2016-02-19 00:00:00 UTC
First Release
2012-11-15 00:00:00 UTC
Depends on following gems
Depending Gems
1725

Github lemurheavy/coveralls-ruby

Watchers
67
Forks
42
Development activity
Less active
Last commit
2016-04-13 20:01:09 UTC
First commit

Cane

Fails your build if code quality thresholds are not met

Rubygem cane

Total Downloads
830875
Releases
20
Current Version
3.0.0
Released
2016-03-10 00:00:00 UTC
First Release
2012-01-14 00:00:00 UTC

Github square/cane

Watchers
1286
Forks
72
Development activity
Inactive
Last commit
2016-03-14 16:57:15 UTC

Rcov

rcov is a code coverage tool for Ruby.

Rubygem rcov

Total Downloads
1511274
Releases
20
Current Version
1.0.0
Released
2012-02-01 00:00:00 UTC
First Release
2006-05-30 01:00:00 UTC

Github relevance/rcov

Watchers
413
Forks
67
Development activity
Inactive
Last commit
2012-05-29 05:15:09 UTC

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
1282527
Releases
35
Current Version
4.4.0
Released
2016-05-16 00:00:00 UTC
First Release
2007-08-01 07:00:00 UTC
Depends on following gems
Depending Gems
117

Github seattlerb/flog

Watchers
452
Forks
50
Development activity
Inactive
Last commit
2015-12-11 00:01:49 UTC
Top contributors
Contributors
1
Issues

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
132972
Releases
38
Current Version
2.9.1
Released
2016-05-16 00:00:00 UTC
First Release
2014-03-18 00:00:00 UTC
Depending Gems
5

Github whitesmith/rubycritic

Watchers
1326
Forks
76
Development activity
Less active
Last commit
2016-04-19 23:36:23 UTC
First commit

foodcritic

Lint tool for Chef cookbooks.

Rubygem foodcritic

Total Downloads
719530
Releases
43
Current Version
6.3.0
Released
2016-05-16 00:00:00 UTC
First Release
2011-11-30 00:00:00 UTC

Github acrmp/foodcritic

Watchers
371
Forks
143
Development activity
Active
Last commit
2016-04-26 18:46:08 UTC

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
1169690
Releases
22
Current Version
2.8.0
Released
2016-05-16 00:00:00 UTC
First Release
2008-11-06 05:00:00 UTC

Github seattlerb/flay

Watchers
400
Forks
38
Development activity
Inactive
Last commit
2016-05-02 13:25:35 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
559947
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
506
Forks
78
Development activity
Less active
Last commit
2016-02-01 13:54:39 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
617420
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
46523
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
623
Forks
33
Development activity
Inactive
Last commit
2015-12-18 03:54:20 UTC
First commit

guard-rubocop

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

Rubygem guard-rubocop

Total Downloads
528010
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
172
Forks
32
Development activity
Less active
Last commit
2016-04-13 00:53:58 UTC
First commit
Top contributors
Contributors
3
Issues

pelusa

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

Rubygem pelusa

Total Downloads
18814
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
449
Forks
20
Development activity
Inactive
Last commit
2015-01-07 08:28:13 UTC

CoverMe

CoverMe - Code Coverage for Ruby 1.9

Rubygem cover_me

Total Downloads
86386
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
215
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
147345
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
148
Forks
18
Development activity
Inactive
Last commit
2014-11-05 05:44:54 UTC

jslint_on_rails

JSLint JavaScript checker wrapped in a Ruby gem for easier use

Rubygem jslint_on_rails

Total Downloads
254845
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

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
218617
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
1
Development activity
Inactive
Last commit
2010-02-02 22:13:57 UTC
First commit
Top contributors
Contributors
1
Issues

Report card

metrics and CI are for A students.

Github thoughtbot/report_card

Watchers
78
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.3. Simply "require 'coco'" from rspec or unit/test. Build simple html report. Report sources that have no tests. Configurable if you need to.

Rubygem coco

Total Downloads
23373
Releases
14
Current Version
0.14.0
Released
2016-04-16 00:00:00 UTC
First Release
2011-02-26 23:00:00 UTC
Depends on following gems
Depending Gems
7

Github lkdjiin/coco

Watchers
57
Forks
16
Development activity
Active
Last commit
2016-04-16 11:47:28 UTC
First commit
Top contributors
Contributors
5
Issues

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
68139
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
7
Forks
5
Development activity
Inactive
Last commit
2009-10-23 14:25:13 UTC
Top contributors
Contributors
1
Issues

Rcov plugin

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

Rubygem rcov_plugin

Total Downloads
4985
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
28
Forks
12
Development activity
Inactive
Last commit
2011-05-31 00:54:36 UTC

Crap4r

Computes the CRAP metric for Ruby source code

Github kevinrutherford/crap4r

Watchers
28
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
5987
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
54
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
15628
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
8826
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
15
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.