John Wells wrote:
> Guys,
>
> I'd like to write a code analysis tool that could read Ruby or Rails
> projects (so both standard .rb files and also erb files) and do some
> simple code analysis and metrics, like what methods are called (and how
> many times), etc, etc.
>
> What libraries or tools are out there that might help one accomplish this?
>
> Thanks!
>
> John

http://gems.rubyforge.org/gems/coverage-0.2.gem

http://rubyforge.org/projects/zentest/

http://alexpooley.com/articles/2006/01/01/ruby-on-rails-test-coverage
http://eigenclass.org/hiki.rb?rcov+0.1.0+prerelease
http://asplake.blogspot.com/2006/01/test-coverage-with-rcov-and-rake-962.html

http://blog.zenspider.com/archives/ruby/parsetree/index.html