Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
reek, a code smells detector for ruby
Kevin Rutherford
9/24/2008 6:50:00 PM
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/t...
or
http://rubyforge.org/proj...
.
Cheers,
Kevin
--=20
w:
http://silkands...
l:
http://www.linkedin.com/in/kevin...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
reek, a code smells detector for ruby
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password