Quick fixing ATL transformations with speculative analysis

  • Jesús Sánchez Cuadrado
  • Esther Guerra
  • Juan de Lara
Special Section Paper

DOI: 10.1007/s10270-016-0541-1

Cite this article as:
Cuadrado, J.S., Guerra, E. & de Lara, J. Softw Syst Model (2016). doi:10.1007/s10270-016-0541-1

Abstract

Model transformations are central components of most model-based software projects. While ensuring their correctness is vital to guarantee the quality of the solution, current transformation tools provide limited support to statically detect and fix errors. In this way, the identification of errors and their correction are nowadays mostly manual activities which incur in high costs. The aim of this work is to improve this situation. Recently, we developed a static analyser that combines program analysis and constraint solving to identify errors in ATL model transformations. In this paper, we present a novel method and system that uses our analyser to propose suitable quick fixes for ATL transformation errors, notably some non-trivial, transformation-specific ones. Our approach supports speculative analysis to help developers select the most appropriate fix by creating a dynamic ranking of fixes, reporting on the consequences of applying a quick fix, and providing a pre-visualization of each quick fix application. The approach integrates seamlessly with the ATL editor. Moreover, we provide an evaluation based on existing faulty transformations built by a third party, and on automatically generated transformation mutants, which are then corrected with the quick fixes of our catalogue.

Keywords

Model transformation ATL Transformation static analysis Quick fixes Speculative analysis 

Copyright information

© Springer-Verlag Berlin Heidelberg 2016

Authors and Affiliations

  • Jesús Sánchez Cuadrado
    • 1
  • Esther Guerra
    • 1
  • Juan de Lara
    • 1
  1. 1.Computer Science DepartmentUniversidad Autónoma de MadridMadridSpain

Personalised recommendations