Rubycritic
A Ruby code quality reporter (by whitesmith)
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. (by seattlerb)
Rubycritic | Flog | |
---|---|---|
4 | 6 | |
3,328 | 929 | |
0.5% | 1.2% | |
6.1 | 5.5 | |
3 months ago | 12 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Rubycritic
Posts with mentions or reviews of Rubycritic.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-17.
-
First commits in a Ruby on Rails app
The third commit adds Rubycritic as a code quality static analysis.
-
Improve Code in Your Ruby Application with RubyCritic
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.
-
Best services and/or gems for automated generation of documentation, unit tests, and useful things of this nature
It's also possible to write unit tests in order to better understand or surface your assumptions about a legacy application. I'd also consider running rubycritic against legacy code, to see where the code smells and other hot spots lie.
-
How to Improve Code Quality on a Ruby on Rails Application
RubyCritic: a gem that wraps around static analysis gems such as Reek, Flay, and Flog to provide a quality report of your Ruby code.
Flog
Posts with mentions or reviews of Flog.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-16.
-
Flog-Driven Development
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
What are some alternatives?
When comparing Rubycritic and Flog you can also consider the following projects:
Rubocop - A Ruby static code analyzer and formatter, based on the community Ruby style guide. [Moved to: https://github.com/rubocop/rubocop]
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.
Brakeman - A static analysis security vulnerability scanner for Ruby on Rails applications
Reek - Code smell detector for Ruby
SimpleCov - Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
Pronto - Quick automated code review of your changes
Cane - Code quality threshold checking as part of your build
MetricFu - A fist full of code metrics