Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 285
  • Last Modified:

Java Code Analyzer tools

Hi
I am looking into various Java Code Analyzer tools . The one that catches the eye is JStyle
because of the following metrics
Depth of Inheritance
Class fan-in/fan-out
RFC
LCOM
Cyclomatic Number
Halstead Measures
Weighted Methods Complexity
However I am not in a position to afford the steep license fee.

Question : Is there any other opensource tools that can generate the same metrics preferably in XML format?

0
arnabkundu
Asked:
arnabkundu
2 Solutions
 
lilian-arnaudCommented:
you can take a look on JavaNCSS  ( http://www.kclee.de/clemens/java/javancss/ ), on metrics (http://metrics.sourceforge.net/) and on pmd (http://pmd.sourceforge.net/).



If you are using maven, take also a look on sonar which aggregates results from JavaNCSS, Checkstyle, PMD, cobertura in a synthetic view.
0
 
basav_comCommented:
A complete list...
http://java-source.net/open-source/code-analyzers

I prefer findbugs.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now