How to Improve Code Quality on a Ruby on Rails Application

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • PopRuby - Clothing and Accessories for Ruby Developers
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • LearnThisRepo.com - Learn 300+ open source libraries for free using AI.
  • WorkOS - The modern API for authentication & user identity.
  • SimpleCov

    Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites

    Use SimpleCov to generate a report of how many statements are covered by your test suite. It won't assess the test suite quality, though.

  • Coverband

    Ruby production code coverage collection and reporting (line of code usage)

    Find dead code with Coverband, which can be run in production.

  • PopRuby

    PopRuby: Clothing and Accessories for Ruby Developers. Fashion meets Ruby! Shop our fun Ruby-inspired apparel and accessories designed to celebrate the joy and diversity of the Ruby community.

  • Rubycritic

    A Ruby code quality reporter

    RubyCritic: a gem that wraps around static analysis gems such as Reek, Flay, and Flog to provide a quality report of your Ruby code.

  • skunk

    A SkunkScore Calculator for Ruby Code -- Find the most complicated code without test coverage! (by fastruby)

    Skunk's main goal is to serve as a compass for the first steps in your refactoring adventure. Focus on the files with a high skunk_score with a decent code_coverage score. That means you can get started with files that have code quality problems but also have tests, which makes this step easier.

  • rubocop

    A Ruby static code analyzer and formatter, based on the community Ruby style guide.

    Rubocop: a Ruby static code analyzer and formatter, based on the community Ruby style guide.

  • tombstone

    My first gem :) Simple tool to log dead code. (by lewispb)

    Tombstone

  • scythe

    A tool for detecting barely used code in production (by michaelfeathers)

    Scythe

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • debride

    Analyze code for potentially uncalled / dead methods, now with auto-removal.

    Debride

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts