Reek is a tool that examines Ruby classes, modules and methods and reports any code smells it finds.
Kevin Rutherford, Timo Roessner, Matijs van Zuijlen
gem "reek", "~> 1.2.13"