Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

uml to xmi export

 
omabozahra zahra
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working in make tool for extract metrics from UML
Could you please help me with ideas of how to start on extract information from XMI(XML metadata interchange)
# Which is the suitable UML tool ( Rational Rose , Poseidon, magic draw ,.........)?
# How can I convert UML diagrams to XMI 0.2 ?
# By which parser can I retrieve values from XMI ?
# Which is the first step and the clear points to make the object oriented metrics tool?
please I want the simplest method and thank you very much for your time and e
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, welcome to the Ranch!

Google is your friend. A quick search for "export xmi" got me Visual Paradigm. I'd bet most UML tools do it, too.

XMI is just XML, though I have to admit I've never looked at it. We purchased a toolkit that uses XSD to simplify XMI before we see it. Still, you should be able to parse it with any XML parser. If you're new to XML look for the XML forum here on the ranch.

Robert Martin has defined a set of metrics dealing with dependency and abstractness. See the JDepend tool which analyzes all the metrics on compiled code. You can probably find most of the same information in the XMI.
 
Scott Ambler
author
Ranch Hand
Posts: 608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd recommend doing some research first, as Stan suggests. There are already tools which derive metrics from models, this category of tool has been around a couple of decades, and it's never taken off.

Furthermore, there is significant doubt that there is much value in these sorts of metrics, other than to keep the bureaucrats among us entertained.

- Scott
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic