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. Learn more →
Top 18 Ruby Code Analysis and Metric Projects
-
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
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.
-
-
$ 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]
-
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.
-
-
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.
-
-
-
-
-
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.
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.
Flay identifies structural Ruby code similarities, including:
-
-
Project mention: Gems that can identify churn, complexity, duplication and smells. | /r/rails | 2022-08-06
metric_fu
-
-
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
Ruby Code Analysis and Metrics related posts
- Flog-Driven Development
- Evaluating More Coverage in Ruby 3.2
- My First Code Commit in Ruby
- Falha de cobertura: Divagações sobre testes de software
- Improve Code in Your Ruby Application with RubyCritic
- Scientist: A Ruby library for carefully refactoring critical paths
- Real-World Engineering Challenges: Migrations
-
A note from our sponsor - InfluxDB
www.influxdata.com | 6 Jun 2023
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 |