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
9740475
Releases
29
Current Version
0.10.0
Released
2015-04-18 00:00:00 UTC
First Release
2010-08-21 22:00:00 UTC
Depends on following gems
Depending Gems
4299

Github colszowka/simplecov

Watchers
2098
Forks
220
Development activity
Active
Last commit
2015-05-01 02:22:28 UTC
Contributors
30
Issues

rubocop

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

Rubygem rubocop

Total Downloads
1997510
Releases
59
Current Version
0.31.0
Released
2015-05-05 00:00:00 UTC
First Release
2012-05-03 00:00:00 UTC

Github bbatsov/rubocop

Watchers
4449
Forks
465
Development activity
Very active
Last commit
2015-05-06 02:44:32 UTC

Rails best practices

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

Rubygem rails_best_practices

Total Downloads
1038943
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
2689
Forks
183
Development activity
Less active
Last commit
2015-05-04 14:19:44 UTC

Reek

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

Rubygem reek

Total Downloads
687742
Releases
53
Current Version
2.1.0
Released
2015-04-17 00:00:00 UTC
First Release
2008-09-07 23:00:00 UTC

Github troessner/reek

Watchers
1282
Forks
92
Development activity
Very active
Last commit
2015-05-05 05:56:27 UTC

coveralls

A Ruby implementation of the Coveralls API.

Rubygem coveralls

Total Downloads
2032154
Releases
33
Current Version
0.8.1
Released
2015-04-20 00:00:00 UTC
First Release
2012-11-15 00:00:00 UTC

Github lemurheavy/coveralls-ruby

Watchers
52
Forks
40
Development activity
Active
Last commit
2015-04-24 03:37:01 UTC
First commit

Rcov

rcov is a code coverage tool for Ruby.

Rubygem rcov

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

Cane

Fails your build if code quality thresholds are not met

Rubygem cane

Total Downloads
531819
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
1232
Forks
70
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
834071
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
365
Forks
50
Development activity
Less active
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
485007
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
351
Forks
122
Development activity
Less active
Last commit
2015-04-22 21:10:44 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
722195
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
96

Github seattlerb/flay

Watchers
316
Forks
30
Development activity
Inactive
Last commit
2015-02-02 23:30:51 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
409799
Releases
52
Current Version
4.11.4
Released
2015-02-27 00:00:00 UTC
First Release
2009-12-02 06:00:00 UTC

Github metricfu/metric_fu

Watchers
427
Forks
69
Development activity
Less active
Last commit
2015-05-05 19:10:12 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
37081
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
866
Forks
53
Development activity
Less active
Last commit
2015-05-04 05:17:47 UTC
First commit

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
455468
Releases
27
Current Version
4.1.0
Released
2015-01-16 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
22522
Releases
16
Current Version
1.1.8
Released
2014-12-02 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
475
Forks
30
Development activity
Less active
Last commit
2015-05-05 18:03:08 UTC
First commit

pelusa

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

Rubygem pelusa

Total Downloads
15539
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
440
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
225584
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
77435
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
216
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
95704
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
141
Forks
19
Development activity
Less active
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
214522
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
192111
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 1.9.3 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
15682
Releases
12
Current Version
0.10.0
Released
2014-05-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
42
Forks
11
Development activity
Less active
Last commit
2015-01-16 13:37:25 UTC
First commit
Top contributors
Contributors
5
Issues

Rcov plugin

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

Rubygem rcov_plugin

Total Downloads
4191
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
54508
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
4496
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
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
12370
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
26
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
7400
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.