• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

uml to xmi export

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 608
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic