skunk
Rubycritic
Our great sponsors
skunk | Rubycritic | |
---|---|---|
1 | 2 | |
386 | 2,942 | |
3.4% | 1.0% | |
5.8 | 5.3 | |
about 1 month ago | 20 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.
skunk
-
How to Improve Code Quality on a Ruby on Rails Application
Skunk's main goal is to serve as a compass for the first steps in your refactoring adventure. Focus on the files with a high skunk_score with a decent code_coverage score. That means you can get started with files that have code quality problems but also have tests, which makes this step easier.
Rubycritic
-
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.
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]
Brakeman - A static analysis security vulnerability scanner for Ruby on Rails applications
SimpleCov - Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
Reek - Code smell detector for Ruby
Pronto - Quick automated code review of your changes
rubocop - A Ruby static code analyzer and formatter, based on the community Ruby style guide.
MetricFu - A fist full of code metrics
rails_best_practices - a code metric tool for rails projects
Traceroute - A Rake task gem that helps you find the unused routes and controller actions for your Rails 3+ app
Scientist - :microscope: A Ruby library for carefully refactoring critical paths.
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.