Ruby static-code-analysis

Open-source Ruby projects categorized as static-code-analysis

Top 8 Ruby static-code-analysis Projects

static-code-analysis
  1. rubocop

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

    Project mention: Tiny JITs for a Faster FFI | news.ycombinator.com | 2025-02-12

    If you're looking for static typing a dynamic language is going to be a poor fit. I find a place for both. I love Rust, but trying to write a tool that consumed a GraphQL API with was a brutal exercise in frustation. I'd say that goes for typing of JSON or YAML or whatever structured format in general. It's refreshing being able to just work with data in the form I already know it's in. Ruby can be an incredibly productive language to work with.

    If you're looking for static analysis in general, please note that there are mature tools available. Rubocop¹ is probably the most popular and allows for linting and code formatting. Brakeman² is a vulnerability scanner for Rails. Sorbet³ is a static type checker.

    The tooling is there if you want to try things out. But, if you want a statically typed language then that's a debate that's been going since the dawn of programming language design. I doubt it's going to get resolved in this thread.

    ¹ - https://github.com/rubocop/rubocop

    ² - https://brakemanscanner.org/

    ³ - https://sorbet.org/

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. i18n-tasks

    Manage translation and localization with static analysis, for Ruby i18n

  4. rubocop-rails

    A RuboCop extension focused on enforcing Rails best practices and coding conventions.

  5. rubocop-performance

    An extension of RuboCop focused on code performance checks.

  6. rubocop-graphql

    Rubocop extension for enforcing graphql-ruby best practices

  7. rubocop-obsession

    RuboCop extension focused on higher-level concepts, like checking that code reads from top to bottom

    Project mention: Rubocop-obsession: RuboCop extension focused on higher-level concepts | news.ycombinator.com | 2024-10-27
  8. rubocop-gradual

    Gradually improve your code with RuboCop

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. jt_tools

    Ruby on Rails Continuous Deployment Ecosystem to maintain Healthy Stable Development

    Project mention: Mastering the Command Line to Create New Rails App Projects | dev.to | 2025-06-08

    The community around Rails is super helpful and always growing. It's a great place to learn and get support. If you want to see how we help teams build awesome stuff, check out our website!

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

Ruby static-code-analysis discussion

Log in or Post with

Ruby static-code-analysis related posts

  • Rubocop-obsession: RuboCop extension focused on higher-level concepts

    4 projects | news.ycombinator.com | 27 Oct 2024
  • Effortless Code Conventions Review for Pull Request Changes

    6 projects | dev.to | 7 Jun 2024
  • Utilities for refactoring and upgrading Ruby code based on ASTs

    3 projects | news.ycombinator.com | 6 May 2024
  • Mastering Linters : A Code Quality Assurance Comprehensive Guide using Ruby on Rails

    1 project | dev.to | 8 Nov 2023
  • code review / feedback for improvement

    2 projects | /r/ruby | 16 Sep 2023
  • I live and work in the US where protests against police brutality have been ongoing for days, and coming to work this week the word "cop" has an uncomfortable feeling about it.

    3 projects | /r/programmingcirclejerk | 7 Jul 2023
  • What’s your day to day development env set up?

    1 project | /r/rails | 23 Jun 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 10 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source static-code-analysis projects in Ruby? This list will help you:

# Project Stars
1 rubocop 12,752
2 i18n-tasks 2,121
3 rubocop-rails 843
4 rubocop-performance 711
5 rubocop-graphql 230
6 rubocop-obsession 136
7 rubocop-gradual 36
8 jt_tools 14

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

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