The Ruby Toolbox - Know your options!

Category

Code Metrics

rubocop

10.95
Automatic Ruby code style checking tool. Aims to enforce the community-driven Ruby Style Guide.
 Popularity
Downloads
25,988,097
Stars
8,557
Forks
1,610
Watchers
202

simplecov

9.73
Code coverage for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across test suites
 Popularity
Downloads
35,677,446
Stars
3,237
Forks
367
Watchers
64

coveralls

2.42
A Ruby implementation of the Coveralls API.
 Popularity
Downloads
5,256,358

rails_best_practices

2.1
a code metric tool for rails codes, written in Ruby.
 Popularity
Downloads
2,968,551
Stars
3,478
Forks
249
Watchers
80

flay

1.78
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.
 Popularity
Downloads
3,876,974
 Releases
Total releases
25
First release
Latest release

reek

1.7
Reek is a tool that examines Ruby classes, modules and methods and reports any code smells it finds.
 Popularity
Downloads
2,797,232
Stars
2,601
Forks
187
Watchers
46

flog

1.21
Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.
 Popularity
Downloads
2,634,060
 Releases
Total releases
39
First release
Latest release

rubycritic

0.95
RubyCritic is a tool that wraps around various static analysis gems to provide a quality report of your Ruby code.
 Popularity
Downloads
696,538
Stars
1,973
Forks
135
Watchers
56

cane

0.83
Fails your build if code quality thresholds are not met
 Popularity
Downloads
1,395,928
Stars
1,317
Forks
74
Watchers
46

foodcritic

0.63
Lint tool for Chef cookbooks.
 Popularity
Downloads
1,164,277
Stars
401
Forks
160
Watchers
20
 Releases
Total releases
72
First release
Latest release

rcov

0.62
rcov is a code coverage tool for Ruby.
 Popularity
Downloads
1,727,131
Stars
423
Forks
67
Watchers
37

metric_fu

0.52
Code metrics from Flog, Flay, Saikuro, Churn, Reek, Roodi, Code Statistics, and Rails Best Practices. (and optionally RCov)
 Popularity
Downloads
911,957
Stars
564
Forks
92
Watchers
21

guard-rubocop

0.48
Guard::RuboCop automatically checks Ruby code style with RuboCop when files are modified.
 Popularity
Downloads
1,562,152
Stars
207
Forks
41
Watchers
4
 Releases
Total releases
14
First release
Latest release

roodi

0.35
Roodi parses your Ruby code and warns you about design issues you have based on the checks that is has configured
 Popularity
Downloads
952,022
Stars
255
Forks
39
Watchers
5

sandi_meter

0.28
Sandi Metz rules checker
 Popularity
Downloads
82,758
Stars
702
Forks
36
Watchers
24

pelusa

0.17
Static analysis Lint-type tool to improve your OO Ruby code
 Popularity
Downloads
21,879
Stars
445
Forks
20
Watchers
13

tailor

0.12
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.
 Popularity
Downloads
205,160
Stars
150
Forks
18
Watchers
5

Saikuro

0.1
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.
 Popularity
Downloads
224,510

jslint_on_rails

0.08
JSLint JavaScript checker wrapped in a Ruby gem for easier use
 Popularity
Downloads
348,169
Stars
0
Forks
0
Watchers
1
 Releases
Total releases
9
First release
Latest release

thoughtbot/report_card

0.06
metrics and CI are for A students.
 Popularity
Stars
79
Forks
5
Watchers
36

cover_me

0.04
CoverMe - Code Coverage for Ruby 1.9
 Popularity
Downloads
96,369

rcov_plugin

0.03
rcov_plugin adds the rake tasks that you need to measure coverage in your Rails project
 Popularity
Downloads
5,807
Stars
28
Forks
12
Watchers
2

kevinrutherford/crap4r

0.03
Computes the CRAP metric for Ruby source code
 Popularity
Stars
27
Forks
4
Watchers
2

code_statistics

0.03
"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."
 Popularity
Downloads
79,632
Stars
7
Forks
5
Watchers
2

outlaw

0.02
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
 Popularity
Downloads
7,413
Stars
52
Forks
4
Watchers
2

coco

0.02
"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.
 Popularity
Downloads
35,922

code_stats2

0.01
Language-agnostic Code Statistics
 Popularity
Downloads
18,473
Stars
25
Forks
2
Watchers
1

metric_abc

0.01
Calculates ABC metric for Ruby 1.9. Just like Flog but much more dull.
 Popularity
Downloads
11,412
Stars
15
Forks
2
Watchers
1