Category

Code Metrics

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

20.25
A long-lived project that still receives updates
RuboCop is a Ruby code style checking and code formatting tool. It aims to enforce the community-driven Ruby Style Guide.
2016
2017
2018
2019
2020
2021
4.21
A long-lived project that still receives updates
Code style checking for RSpec files. A plugin for the RuboCop code style enforcing & linting tool.
2016
2017
2018
2019
2020
2021
2.48
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.
2016
2017
2018
2019
2020
2021
2.33
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.
2016
2017
2018
2019
2020
2021
1.64
No release in over a year
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.
2016
2017
2018
2019
2020
2021
1.6
There's a lot of open issues
A long-lived project that still receives updates
RubyCritic is a tool that wraps around various static analysis gems to provide a quality report of your Ruby code.
2016
2017
2018
2019
2020
2021
1.0
Low commit activity in last 3 years
No release in over a year
Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.
2016
2017
2018
2019
2020
2021
0.72
No release in over 3 years
Low commit activity in last 3 years
Fails your build if code quality thresholds are not met
2016
2017
2018
2019
2020
2021
0.47
No release in over a year
Code metrics from Flog, Flay, Saikuro, Churn, Reek, Roodi, Code Statistics, and Rails Best Practices. (and optionally RCov)
2016
2017
2018
2019
2020
2021
0.27
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
2016
2017
2018
2019
2020
2021
0.18
No commit activity in last 3 years
No release in over 3 years
Static analysis Lint-type tool to improve your OO Ruby code
2016
2017
2018
2019
2020
2021
0.12
The project is in a healthy, maintained state
Knows how to calculate the SkunkScore for a set of Ruby modules
2016
2017
2018
2019
2020
2021
0.1
Repository is archived
No release in over 3 years
Low commit activity in last 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...
2016
2017
2018
2019
2020
2021
0.07
Repository is archived
No commit activity in last 3 years
metrics and CI are for A students.
0.03
No commit activity in last 3 years
No release in over 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 scann...
2016
2017
2018
2019
2020
2021
0.03
No commit activity in last 3 years
Computes the CRAP metric for Ruby source code
0.03
No commit activity in last 3 years
No release in over 3 years
JSLint JavaScript checker wrapped in a Ruby gem for easier use
2016
2017
2018
2019
2020
2021
0.03
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.
2016
2017
2018
2019
2020
2021
0.02
No release in over a year
Calculates code complexity as a measure of paths through code execution. CI integration and beautiful output options.
2016
2017
2018
2019
2020
2021
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.
2016
2017
2018
2019
2020
2021
0.01
No release in over 3 years
"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.
2016
2017
2018
2019
2020
2021
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."
2016
2017
2018
2019
2020
2021
0.0
No release in over 3 years
Snuffle detects data clumps and other hints of extractable objects in your Ruby code.
2016
2017
2018
2019
2020
2021