File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Java metrics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Storm Applied this week in the Other Open Source APIs forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java metrics" Watch "Java metrics" New topic

Java metrics

Lucky Singh
Ranch Hand

Joined: Jan 19, 2004
Posts: 125
Is there a tool avalailable which analyzes Java code that I can download?
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Google for "java static source analysis" and you'll find many. Robert Martin developed a set of stability vs abstractness metrics for packages that are implemented in several tools, both free and commercial. There are others that check for style - naming, indenting, commenting, etc - and common bugs.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: Java metrics