Appendix B. Ruby Refactoring Tools

A number of refactoring tools for Ruby are now available, many in the alpha or beta stages of development. This appendix lists those we know about at the time of going to press.

Code Smell Detectors

flay Finds code fragments with identical or similar structure:http://ruby.sadi.st/Flay.html

flog Computes ABC code complexity metrics for Ruby code:http://ruby.sadi.st/Flog.html

heckle A mutation tester; changes your code and re-runs your tests to check for coverage:http://rubyforge.org/projects/seattlerb/

Reek Our very own open source tool identifies smells in your Ruby code:http://wiki.github.com/kevinrutherford/reek

Roodi Checks Ruby code against style guidelines:http://rubyforge.org/projects/roodi

Simian ...

Get Refactoring in Ruby now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.