© 2008 by Gøran K. Olsen; made available under the EPL v1.0 | 15.02.08 | SINTEF ICT Norway
Traceability In Model Driven EngineeringEnabling Complex System Development
Gøran K. Olsen
SINTEF ICT
NorwayThursday 20.03.2008
Traceability in MDE | Enabling Complex System Development | © 2008 by Gøran K. Olsen; made available under the EPL v1.0
Why Traceability
• Complex systems• Automation and refinement• Requirement• Maintainability• Enabling analysis on models
Impact Coverage Orphan Etc..
Traceability in MDE | Enabling Complex System Development | © 2008 by Gøran K. Olsen; made available under the EPL v1.0
MOFScript model to text transformation
• An implementation of the MOFScript model to text transformation language
• Developed at SINTEF ICT in the EU-supported MODELWARE and ongoing MODELPLEX project
Part of the GMT subproject http://www.eclipse.org.gmt/mofscript/
• Was part of standardization process within OMG OMG RFP MOF Model to Text Transformation process
• Will be extended to support OMG M2T Standard
Traceability in MDE | Enabling Complex System Development | © 2008 by Gøran K. Olsen; made available under the EPL v1.0
Traceability in MOFScript
• Transformations contain references that should be substituted in the result
• The references are the basis of MOFScript traceability. • All references will be traced to the text file(s) they occur in. • Granularity from model element to line and column in the text file
uml.Property::attributeGettersSetters () {public String getBookTitle(){ return bookTitle;}public void setBookTitle(String input){ bookTitle = input;}public Integer getNumberOfPages(){ return numberOfPages}public void setNumberOfPages(Integer input){ numberOfPages = input;}
Book. java L1,C15
Book.java L2,C11
Traceability in MDE | Enabling Complex System Development | © 2008 by Gøran K. Olsen; made available under the EPL v1.0
TraMDE metamodel and trace analyser tool-Supporting end-to-end traceability
• Metamodel describing the trace links and artefacts• Semantically rich trace links and artefacts• Analysis and viewing functionality Thank you for your attention!
Feel free to contact me for a traceability discussion!
Traceability in MDE | Enabling Complex System Development | © 2008 by Gøran K. Olsen; made available under the EPL v1.0
References
G. K. Olsen and J. Oldevik, "Scenarios of Traceability in Model to Text Transformations", in Proc. of the ECMDA-FA, Haifa, 2007.
J. Oldevik, "MOFScript Eclipse Plug-In: Metamodel-Based Code Generation", Eclipse Technology eXchange workshop (eTX) 2006.
MOFScript at http://www.eclipse.org/gmt/mofscript/
MODELPLEX Web-Site: http://www.modelplex.org/
OMG MOF Model to text: Final adopted specification: http://www.omg.org/docs/ptc/06-11-01.pdf