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

SDMetrics_P4.zip

Description

Metamodel, XMI transformations and metric definitions for Gentleware Poseidon for UML V4.0 and V4.1.

Poseidon 4 uses the UML2.0 metamodel for statechart diagrams, sequence diagrams, and activity diagrams. The other diagram types still use a UML1.x meta model, in particular collaboration diagrams still use UML1.x objects, links, and stimuli. Other peculiarities of the XMI exporter include:

  • In the XMI files, element types from the UML1.4 metamodel use namespace "UML", element types from UML2 use namespace "UML2".
  • Object and control flows in UML2 activity graphs are not differentiated in the XMI file, both are encoded with UML2:ActivityEdge elements. Consequently, metrics and design rules that take this difference into account no longer apply. For some reason, object nodes are encoded with UML2:Pin, and there are instances of UML2:CallAction. ActivityEdge, Pin, and CallAction are abstract in the UML2 metamodel, so there should not be any instances of these types.
  • Types of (UML1.4!) attributes and parameters no longer are encoded with the usual UML:Parameter.type and UML:StructuralFeature.type elements, but with a UML2:TypedElement.type element. So they managed to mix UML1 and UML2 in a single model element now...
The XMI transformation file takes these details into account.

Revision History

  • 26-Mar-2006: initial release
Usage

To register the files with SDMetrics, store them in a convenient place. In SDMetrics, select menu "Project->Preferences" and go to the "Project File Sets" tab. In the "XMI Transformations" box, click the "Add" button and specify:

XMI Version1.2
XMI ExporterNetbeans XMI Writer
Exporter Version1.0
XMI transformation File<location of file xmiTrans_poseidon4.xml>
Default meta model<location of file metamodel_poseidon4.xml>
Default metrics definition<location of file metrics_poseidon4.xml>

Note that some other tools also use the Netbeans XMI Writer to produce their XMI files (e.g., Together Designer, Poseidon 3.0 and earlier), and these files should be processed using the default metamodel, XMI transformations, and metric definitions that ship with SDMetrics. If you have to analyze many such files, you should not register the above files as default project files, but specify them in the project settings dialog whenever you analyze a Poseidon 4.0/4.1 file.

Back to the SDMetrics Project File Downloads Page.


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