License: Apache 2.0
Status: Alpha
Dependencies: Java 1.5, works without third party jars. Uses SVNKit and JXPath for advanced features.
Contact: stephan@codehaus.org
Meaxure is a tool for measuring code metrics of Java applications. Contrary to other tools, Meaxure works with Java source files instead of class files and aims to be extendable. Currently Meaxure supports common metrics like lines of code, number of classes, number of methods or cyclomatic complexity. Due to it's reliance on source files it does not support metrics which cannot be calculated from individual source files like depth of inheritance tree or number of children.
Meaxure supports reporting violations to certain metrics. Rules for violations can be specified using XPath expressions,
for example:will show all classes which have constructors with a parameter count larger than 10.
For a demo report start ant with the demo target:
Example:creates a metrics report on Meaxure. A sample report can be found here.