The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 18 Ruby Code Analysis and Metric Projects
-
SimpleCov
Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
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.
-
Traceroute
A Rake task gem that helps you find the unused routes and controller actions for your Rails 3+ app
-
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.
-
undercover
undercover warns about methods, classes and blocks that were changed without tests, to help you easily find untested code and reduce the number of bugs. It does so by analysing data from git diffs, code structure and SimpleCov coverage reports
-
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
Project mention: Crates that run multiple versions of a function and ensures the return value is the same? | /r/rust | 2023-12-05For some google-fu, the ruby / .NET equivalent of this is https://github.com/github/scientist / https://github.com/scientistproject/Scientist.net
gem "simplecov" - https://github.com/simplecov-ruby/simplecov | Gather spec coverage stats locally and on CI, aim for those 90+%.
Rubycritic uses reek under the hood so I added a reek config files at .reek.yml with the following content:
The third commit adds Rubycritic as a code quality static analysis.
Project mention: Pronto: Quick automated code review of your changes | news.ycombinator.com | 2024-03-06
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 analyzes ruby code for structural similarities. Differences in literal values, names, whitespace, and programming style are all ignored. Flay helps reduce code duplication and keep your code DRY (Don't Repeat Yourself).
Ruby Code Analysis and Metrics related posts
- Pronto: Quick automated code review of your changes
- First commits in a Ruby on Rails app
- Crates that run multiple versions of a function and ensures the return value is the same?
- Scientist: A Ruby library for carefully refactoring critical paths
- Test Against Reality
- Code Reviewing a Ruby on Rails application.
- What’s your day to day development env set up?
-
A note from our sponsor - WorkOS
workos.com | 27 Apr 2024
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 | 7,331 |
2 | SimpleCov | 4,707 |
3 | rails_best_practices | 4,131 |
4 | Reek | 3,981 |
5 | Rubycritic | 3,289 |
6 | Pronto | 2,591 |
7 | Coverband | 2,386 |
8 | Fasterer | 1,775 |
9 | Barkeep | 1,427 |
10 | suture | 1,404 |
11 | Cane | 1,322 |
12 | Flog | 907 |
13 | Traceroute | 894 |
14 | Flay | 727 |
15 | undercover | 714 |
16 | MetricFu | 621 |
17 | Pippi | 287 |
18 | bundler-leak | 285 |
Sponsored