Ruby Code Analysis and Metrics

Open-source Ruby projects categorized as Code Analysis and Metrics

Top 18 Ruby Code Analysis and Metric Projects

  • Scientist

    :microscope: A Ruby library for carefully refactoring critical paths.

    Project mention: Scientist: A Ruby library for carefully refactoring critical paths | news.ycombinator.com | 2022-10-18
  • SimpleCov

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

    Project mention: Evaluating More Coverage in Ruby 3.2 | dev.to | 2023-01-14

    Have you wondered how much of the logic in your views is exercised in your test suite? Thanks to this change, now you can see that in tools like SimpleCov.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • rails_best_practices

    a code metric tool for rails projects

  • Reek

    Code smell detector for Ruby

    Project mention: Improve Code in Your Ruby Application with RubyCritic | dev.to | 2022-10-26

    $ 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]

  • Rubycritic

    A Ruby code quality reporter

    Project mention: Improve Code in Your Ruby Application with RubyCritic | dev.to | 2022-10-26

    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.

  • Pronto

    Quick automated code review of your changes

  • Coverband

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

    Project mention: Dead code or unused code removal in ruby on rails. | /r/rubyonrails | 2022-09-09

    Try https://github.com/danmayer/coverband

  • 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.

  • Fasterer

    :zap: Don't make your Rubies go fast. Make them go fasterer ™. :zap:

  • Barkeep

    The friendly code review system.

  • suture

    🏥 A Ruby gem that helps you refactor your legacy code

  • Cane

    Code quality threshold checking as part of your build

  • Traceroute

    A Rake task gem that helps you find the unused routes and controller actions for your Rails 3+ app

  • 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.

    Project mention: Flog-Driven Development | dev.to | 2023-05-16

    You point flog to a file, or directory, and it provides you with a score. The higher the score, the more attention you might want to pay to it. As for how flog calculates the number, I'll let flog summarize itself again:

  • 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.

    Project mention: Improve Code in Your Ruby Application with RubyCritic | dev.to | 2022-10-26

    Flay identifies structural Ruby code similarities, including:

  • undercover

    Actionable code coverage - detects untested code blocks in recent changes

  • MetricFu

    A fist full of code metrics

    Project mention: Gems that can identify churn, complexity, duplication and smells. | /r/rails | 2022-08-06

    metric_fu

  • Pippi

    pippi

  • bundler-leak

    Known-leaky gems verification for bundler: `bundle leak` to check your app and find leaky gems in your Gemfile :gem::droplet:

  • SaaSHub

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

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-16.

Ruby Code Analysis and Metrics related posts

Index

What are some of the best open-source Code Analysis and Metric projects in Ruby? This list will help you:

Project Stars
1 Scientist 6,982
2 SimpleCov 4,599
3 rails_best_practices 4,087
4 Reek 3,907
5 Rubycritic 3,162
6 Pronto 2,551
7 Coverband 2,214
8 Fasterer 1,695
9 Barkeep 1,426
10 suture 1,396
11 Cane 1,327
12 Traceroute 857
13 Flog 843
14 Flay 690
15 undercover 639
16 MetricFu 613
17 Pippi 287
18 bundler-leak 272
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com