Ruby Static Analysis

Open-source Ruby projects categorized as Static Analysis

Top 10 Ruby Static Analysis Projects

Static Analysis
  1. Brakeman

    A static analysis security vulnerability scanner for Ruby on Rails applications

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

  4. Rubycritic

    A Ruby code quality reporter

  5. i18n-tasks

    Manage translation and localization with static analysis, for Ruby i18n

  6. mutant

    Automated code reviews via mutation testing - semantic code coverage.

  7. cfn_nag

    Linting tool for CloudFormation templates

  8. rubocop-rspec

    Code style checking for RSpec files.

  9. SaaSHub

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

    SaaSHub logo
  10. krane

    Kubernetes RBAC static analysis & visualisation tool (by appvia)

  11. metrics_collector

    A Ruby code metrics collector

  12. studyfair

    Student plagiarism detection tool based on CCD algorithms

    Project mention: JPlag – Detecting Software Plagiarism | news.ycombinator.com | 2024-08-16

    One of the key outcomes of my master's thesis was the development of an extendable solution for Code Clone Detection (CCD), primarily focused on code and tested with undergraduates at my university [1]. Although I didn't have time to complete the adapter for JPlag, I believe it would be highly beneficial.

    Interestingly, whenever I discussed my thesis, the first reaction from others often revolved around moral concerns.

    [1] https://github.com/studyfair/studyfair

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 Analysis discussion

Log in or Post with

Ruby Static Analysis related posts

  • What are some common strategies for preventing SQL injection vulnerabilities in Rails beyond ActiveRecord?

    2 projects | dev.to | 23 Dec 2024
  • First commits in a Ruby on Rails app

    6 projects | dev.to | 17 Jan 2024
  • Top 5 AI Tools for 10x productivity

    1 project | dev.to | 1 Oct 2023
  • [Tool] An alternative to Brakeman for Security

    2 projects | /r/rails | 11 Jul 2023
  • Brakeman VS bearer - a user suggested alternative

    2 projects | 10 Jul 2023
  • Code Reviewing a Ruby on Rails application.

    6 projects | dev.to | 3 Jul 2023
  • Identifying I18n translation keys

    3 projects | /r/rails | 14 Mar 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 19 Mar 2025
    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. Learn more →

Index

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

# Project Stars
1 Brakeman 7,091
2 Reek 4,071
3 Rubycritic 3,389
4 i18n-tasks 2,100
5 mutant 1,967
6 cfn_nag 1,270
7 rubocop-rspec 821
8 krane 702
9 metrics_collector 3
10 studyfair 0

Sponsored
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

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