Flog
Rubocop
DISCONTINUED
Our great sponsors
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
- SaaSHub - Software Alternatives and Reviews
Flog | Rubocop | |
---|---|---|
6 | 7 | |
884 | 11,323 | |
0.3% | - | |
0.0 | 9.8 | |
2 months ago | almost 3 years 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.
Flog
-
Flog-Driven Development
What if those justifications weren't enough? What if we needed metrics to give an explanation for our refactoring? Let's use the guidance from a tool called flog to guide our changes.
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:
-
Improve Code in Your Ruby Application with RubyCritic
Flog checks how difficult your code is to test. It sets a complexity score for each line of code and sums up the score for each method and class.
-
Gems that can identify churn, complexity, duplication and smells.
flog
- Code Red: The Business Impact of Code Quality
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
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
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.
SimpleCov - Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
Fasterer - :zap: Don't make your Rubies go fast. Make them go fasterer ™. :zap:
Scientist - :microscope: A Ruby library for carefully refactoring critical paths.