60 likes | 204 Views
Traceability In Model Driven Engineering Enabling Complex System Development. Gøran K. Olsen SINTEF ICT Norway Thursday 20.03.2008. Why Traceability. Complex systems Automation and refinement Requirement Maintainability Enabling analysis on models Impact Coverage Orphan Etc.
E N D
Traceability In Model Driven EngineeringEnabling Complex System Development Gøran K. Olsen SINTEF ICT Norway Thursday 20.03.2008
Why Traceability • Complex systems • Automation and refinement • Requirement • Maintainability • Enabling analysis on models • Impact • Coverage • Orphan • Etc..
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 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 () { publicString 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
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!
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