Code Metrics
Utilities to improve code quality by reporting common code smells like complexity, unsafe defaults, unused variables or stylistic inconsistencies
16.12
RuboCop is a Ruby code style checking and code formatting tool.
It aims to enforce the community-driven Ruby Style Guide.
2020
2021
2022
2023
2024
2025
4.48
Code style checking for RSpec files.
A plugin for the RuboCop code style enforcing & linting tool.
2020
2021
2022
2023
2024
2025
1.76
Reek is a tool that examines Ruby classes, modules and methods and reports any code smells it finds.
2020
2021
2022
2023
2024
2025
1.39
Ruby Style Guide, with linter & automatic code fixer
2020
2021
2022
2023
2024
2025
1.21
RubyCritic is a tool that wraps around various static analysis gems to provide a quality report of your Ruby code.
2020
2021
2022
2023
2024
2025
0.73
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.
2020
2021
2022
2023
2024
2025
0.7
Flog reports the most tortured code in an easy to read pain
report. The higher the score, the more pain the code is in.
2020
2021
2022
2023
2024
2025
0.62
a code metric tool for rails codes, written in Ruby.
2020
2021
2022
2023
2024
2025
0.47
prettier plugin for the Ruby programming language
2020
2021
2022
2023
2024
2025
0.42
Fails your build if code quality thresholds are not met
2020
2021
2022
2023
2024
2025
0.31
A code linting tool for Chef Infra cookbooks.
2020
2021
2022
2023
2024
2025
0.28
Code metrics from Flog, Flay, Saikuro, Churn, Reek, Roodi, Code Statistics, and Rails Best Practices. (and optionally RCov)
2020
2021
2022
2023
2024
2025
0.21
Sandi Metz rules checker
2020
2021
2022
2023
2024
2025
0.15
Knows how to calculate the SkunkScore for a set of Ruby modules
2020
2021
2022
2023
2024
2025
0.14
Roodi parses your Ruby code and warns you about design issues you have based on the checks that is has configured
2020
2021
2022
2023
2024
2025
0.11
Static analysis Lint-type tool to improve your OO Ruby code
2020
2021
2022
2023
2024
2025
0.05
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...
2020
2021
2022
2023
2024
2025
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 scann...
2020
2021
2022
2023
2024
2025
0.02
Computes the CRAP metric for Ruby source code
0.01
A simple measure of dependency freshness
2020
2021
2022
2023
2024
2025
0.01
Calculates ABC metric for Ruby 1.9. Just like Flog but much more dull.
2020
2021
2022
2023
2024
2025
0.01
JSLint JavaScript checker wrapped in a Ruby gem for easier use
2020
2021
2022
2023
2024
2025
0.01
Calculates code complexity as a measure of paths through code execution. CI integration and beautiful output options.
2020
2021
2022
2023
2024
2025
0.01
Language-agnostic Code Statistics
2020
2021
2022
2023
2024
2025
0.01
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.
2020
2021
2022
2023
2024
2025
0.0
"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.
2020
2021
2022
2023
2024
2025
0.0
Snuffle detects data clumps and other hints of extractable objects in your Ruby code.
2020
2021
2022
2023
2024
2025
0.0
"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."
2020
2021
2022
2023
2024
2025
0.0
Alphabetize your YAML files
2020
2021
2022
2023
2024
2025