reek, a code smells detector for ruby

K

Kevin Rutherford

Hi,
I've been working on a little software tool called 'reek'. Reek scans
ruby code =97 either source files or in-memory Class objects =97 looking
for some of the code smells discussed in the book. Right now it can
detect (certain forms of):

* Long Method
* Large Class
* Feature Envy
* Uncommunicative Name
* Long Parameter List
* Utility Function
* Nested Iterators

As time goes by I'll be adding checks for more smells, and I hope to
make the current checks a bit more sophisticated. But in the agile
spirit of going ugly early, the current very early version is
available for you to experiment with. To get the tool:

gem install reek

To run it:

reek file1.rb file2.rb =85

If you try it, please let me know what you think and what you'd like
the next version to do!

You can browse the reek project's code repository at
http://github.com/kevinrutherford/reek/tree/master or
http://rubyforge.org/projects/reek/.
Cheers,
Kevin
--=20
w: http://silkandspinach.net
l: http://www.linkedin.com/in/kevinrutherford
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top