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