SDMetrics Core is a Java library to calculate metrics of structural design properties such as coupling, size, and complexity for UML designs. It also checks design rules to automatically detect incomplete or incorrect design, and adherence to style guidelines such as circular dependencies or naming conventions. The library provides an XMI parser for import of XMI 1.x files with UML1.3/1.4 models, and XMI 2.0/2.1 files with UML 2.x models. Design metrics, rules, and XMI import are highly customizable.
Improved support for UML 2 profiles, user-defined functions in metric expressions, and support for UML 2.4.1.
URL: SDMetrics - the design quality metrics tool for UML models