Improve Code in Your Ruby Application with RubyCritic

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

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. Rubycritic

    A Ruby code quality reporter

    You should consider using RubyCritic if you want a single place to review code improvements for your project. Including RubyCritic in your development process will certainly reduce the time a development team spends working on technical debts. Most technical debts will be mapped out at development time.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Reek

    Code smell detector for Ruby

    $ reek app/controllers/erp/orders_controller.rb Inspecting 1 file(s): S app/controllers/erp/orders_controller.rb -- 1 warning: [91]:UncommunicativeVariableName: Erp::OrdersController#create has the variable name 'e' [https://github.com/troessner/reek/blob/v6.1.1/docs/Uncommunicative-Variable-Name.md]

  4. Byebug

    Debugging in Ruby 2

    byebug - this elevates debugging Ruby applications. It allows you to run a program line by line, add breakpoints, and evaluate and track values at runtime. If you still use puts for debugging, it's time you get to know Byebug's features and commands.

  5. rubocop

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

    rubocop - a linter for Ruby code that helps you follow a style guide used by the Ruby community, or even apply your own code style. It's very useful to set standards in your team and avoid silly conflicts about spaces and tabs.

  6. SimpleCov

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

    SimpleCov - a tool to check Ruby application code coverage. You can configure it to run alongside your tests. It provides metrics on code coverage so that you can identify what you need to pay attention to and where to invest your time to create better test cases.

  7. Flog

    Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.

    Flog checks how difficult your code is to test. It sets a complexity score for each line of code and sums up the score for each method and class.

  8. Flay

    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.

    Flay identifies structural Ruby code similarities, including:

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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

  • First commits in a Ruby on Rails app

    6 projects | dev.to | 17 Jan 2024
  • Code Reviewing a Ruby on Rails application.

    6 projects | dev.to | 3 Jul 2023
  • Why does pry/Zeitwerk have issues loading constants in breakpoint context?

    2 projects | /r/rails | 1 May 2023
  • How can you debug Rspec tests with VSCode?

    1 project | /r/ruby | 20 Apr 2023
  • From byebug to ruby/debug

    2 projects | dev.to | 10 Aug 2022

Did you know that Ruby is
the 12th most popular programming language
based on number of references?