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)
Cane
Code quality threshold checking as part of your build (by square)
Flog | Cane | |
---|---|---|
8 | - | |
950 | 1,312 | |
0.0% | -0.1% | |
5.5 | 0.0 | |
over 1 year ago | over 2 years ago | |
Ruby | Ruby | |
MIT License | Apache License 2.0 |
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.
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.
-
Practical approach to software complexity
Taking actual measurements is pretty easy and usually limited to execution of a single command. In ruby universe that would be flog.
- The flog gem reports the most tortured code in an easy to read pain report
-
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
Cane
Posts with mentions or reviews of Cane.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning Cane yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
When comparing Flog and Cane you can also consider the following 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.
Fasterer - :zap: Don't make your Rubies go fast. Make them go fasterer ™. :zap:
Pronto - Quick automated code review of your changes
Reek - Code smell detector for Ruby
Rubocop - A Ruby static code analyzer and formatter, based on the community Ruby style guide. [Moved to: https://github.com/rubocop/rubocop]
Coverband - Ruby production code coverage collection and reporting (line of code usage)