RuleMerger: Automatic Construction of Variability-Based Model Transformation Rules

Daniel Strüber,Julia Rubin,Thorsten Arendt,Marsha Chechik,Gabriele Taentzer,Jennifer Plöger
DOI: https://doi.org/10.1007/978-3-662-49665-7_8
2016-01-01
Abstract:Unifying similar model transformation rules into variability-based ones can improve both the maintainability and the performance of a model transformation system. Yet, manual identification and unification of such similar rules is a tedious and error-prone task. In this paper, we propose a novel merge-refactoring approach for automating this task. The approach employs clone detection for identifying overlapping rule portions and clustering for selecting groups of rules to be unified. Our instantiation of the approach harnesses state-of-the-art clone detection and clustering techniques and includes a specialized merge construction algorithm. We formally prove correctness of the approach and demonstrate its ability to produce high-quality outcomes in two real-life case-studies.
What problem does this paper attempt to address?