Tools for Code metrics, complexity

Hi, what tools do you folks recommend for code metrics, especially higher
level stuff like measures of size, complexity, maybe even package cohesion /
coupling?

Thanks,
Jon


7 comments
Comment actions Permalink


I really, really liked SmallWorlds, which had great visualization of dependencies and some good coupling/cohesion metrics (class and package level). No complexity metrics, but other than that very powerful. I only used it as eval, though, saving up the departments pennies until I could get a license.

Sadly (for me, although presumably not for them), they've been bought by IBM, and the product shelved. I expect it'll to show up as an extension to WSAD.

0
Comment actions Permalink

Jon Steelman wrote:

Hi, what tools do you folks recommend for code metrics, especially higher
level stuff like measures of size, complexity, maybe even package cohesion /
coupling?


Have you tried the Package Structure Analysis Tool (free) from Compuware?

See: http://javacentral.compuware.com/pasta/index.htm

I'm pretty sure it does at least some of what you're after.

Regards,
Paul

0
Comment actions Permalink

Seems to have nice visualization for what it does. Will give it a try.

Thanks,
Jon

"Paul Mclachlan" <pdmclach@earthlink.net> wrote in message
news:3F2994C3.8030002@earthlink.net...

Jon Steelman wrote:

Hi, what tools do you folks recommend for code metrics, especially

higher

level stuff like measures of size, complexity, maybe even package

cohesion /

coupling?

>

Have you tried the Package Structure Analysis Tool (free) from Compuware?

>

See: http://javacentral.compuware.com/pasta/index.htm

>

I'm pretty sure it does at least some of what you're after.

>

Regards,
Paul

>


0
Comment actions Permalink

Dave,

Don't tease us like that! ;)
Say, from your cnn.com email, are you in the Atlanta area? I tried to email
your at the cnn email address but it bounced.

Thanks,
Jon

"Dave Griffith" <dave.griffith@cnn.com> wrote in message
news:29007594.1059678119529.JavaMail.javamailuser@localhost...
>

I really, really liked SmallWorlds, which had great visualization of

dependencies and some good coupling/cohesion metrics (class and package
level). No complexity metrics, but other than that very powerful. I only
used it as eval, though, saving up the departments pennies until I could get
a license.
>

Sadly (for me, although presumably not for them), they've been bought by

IBM, and the product shelved. I expect it'll to show up as an extension to
WSAD.


0
Comment actions Permalink


I am indeed in Atlanta (moved here 6 months ago), and working for CNN. Can't think why dave.griffith@cnn.com would bounce, though, other than intensely vicious spam/virus filters on our gateways.

0
Comment actions Permalink

We are using essential metrics/krakatau (CT metrics) and a modified version
of jdepend to show cycles and "main line distance" on a graph done in svg.
We run these on a continuous build server not interactively.
We are still working on visualization of cycle and Pasta that Paul mentioned
is pretty good for that but requires 1.3, is fairly buggy (bailed out on
some of our big apps) and is not really easy to drill down on the classes
that form the cycles.

email me if you are interested

Jacques

"Jon Steelman" <jon@cc.gatech.edu> wrote in message
news:bgbnoq$kco$1@is.intellij.net...

Hi, what tools do you folks recommend for code metrics, especially higher
level stuff like measures of size, complexity, maybe even package cohesion

/

coupling?

>

Thanks,
Jon

>
>


0
Comment actions Permalink

Hi Jacques,

If you find any bugs in Pasta we would appreciate it if you report them, as we don't have that many bugs left in our bugzilla at the moment ;-). There is an incident report form on the site, but you can also mail me.

Also ideas about how to improve drill down to classes that form cycles are welcome.

Edwin Hautus - Pasta Architect

0

Please sign in to leave a comment.