[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

code analysing tools for Ruby

Arjen van Schie

3/28/2007 3:38:00 PM

I'm searching for code analysing tools for Ruby . I know some tools
for Java and DotNet but i can't seem to find much for Ruby.
Things im interested in are metrics like coupling (fan-in, fan-out),
complexity (McCabe), inheritance nesting levels etc.

The only tools I found so far are saikuro(only mccabe) and kwala
(seems like a frontend for saikuro)

If you know of any other tools please let me know,

Arjen

1 Answer

Zev Blut

3/29/2007 3:06:00 AM

0

Hello,

On Thu, 29 Mar 2007 00:40:05 +0900, Arjen van Schie <gvschie@gmail.com>
wrote:

> I'm searching for code analysing tools for Ruby . I know some tools
> for Java and DotNet but i can't seem to find much for Ruby.
> Things im interested in are metrics like coupling (fan-in, fan-out),
> complexity (McCabe), inheritance nesting levels etc.
>
> The only tools I found so far are saikuro(only mccabe) and kwala
> (seems like a frontend for saikuro)

I believe Ryan Davis' ParseTree code has an ABC metric example.

Also, Kwala has a number of other options in addition to also being a
front-end to Saikuro. For example, there is a hook for checking code
duplication using PMD's CPD. Plus there is code to analyse your
require structure, which can act as a poor man's coupling, but
certainly writing specific coupling metrics would be interesting. To
be honest I am hoping other people with help out in adding any missing
and useful metrics to Kwala. Or at least, I hope you get some good
responses so I can find some time to hook them into Kwala ;-)

Cheers,
Zev