Top 18 Ruby Code Analysis and Metric Projects
:microscope: A Ruby library for carefully refactoring critical paths.Project mention: Book notes: Turn the Ship Around! | dev.to | 2022-05-04
Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suitesProject mention: Paying Down Technical Debt | dev.to | 2022-03-01
Ensure that you have sufficient test coverage. You can use code coverage analysis tools like SimpleCov to gain insight into gaps in your coverage.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
a code metric tool for rails projects
Code smell detector for RubyProject mention: Security Risks On Rails: Misconfiguration and Unsafe Integrations | dev.to | 2022-01-26
Other useful gems you may take a look at are dawnscanner, reek, and hakiri_toolbelt.
A Ruby code quality reporterProject mention: Best services and/or gems for automated generation of documentation, unit tests, and useful things of this nature | reddit.com/r/ruby | 2022-01-16
It's also possible to write unit tests in order to better understand or surface your assumptions about a legacy application. I'd also consider running rubycritic against legacy code, to see where the code smells and other hot spots lie.
Quick automated code review of your changes
Ruby production code coverage collection and reporting (line of code usage)Project mention: Gem for visualizing executed code | reddit.com/r/rubyonrails | 2022-01-10
Interesting idea! Not the same thing, but it reminded me quite a bit of Coverband
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.
:zap: Don't make your Rubies go fast. Make them go fasterer ™. :zap:
fasterer for performance optimization
The friendly code review system.
🏥 A Ruby gem that helps you refactor your legacy codeProject mention: Suture: A Ruby gem that helps you refactor your legacy code | reddit.com/r/patient_hackernews | 2021-09-05
Code quality threshold checking as part of your build
A Rake task gem that helps you find the unused routes and controller actions for your Rails 3+ app
Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.
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.
Actionable code coverage - detects untested code blocks in recent changesProject mention: In Pursuit of Perfect Code Coverage Reporting | reddit.com/r/ruby | 2022-03-31
Nice one! You could also take a look at the undercover gem for nicely formatted GitHub Checks (it's my open source CLI also available as a GitHub app)
A fist full of code metrics
Known-leaky gems verification for bundler: `bundle leak` to check your app and find leaky gems in your Gemfile :gem::droplet:
Ruby Code Analysis and Metrics related posts
In Pursuit of Perfect Code Coverage Reporting
1 project | reddit.com/r/ruby | 31 Mar 2022
How can I benchmark my application for Pagy vs Kaminari?
3 projects | reddit.com/r/rails | 5 Mar 2022
Paying Down Technical Debt
2 projects | dev.to | 1 Mar 2022
Best services and/or gems for automated generation of documentation, unit tests, and useful things of this nature
2 projects | reddit.com/r/ruby | 16 Jan 2022
Gem for visualizing executed code
2 projects | reddit.com/r/rubyonrails | 10 Jan 2022
How to test all workers in one big loop?
2 projects | reddit.com/r/rails | 2 Dec 2021
How to Improve Code Quality on a Ruby on Rails Application
8 projects | dev.to | 11 Nov 2021
What are some of the best open-source Code Analysis and Metric projects in Ruby? This list will help you:
Are you hiring? Post a new remote job listing for free.