I recently found out about Reek from watching Sandi Metz's talk from RailsConf 2016 (great intro to code smells btw).
Code smell detector for Ruby
Table of Contents
- Supported Ruby versions
- Fixing Smell Warnings
- Code smells
- Developing Reek / Contributing
- Output formats
- Working with Rails
- Brothers and sisters
- Additional resources
Reek 5 is out!
Reek 5 is out and with it a bunch of breaking changes. If you're a new user you can just continue with the quickstart below. If you're a Reek 4 user and would like to upgrade to 5, don't worry, this shouldn't take you more than 10 minutes. Check out our Upgrade Guide.
Reek is a tool that examines Ruby classes, modules and methods and reports any Code Smells it finds.
I love tools like these, because you can run them and have the computer tell you what code might be problematic. Also:
- works with Ruby 2.3, 2.4, 2.5
- little configuration required for Rails
- easy config in general
- has a thorough README
I haven't used it much yet, and it seems to be a fairly popular gem. Have you heard of it? What are your thoughts on it?