Backwards reasoning for model transformations: method and applications

Author

Clarisó Viladrosa, Robert

Cabot Sagrera, Jordi

Guerra, Esther

Lara, Juan de

Other authors

Universitat Oberta de Catalunya (UOC)

Universidad Autónoma de Madrid

Publication date

2018-05-15T15:19:38Z

2018-05-15T15:19:38Z

2015-08-07



Abstract

Model transformations are key elements of model driven engineering. Current challenges for transformation languages include improving usability (i.e., succinct means to express the transformation intent) and devising powerful analysis methods. In this paper, we show how backwards reasoning helps in both respects. The reasoning is based on a method that, given an OCL expression and a transformation rule, calculates a constraint that is satisfiable before the rule application if and only if the original OCL expression is satisfiable afterwards. With this method we can improve the usability of the rule execution process by automatically deriving suitable application conditions for a rule (or rule sequence) to guarantee that applying that rule does not break any integrity constraint (e.g. meta-model constraints). When combined with model finders, this method facilitates the validation, verification, testing and diagnosis of transformations, and we show several applications for both in-place and exogenous transformations.

Document Type

Article
Submitted version

Language

English

Subjects and keywords

model transformation; OCL; weakest pre-condition; graph transformation; validation and verification; backwards reasoning; transformació de models; OCL; raonament cap enrere; precondició més feble; transformació de grafs; validació i verificació; transformación de modelos; OCL; razonamiento hacia atrás; precondición más débil; transformación de grafos; validación y verificación; Software engineering; Enginyeria de programari; Ingeniería de software

Publisher

Journal of Systems and Software

Related items

Journal of Systems and Software, 2016, 116()

https://doi.org/10.1016/j.jss.2015.08.017

This item appears in the following Collection(s)

Articles [361]