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
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • 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