Hi, Someone can help me? I am using Rspec to create tests and Rcov to have some code coverage information, however my client would like to have some information on cyclomatic complexity. Can I use any option of Rcov to obtain it or should I use another tool ? How can I do this? Thanks -------------------------------- Elza Morelli Di Sirio Tagview Tecnologia (19) 3254-5292 www.tagview.com.br --------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091029/0a2c45d4/attachment-0001.html>
On Oct 29, 2009, at 12:21 PM, Elza Morelli wrote:> Hi, Someone can help me? > > I am using Rspec to create tests and Rcov to have some code coverage > information, however my client would like to have some information > on cyclomatic > complexity. Can I use any option of Rcov to obtain it or should I use > another tool ?Try http://saikuro.rubyforge.org/. If this is for a rails app, try http://metric-fu.rubyforge.org/ , which is a wrapper for rcov, saikuro, and several other measurement tools. HTH, David> > How can I do this? > > Thanks > -------------------------------- > Elza Morelli Di Sirio > Tagview Tecnologia > (19) 3254-5292 > www.tagview.com.br > ----------------------------------------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091029/27d917d7/attachment.html>
2009/10/29 Elza Morelli <elza.morelli at tagview.com.br>> Hi, Someone can help me? > > I am using Rspec to create tests and Rcov to have some code coverage > information, however my client would like to have some information on cyclomatic > complexity. Can I use any option of Rcov to obtain it or should I use > another tool ? > > How can I do this? >This is slightly off-topic, however, you should take a look at saikuro [0] for cyclomatic complexity. Or metric_fu [1] for the whole nine yards. [0] http://saikuro.rubyforge.org/ [1] http://metric-fu.rubyforge.org/ Cheers, Ben> > Thanks > -------------------------------- > Elza Morelli Di Sirio > Tagview Tecnologia > (19) 3254-5292 > www.tagview.com.br > --------------------------------- > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091029/09d14f15/attachment.html>