Rubycritic
Coverband
Our great sponsors
Rubycritic | Coverband | |
---|---|---|
4 | 6 | |
3,289 | 2,383 | |
0.6% | - | |
6.3 | 8.3 | |
1 day ago | 9 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.
Rubycritic
-
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.
Coverband
-
Dead code or unused code removal in ruby on rails.
Try https://github.com/danmayer/coverband
-
Gem for visualizing executed code
Interesting idea! Not the same thing, but it reminded me quite a bit of Coverband
-
How to Improve Code Quality on a Ruby on Rails Application
Find dead code with Coverband, which can be run in production.
-
Ruby's Got You Covered
There are many tools for measuring test coverage, but one is SimpleCov. It also supports branches coverage. To measure coverage of production code, check out Coverband, which you can set up to use oneshot lines mode.
-
Top 8 Tools for Ruby on Rails Code Optimization and Cleanup.
I'd add Coverband. Also, since you mention rack-mini-profiler, quick plug for rails-mini-profiler, which is my own spin on performance profiling for rails apps. Still WIP though.
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]
SimpleCov - Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
Brakeman - A static analysis security vulnerability scanner for Ruby on Rails applications
Reek - Code smell detector for Ruby
Pronto - Quick automated code review of your changes
MetricFu - A fist full of code metrics
Scientist - :microscope: A Ruby library for carefully refactoring critical paths.
rubocop - A Ruby static code analyzer and formatter, based on the community Ruby style guide.
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.