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
14628973
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
4383

Github colszowka/simplecov

Watchers
2468
Forks
243
Development activity
Active
Last commit
2016-02-03 16:38:01 UTC
Contributors
30
Issues

rubocop

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

Rubygem rubocop

Total Downloads
5266709
Releases
69
Current Version
0.37.0
Released
2016-02-04 00:00:00 UTC
First Release
2012-05-03 00:00:00 UTC

Github bbatsov/rubocop

Watchers
5800
Forks
741
Development activity
Very active
Last commit
2016-02-07 00:39:43 UTC

Rails best practices

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

Rubygem rails_best_practices

Total Downloads
1333476
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
2998
Forks
203
Development activity
Less active
Last commit
2015-12-18 07:18:06 UTC

coveralls

A Ruby implementation of the Coveralls API.

Rubygem coveralls

Total Downloads
2934408
Releases
41
Current Version
0.8.10
Released
2015-11-30 00:00:00 UTC
First Release
2012-11-15 00:00:00 UTC
Depends on following gems
Depending Gems
1705

Github lemurheavy/coveralls-ruby

Watchers
60
Forks
39
Development activity
Less active
Last commit
2015-11-30 21:46:58 UTC
First commit

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
1733
Forks
120
Development activity
Active
Last commit
2016-02-06 20:33:06 UTC
Contributors
30
Issues

Cane

Fails your build if code quality thresholds are not met

Rubygem cane

Total Downloads
730735
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
1268
Forks
70
Development activity
Inactive
Last commit
2016-01-04 19:59:10 UTC

Rcov

rcov is a code coverage tool for Ruby.

Rubygem rcov

Total Downloads
1493688
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
389
Forks
63
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
1079883
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
435
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
101771
Releases
34
Current Version
2.7.0
Released
2016-01-27 00:00:00 UTC
First Release
2014-03-18 00:00:00 UTC
Depending Gems
5

Github whitesmith/rubycritic

Watchers
1240
Forks
68
Development activity
Active
Last commit
2016-02-05 17:42:59 UTC
First commit

foodcritic

Lint tool for Chef cookbooks.

Rubygem foodcritic

Total Downloads
642037
Releases
38
Current Version
6.0.0
Released
2016-01-14 00:00:00 UTC
First Release
2011-11-30 00:00:00 UTC

Github acrmp/foodcritic

Watchers
366
Forks
138
Development activity
Active
Last commit
2016-01-31 02:15:00 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
957884
Releases
21
Current Version
2.7.0
Released
2016-01-21 00:00:00 UTC
First Release
2008-11-06 05:00:00 UTC
Depends on following gems
Depending Gems
98

Github seattlerb/flay

Watchers
376
Forks
34
Development activity
Inactive
Last commit
2015-12-15 02:43:32 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
512849
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
476
Forks
71
Development activity
Less active
Last commit
2015-10-29 20:30:44 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
566225
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
41433
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
606
Forks
30
Development activity
Less active
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
419657
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

pelusa

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

Rubygem pelusa

Total Downloads
17892
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
84038
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
23
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
132001
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
144
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
217033
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
231139
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
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.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
20585
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
56
Forks
14
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
4768
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
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
5546
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
14641
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
8255
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.