rails_best_practices
Flog
Our great sponsors
rails_best_practices | Flog | |
---|---|---|
1 | 6 | |
4,131 | 907 | |
- | 1.2% | |
0.0 | 5.5 | |
about 1 year ago | 7 months 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.
rails_best_practices
-
Rails application boilerplate for fast MVP development
add rails_best_practices
Flog
-
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?
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.
Reek - Code smell detector for Ruby
SimpleCov - Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
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
Pronto - Quick automated code review of your changes
Rubycritic - A Ruby code quality reporter
Fasterer - :zap: Don't make your Rubies go fast. Make them go fasterer ™. :zap:
Cane - Code quality threshold checking as part of your build