Luke Melia

personal

April 26, 2008

Finding code to hurt

After listening to Ryan Davis’ inspiring talk, “Hurting Code for Fun & Profit” at GoRuCo today, I wrote this rake task to figure out what code to hurt. It looks though your git log, and takes the 15 .rb files in your Rails’ app/ directory and runs them through flog, so you can see which are the most complicated.

Install it with sake from here.

UPDATE: If you’re interested in watching Ryan’s stellar talk, it will be up on Confreaks soon, or you can try the RubyConf edition of the talk.

Leave a Reply

LukeMelia.com created 1999. ··· Luke Melia created 1976. ··· Live With Passion!