SDMetrics home page
The Software Design Metrics tool for the UML
Home  |  Features  |  Downloads  |  Order  |  Support  |  Resources  |  About

SDMetricsPF_MSV.zip

Description

This archive provides an XMI transformation file for the SDMetrics V1.3 default metamodel and XMI 1.0 files saved by Microsoft Visio.

This file addresses a problem with the MS Visio XMI exporter causing SDMetrics to freeze and eventually abort with a stack overflow error. XMI files generated by Visio may contain UML subsystems or packages which are their own namespaces. This of course is an illegal conditition. The namespace of a subsystem or package should be the owner model/package/subsystem in which the subsystem resides. If e.g. a subsystem is its own owner, SDMetrics runs into an infinite loop determining the fully qualified element name of the subsystem, and this causes the stack overflow.

The revised XMI transformation file instructs SDMetrics to ignore the explicit namespace information provided by Visio; the owner of the subsystem/package will be the parent element in the XMI tree.

Note: This file is needed when analyzing Visio models with SDMetrics V1.3. You do not need this file with SDMetrics V2.0 or later; SDMetrics V2.0 has inbuilt protection against the bug in Visio's XMI files.

Revision History

  • 29-Jun-2005: initial release
Usage

To install the new project file, unpack the contents of the zip archive to a convenient place.

To register the file with SDMetrics V1.3, select menu "Extras-> Preferences", go to the "Default Project Files" tab. In the "Default XMI Transformations" box, click the "Add" button. Specify:

XMI Version1.0
XMI ExporterMicrosoft Visio
Exporter Version<leave empty>
XMI Transformation Filelocation of xmiTransMSV1_0.xml

Back to the SDMetrics Project File Downloads Page.


Sitemap webmaster@sdmetrics.com © 2008. All rights reserved.