Category

Code Metrics

Utilities to improve code quality by reporting common code smells like complexity, unsafe defaults, unused variables or stylistic inconsistencies

10.76
A long-lived project that still receives updates
Automatic Ruby code style checking tool. Aims to enforce the community-driven Ruby Style Guide.
 Popularity
Downloads
47,132,091
Stars
9,658
Forks
1,960
Watchers
215
 Releases
Current version
0.62.0
Total releases
110
First release
Latest release
 Activity
Issue Closure Rate
93%
Pull Request Acceptance Rate
88%
Average date of last 50 commits
Reverse Dependencies
6,656
2.21
A long-lived project that still receives updates
Reek is a tool that examines Ruby classes, modules and methods and reports any code smells it finds.
 Popularity
Downloads
4,243,385
Stars
2,964
Forks
216
Watchers
50
 Releases
Current version
5.3.0
Total releases
124
First release
Latest release
 Activity
Issue Closure Rate
92%
Pull Request Acceptance Rate
88%
Average date of last 50 commits
Reverse Dependencies
445
1.64
There's a lot of open issues
A long-lived project that still receives updates
a code metric tool for rails codes, written in Ruby.
 Popularity
Downloads
3,987,252
Stars
3,672
Forks
249
Watchers
75
 Releases
Current version
1.19.4
Total releases
125
First release
Latest release
 Activity
Issue Closure Rate
72%
Pull Request Acceptance Rate
82%
Average date of last 50 commits
Reverse Dependencies
37
1.57
A long-lived project that still receives updates
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
5,761,460
 Releases
Current version
2.12.0
Total releases
27
First release
Latest release
 Activity
Reverse Dependencies
188
1.4
The project is in a healthy, maintained state
Code style checking for RSpec files. A plugin for the RuboCop code style enforcing & linting tool.
 Popularity
Downloads
8,612,125
Stars
422
Forks
119
Watchers
19
 Releases
Current version
1.31.0
Total releases
55
First release
Latest release
 Activity
Issue Closure Rate
75%
Pull Request Acceptance Rate
86%
Average date of last 50 commits
Reverse Dependencies
672
1.0
A long-lived project that still receives updates
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
3,660,579
 Releases
Current version
4.6.2
Total releases
40
First release
Latest release
 Activity
Reverse Dependencies
215
0.92
Low commit activity in last 3 years
No release in over a year
Fails your build if code quality thresholds are not met
 Popularity
Downloads
1,654,379
Stars
1,341
Forks
74
Watchers
46
 Releases
Current version
3.0.0
Total releases
20
First release
Latest release
 Activity
Issue Closure Rate
87%
Pull Request Acceptance Rate
77%
Average date of last 50 commits
Reverse Dependencies
243
0.84
There's a lot of open issues
RubyCritic is a tool that wraps around various static analysis gems to provide a quality report of your Ruby code.
 Popularity
Downloads
1,332,325
Stars
2,236
Forks
145
Watchers
48
 Releases
Current version
3.5.2
Total releases
55
First release
Latest release
 Activity
Issue Closure Rate
70%
Pull Request Acceptance Rate
81%
Average date of last 50 commits
Reverse Dependencies
82
0.69
There's a lot of open issues
A long-lived project that still receives updates
Lint tool for Chef cookbooks.
 Popularity
Downloads
1,445,823
Stars
416
Forks
163
Watchers
22
 Releases
Current version
15.1.0
Total releases
83
First release
Latest release
 Activity
Issue Closure Rate
74%
Pull Request Acceptance Rate
80%
Average date of last 50 commits
Reverse Dependencies
23
0.56
No release in over 3 years
Code metrics from Flog, Flay, Saikuro, Churn, Reek, Roodi, Code Statistics, and Rails Best Practices. (and optionally RCov)
 Popularity
Downloads
1,037,928
Stars
578
Forks
93
Watchers
23
 Releases
Current version
4.12.0
Total releases
53
First release
Latest release
 Activity
Issue Closure Rate
79%
Pull Request Acceptance Rate
80%
Average date of last 50 commits
Reverse Dependencies
55
0.25
No release in over 3 years
Low commit activity in last 3 years
Roodi parses your Ruby code and warns you about design issues you have based on the checks that is has configured
 Popularity
Downloads
1,102,119
Stars
265
Forks
33
Watchers
6
 Releases
Current version
5.0.0
Total releases
28
First release
Latest release
 Activity
Issue Closure Rate
92%
Pull Request Acceptance Rate
69%
Average date of last 50 commits
Reverse Dependencies
110
0.22
No release in over 3 years
Low commit activity in last 3 years
Sandi Metz rules checker
 Popularity
Downloads
106,576
Stars
725
Forks
35
Watchers
24
 Releases
Current version
1.2.0
Total releases
17
First release
Latest release
 Activity
Issue Closure Rate
82%
Pull Request Acceptance Rate
80%
Average date of last 50 commits
Reverse Dependencies
11
0.14
The project is in a healthy, maintained state
Enforces consistent Git commits.
 Popularity
Downloads
15,580
Stars
300
Forks
8
Watchers
3
 Releases
Current version
3.0.0
Total releases
23
First release
Latest release
 Activity
Issue Closure Rate
100%
Pull Request Acceptance Rate
78%
Average date of last 50 commits
Reverse Dependencies
15
0.13
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
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
234,378
Stars
149
Forks
17
Watchers
5
 Releases
Current version
1.4.1
Total releases
24
First release
Latest release
 Activity
Issue Closure Rate
49%
Pull Request Acceptance Rate
59%
Average date of last 50 commits
Reverse Dependencies
81
0.13
No commit activity in last 3 years
No release in over 3 years
Static analysis Lint-type tool to improve your OO Ruby code
 Popularity
Downloads
22,861
Stars
447
Forks
21
Watchers
16
 Releases
Current version
0.2.4
Total releases
9
First release
Latest release
 Activity
Issue Closure Rate
100%
Pull Request Acceptance Rate
90%
Average date of last 50 commits
Reverse Dependencies
2
0.08
Repository is archived
No commit activity in last 3 years
metrics and CI are for A students.
 Popularity
Stars
77
Forks
5
Watchers
43
 Activity
Average date of last 50 commits
0.06
No release in over 3 years
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
226,286
 Releases
Current version
1.1.0
Total releases
1
First release
Latest release
 Activity
Reverse Dependencies
9
0.05
No commit activity in last 3 years
No release in over 3 years
JSLint JavaScript checker wrapped in a Ruby gem for easier use
 Popularity
Downloads
400,505
Stars
0
Forks
0
Watchers
1
 Releases
Current version
1.1.1
Total releases
9
First release
Latest release
 Activity
Average date of last 50 commits
Reverse Dependencies
5
0.03
No release in over 3 years
Low commit activity in last 3 years
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,867
Stars
52
Forks
6
Watchers
2
 Releases
Current version
0.1.3
Total releases
4
First release
Latest release
 Activity
Issue Closure Rate
50%
Pull Request Acceptance Rate
50%
Average date of last 50 commits
Reverse Dependencies
0
0.02
No commit activity in last 3 years
Computes the CRAP metric for Ruby source code
 Popularity
Stars
26
Forks
4
Watchers
2
 Activity
Average date of last 50 commits
0.02
No commit activity in last 3 years
No release in over 3 years
Language-agnostic Code Statistics
 Popularity
Downloads
19,333
Stars
25
Forks
2
Watchers
1
 Releases
Current version
0.1.8
Total releases
8
First release
Latest release
 Activity
Issue Closure Rate
0%
Average date of last 50 commits
Reverse Dependencies
0
0.01
No commit activity in last 3 years
No release in over 3 years
"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
84,538
Stars
7
Forks
1
Watchers
2
 Releases
Current version
0.2.13
Total releases
24
First release
Latest release
 Activity
Average date of last 50 commits
Reverse Dependencies
13
0.01
No release in over a year
"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
43,733
 Releases
Current version
0.15.0
Total releases
15
First release
Latest release
 Activity
Reverse Dependencies
15
0.01
No commit activity in last 3 years
No release in over 3 years
Calculates ABC metric for Ruby 1.9. Just like Flog but much more dull.
 Popularity
Downloads
11,870
Stars
15
Forks
2
Watchers
1
 Releases
Current version
0.0.3
Total releases
2
First release
Latest release
 Activity
Issue Closure Rate
0%
Average date of last 50 commits
Reverse Dependencies
2