Reference http://eewang.github.io/blog/2014/01/18/how-to-smell-check-your-code-quality-in-ruby-and-rails/ Gem Reek https://github.com/troessner/reek Rails Best Practices https://github.com/railsbp/rails_best_practices Rubocop https://github.com/bbatsov/rubocop