Università degli Studi dell’Aquila Università degli Studi dell’Aquila
Outline Introduction MDE Ecosystem Metamodel Evolution Coupled - - PowerPoint PPT Presentation
Outline Introduction MDE Ecosystem Metamodel Evolution Coupled - - PowerPoint PPT Presentation
Universit degli Studi dellAquila Universit degli Studi dellAquila Ludovico Iovino, Davide Di Ruscio , Juri Di Rocco and Alfonso Pierantonio DISIM - Universit degli Studi dellAquila Italy {name.lastname}@univaq.it 2 Outline
2
Outline
→ Introduction → MDE Ecosystem → Metamodel Evolution → Coupled Evolution Management Process → Change Impact Visualization → Dependencies Visualization in TraceVis → Proposed Tool Chain → Recurrent Patterns → Conclusions and Future Works
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
3
Introduction
Model Driven Engineering (MDE) aims capturing problems in terms of concepts. Problems are mapped to solutions by means of model
- perations defined by transformations
Problem and solution are described with the help of models Model is expressed in terms of concepts and relationships among them given in metamodels
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Metamodel is the central core of an ecosystem containing a wide range of artifacts
4
MDE Ecosystem
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
5
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Metamodel Evolution
Classification of changes:
- Do not affect the artefacts
→
No adaptation required
- Affect the artefact:
→
Automatically adapted
→
Not automatically adapted
6
MDE Ecosystem
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
7
MDE Ecosystem
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
8
MDE Ecosystem
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Trace and visualize the dependencies within the ecosystem in
- rder to enable the modeler to detect those modification
compromising the existing artifacts
9
Coupled Evolution Management Process
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
[1] Di Ruscio, D., Iovino, L., Pierantonio, A.: A methodological approach for the coupled evolution of metamodels and ATL transformation. In: Proc. 6th International Conference on Model Transformation (ICMT'13). (2013)
10
Change Impact Visualization
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
- TraceVis [1] is a tool able to graphically represent
traceability information between structured data
- TraceVis has been used also to visualize traceability
links between source and target models of a transformation [2]
- Our idea: Using TraceVis to graphically represent
the impact that the changes being addressed on a metamodel can have on the artefact
[1] Van Ravensteijn, W.: Visual traceability across dynamic ordered hierarchies. Master's thesis, Eindhoven Univ. of Technology, The Netherlands (2011) [2] Amstel, M., Brand, M., Serebrenik, A.: Traceability visualization in model transformations with tracevis. In Hu, Z., Lara, J., eds.
11
Dependencies Visualization in TraceVis
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
12
Dependencies Visualization in TraceVis
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Initial Metamodel
13
Dependencies Visualization in TraceVis
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Difference Model
14
Dependencies Visualization in TraceVis
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Existing Transformation
15
Dependencies Visualization in TraceVis
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
16
Dependencies Visualization in TraceVis
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
17
Dependencies Visualization in TraceVis
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
18
Proposed Tool Chain
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
19
Proposed Tool Chain
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
20
Proposed Tool Chain
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Differences Derivation
21
Proposed Tool Chain
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Model2Model Transformation
22
Proposed Tool Chain
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Model2Code Transformation
23
Recurrent Patterns
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Changes in the affected artefacts are not always directly proportional to the changes in the metamodel
Uniform impact on metamodel and artifact
24
Recurrent Patterns
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Changes in the affected artefacts are not always directly proportional to the changes in the metamodel
Uniform impact example
25
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Heavy metamodel evolution – Light impact on the artifact Heavy metamodel evolution – Light impact on the artifact example
EVO
Extract abstract superclass with mandatory field
26
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Light metamodel evolution – Heavy impact on the artifact Light metamodel evolution – Heavy impact on the artifact example Metaclass renaming
27
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Heavy metamodel evolution – Heavy impact on the atifact Heavy metamodel evolution – Heavy impact on the atifact example
- Usually is characterized
by a strong change step passing from MM ver 1.0 to vers 3.0
28
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
Non breaking changes with no impact
EVO
Extract abstract superclass Non breaking changes with no impact example
29
Conclusion and future works
- The problem of adapting artifacts composing a
metamodeling ecosystem when metamodel changes is intrinsically difficult
- Visualize dependencies between metamodel and
artifact in term of traceability information can help the modeler to manage the complexity
- A live monitoring of the change impact reflecting on
the artifact the proposed change could be an interesting application
- The visualization can be enriched with the
categorization of the refactoring
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE
30
Thank you!
GMLD ‘13 - 2 JULY 2013, MONTPELLIER, FRANCE