SDMetrics – Software Design Metrics tool for the UML

Tweet about this on TwitterShare on FacebookBuffer this pageShare on RedditShare on LinkedInShare on Google+Email this to someone

Today, in a guest post, Juergen Wuest presents us his tool SDMetrics . Read his post to know more about this excellent software design metrics tool for UML!

SDMetrics is a software design quality measurement tool for the UML. It measures structural design properties such as coupling, size, and complexity of UML models. SDMetrics also checks design rules to automatically detect incomplete or incorrect design, and adherence to style guidelines such as circular dependencies or naming conventions.

Design quality measurement

Structural design properties such as complexity are known to have an impact on the quality of the resulting system. For example, high complexity or coupling can lead to increased fault-proneness, and make the system more difficult to maintain. System size is the main driver for development effort. Measures of structural properties are frequently applied to source code. Tools to calculate metrics such as LOC (lines of code) or McCabe’s Cyclomatic Complexity ARE available FOR practically every programming LANGUAGE.

SDMetrics applies these principles TO UML models. The later a problem IS FOUND IN the development process, the MORE expensive it IS TO fix. Therefore, design quality measurement has the potential TO find problems earlier. By measuring the structural properties OF their models, software engineers can better focus design reviews AND testing efforts ON the potentially critical areas that ARE likely sources OF reliability OR maintainability problems IN their software designs, before they ARE COMMITTED TO source code. Measures OF design SIZE also support effort estimation, project planning AND monitoring.

Customizable design measurement

As shipped, SDMetrics calculates about 120 design metrics AND 130 design rules, covering ALL UML diagram types. However, USAGE OF the UML varies greatly among software organizations, IN the LEVEL OF detail OF the models, the types OF diagrams that ARE created, the rigor WITH which the UML IS applied, AND the ways IN which the extension mechanisms OF the UML ARE used.

Therefore, users must be able TO define design measures AND rules OF their own, that ARE tailored TO the way they use the UML IN their development processes. TO this END, SDMetrics provides the “SDMetricsML”, an XML-based DOMAIN-specific LANGUAGE TO define new design metrics AND rules. ALL OF SDMetrics’ inbuilt metrics and rules are defined by means of the SDMetricsML.

Customizable XMI import

SDMetrics uses XMI for model interchange. SDMetrics imports XMI 1.x files with UML1.3/1.4 models, and XMI 2.0/2.1 files with UML 2.x models.

As the XMItoXMI service of the modeling portal demonstrates, XMI model interchange is notoriously difficult in practice. SDMetrics addresses this problem with a customizable XMI parser which is controlled by XML-based configuration files. For UML tools that use non-standard or proprietary extensions of the UML or XMI, SDMetrics’ XMI import can be easily adapted TO account FOR the idiosyncrasies OF the UML tool.

For MORE information, see SDMetrics IS a commercial Java application. Academic licenses ARE available FOR universities AND non-profit organizations. The XMI parser AND metrics engine OF SDMetrics IS OPEN source under the GNU Affero General PUBLIC License.

Tweet about this on TwitterShare on FacebookBuffer this pageShare on RedditShare on LinkedInShare on Google+Email this to someone
  1. jordi
  2. Juergen Wuest
  3. Gonçalo Borrega
  4. roua
    • jordi


Your email address will not be published. Required fields are marked *