Ruby static-code-analysis

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

Top 9 Ruby static-code-analysis Projects

  • rubocop

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

    Project mention: Mastering Linters : A Code Quality Assurance Comprehensive Guide using Ruby on Rails | dev.to | 2023-11-08
  • CodeClimate

    Code Climate CLI

    Project mention: Boas práticas para revisão de código | dev.to | 2023-10-02
  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • i18n-tasks

    Manage translation and localization with static analysis, for Ruby i18n

    Project mention: Identifying I18n translation keys | /r/rails | 2023-03-14

    Why not i18n-tasks? 1.9k stars on GitHub. It's definitely a worthwhile dependency and probably why you're not seeing much free explanations because the gem is widely used.

  • rubocop-rails

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

    Project mention: RuboCoping with legacy: Bring your Ruby code up to Standard | /r/ruby | 2023-04-05

    1) Auto-correcting a whole (large) codebase at once with tons of offenses and dozens of active branches should be used with caution. Merge conflicts, blame pollution (ok, can be solved with .git-blame-ignore-revs, though can hardly remember any project using it). Though, the most important argument is that auto-correct can introduce bugs. Unfortunately, even safe autocorrect can be unsafe. Recently, I broke one popular project (with a decent, but not 99.999% test coverage) with a single "safe" auto-correction commit 🙂 (This issue).

  • rubocop-performance

    An extension of RuboCop focused on code performance checks.

  • theme-check

    The Ultimate Shopify Theme Linter

  • rubocop-graphql

    Rubocop extension for enforcing graphql-ruby best practices

    Project mention: rubocop-graphql 1.0.0 released | /r/ruby | 2023-02-28

    After 3 years in development of 0. version it's a collection of 25 cops for Rubocop to take your GraphQL code to the next level. Link: https://github.com/DmitryTsepelev/rubocop-graphql

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • rubocop-gradual

    Gradually improve your code with RuboCop

    Project mention: RuboCoping with legacy: Bring your Ruby code up to Standard | /r/ruby | 2023-04-05

    2) Inline comments add a lot of noise. Encouraging developers to fix style issues? Or encouraging them to spend time on irrelevant fixes while working on features? The TODO approach should be considered as a prevention measure. The primary goal is to write new code in style. Unfortunately, if there are many large classes/files, TODO config can silent new offenses. To overcome this, we can use alternative tools, like rubocop-gradual.

  • jt_tools

    Ruby on Rails Continuous Deployment Ecosystem to maintain Healthy Stable Development

    Project mention: How we configure Simplecov for our Ruby on Rails projects. | dev.to | 2023-11-21

    You can find the complete configuration code here. Happy Coding!

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

Ruby static-code-analysis related posts

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,406
2 CodeClimate 2,446
3 i18n-tasks 1,972
4 rubocop-rails 749
5 rubocop-performance 599
6 theme-check 323
7 rubocop-graphql 205
8 rubocop-gradual 32
9 jt_tools 14
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com