← categories / category

Code Metrics

See on ruby-toolbox ↗ Utilities to improve code quality by reporting common code smells like complexity, unsafe defaults, unused variables or stylistic inconsistencies

recent from @rubygems

flog

Flog reports the most tortured code in an easy to read pain report

  • 4.9.4 Jan 07 2026 gem.coop system

libyear-bundler

A simple measure of dependency freshness

  • 0.9.3 Apr 19 2026 gem.coop system

prettier

prettier plugin for the Ruby programming language

  • 4.0.4 Dec 12 2023 gem.coop system

reek

Code smell detector for Ruby

  • 6.6.0 Oct 02 2026 gem.coop system

rubocop

Automatic Ruby code style checking tool.

  • 1.92.2 Oct 29 2026 gem.coop system

rubocop-rspec

Code style checking for RSpec files

  • 3.9.0 Jan 07 2026 gem.coop system

rubycritic

RubyCritic is a Ruby code quality reporter

  • 5.0.0 Jan 27 2026 gem.coop system

skunk

A library to assess code quality vs. code coverage

  • 0.6.0 Oct 12 2026 gem.coop system

standard

Ruby Style Guide, with linter & automatic code fixer

  • 1.9.1 Mar 28 2022 gem.coop system

yalphabetize

Alphabetize your YAML files

  • 0.9.0 Apr 11 2024 gem.coop system

older from @rubygems

Saikuro

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.

  • 1.1.0 Jul 25 2009 gem.coop system

cane

Fails your build if code quality thresholds are not met. Provides complexity and style checkers built-in, and allows integration with with custom quality metrics.

  • 3.0.0 Mar 10 2016 gem.coop system

coco

Code coverage tool for ruby 1.9.2 to 2.1

  • 0.9 Feb 02 2014 gem.coop system

code_statistics

Making a gem of the normal rails rake stats method, to make it more robust and work on non rails projects

  • 0.2.9 Feb 05 2010 gem.coop system

code_stats2

Language-agnostic Code Statistics

  • 0.1.8 Mar 03 2012 gem.coop system

flay

Flay analyzes code for structural similarities

  • 2.9.0 Apr 14 2017 gem.coop system

foodcritic

foodcritic-9.0.0

  • 9.0.0 Jan 31 2017 gem.coop system

fukuzatsu

A simple code complexity analyzer.

  • 2.3.2 Dec 18 2018 gem.coop system

jslint_on_rails

JSLint JavaScript checker wrapped in a Ruby gem for easier use

  • 1.1.1 Apr 17 2012 gem.coop system

metric_abc

Quick and *DIRTY* ABC metric for Ruby 1.9 code

  • 0.0.3 Aug 24 2010 gem.coop system

metric_fu

A fistful of code metrics, with awesome templates and graphs

  • 4.9.0 Mar 23 2014 gem.coop system

outlaw

Outlaw helps you enforce your opinions to keep bad code out your projects.

  • 0.1.3 Feb 11 2012 gem.coop system

pelusa

Static analysis Lint-type tool to improve your OO Ruby code

  • 0.2.4 Jan 07 2015 gem.coop system

roodi

Roodi stands for Ruby Object Oriented Design Inferometer

  • 5.0.0 May 31 2015 gem.coop system

sandi_meter

Sandi Metz rules checker

  • 1.2.0 May 13 2015 gem.coop system

snuffle

Snuffle detects data clumps in your Ruby code.

  • 0.9.1 Jul 17 2014 gem.coop system

tailor

A Ruby style & complexity measurer

  • 1.4.1 Nov 05 2014 gem.coop system