Rubocop
DISCONTINUED
Scientist
Our great sponsors
Rubocop | Scientist | |
---|---|---|
6 | 13 | |
11,323 | 6,872 | |
- | 0.4% | |
9.8 | 2.1 | |
almost 2 years ago | 14 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Rubocop
- Mais de 10 coisas para fazer antes de solicitar revisão do seu Pull Request
-
RuboCop Turns 10
No, it's not?! The latest version is 1.28.2: https://rubygems.org/gems/rubocop
- what ruby or rails open source projects a beginner-to-intermediate developer can easily contribute to?
-
Refactoring in Ruby
Running rubocop might give you a few tips regarding naming conventions and best practices
Scientist
-
Real-World Engineering Challenges: Migrations
Check out GitHub scientist if you are doing a migration with a ruby based system: https://github.com/github/scientist
Great support and functionality for testing differences between two systems of record.
-
Using Scientist to Refactor Critical Ruby on Rails Code
However, the good news is that it’s easy and safe to do so in Ruby and Rails using the Scientist gem. Scientist's name is based on the scientific method of conducting experiments to verify a given hypothesis. In this case, our hypothesis is that the new code does the job.
-
Book notes: Turn the Ship Around!
Github scientist.
-
How can I benchmark my application for Pagy vs Kaminari?
You could try using both gems and wrapping a few instances (or all) of your pagination logic in the scientist gem. I can't recall offhand if it has benchmarking built-in, but you could easily wrap your use and try blocks in benchmarking calls and compare that when you publish results.
-
A practical tracing journey with OpenTelemetry on Node.js
But there's an even better option: run both libraries in production for real-world requests, and see if there's a meaningful gain from undici. I learnt this approach from GitHub's Scientist. Sadly, this article is about tracing, not experimentation, so I won't continue down that path now, but I hope to write another article about it soon. My implementation would probably be to have a switch that randomly picks one of the two libraries for each request. Then I'll compare the metrics and see which performs better over time.
- Suture: A Ruby gem that helps you refactor your legacy code
What are some alternatives?
Rubycritic - A Ruby code quality reporter
Reek - Code smell detector for Ruby
Brakeman - A static analysis security vulnerability scanner for Ruby on Rails applications
Pronto - Quick automated code review of your changes
rails_best_practices - a code metric tool for rails projects
SimpleCov - Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
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.
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.
Fasterer - :zap: Don't make your Rubies go fast. Make them go fasterer ™. :zap:
Coverband - Ruby production code coverage collection and reporting (line of code usage)
Cane - Code quality threshold checking as part of your build
MetricFu - A fist full of code metrics