skip to main content
10.1145/2976767.2976782acmconferencesArticle/Chapter ViewAbstractPublication PagesmodelsConference Proceedingsconference-collections
research-article

Automated refactoring of ATL model transformations: a search-based approach

Published:02 October 2016Publication History

ABSTRACT

Model transformation programs evolve through a process of continuous change. However, this process may weaken the design of the transformation programs and make it unnecessarily complex, leading to increased fault-proneness. Refactoring improves the software design while preserving overall functionality and behavior. However, very few studies addressed the problem of refactoring model transformation programs. These existing studies provided an entirely manual or semi-automated refactoring support to transformation languages such as ATL. In this paper, we propose a fully-automated search-based approach to refactor model transformations based on a multi-objective algorithm that recommends the best refactoring sequence (e.g. extract rule, merge rules, etc.) optimizing a set of ATL-based quality metrics (e.g. number of rules, coupling, etc.). To validate our approach, we apply it to a comprehensive dataset of model transformations. The statistical analysis of our experiments over 30 runs shows that our automated approach recommended useful refactorings based on benchmark of ATL programs and compared to random search, mono-objective search formulation and a semi-automated refactoring approach not based heuristic search.

References

  1. Gabriele Taentzer, Thorsten Arendt, Claudia Ermel, Reiko Heckel: Towards refactoring of rule-based, in-place model transformation systems. Proceedings of the First Workshop on the Analysis of Model Transformations (AMT 2012), ACM, pages 41--46 Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Daniel Strüber, Julia Rubin, Thorsten Arendt, Marsha Chechik, Gabriele Taentzer and Jennifer Plöger. RuleMerger: Automatic Construction of Variability-Based Model Transformation Rules, Proceedings of the 19th International Conference on Fundamental Approaches to Software Engineering (FASE), 2016,Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Manuel Wimmer, Salvador Martínez Perez, Frédéric Jouault, Jordi Cabot: A Catalogue of Refactorings for Model-to-Model Transformations. Journal of Object Technology 11(2): 2: 1--40 (2012)Google ScholarGoogle ScholarCross RefCross Ref
  4. Matthias Tichy, Christian Krause, Grischa Liebel: Detecting Performance Bad Smells for Henshin Model Transformations. AMT@MoDELS 2013Google ScholarGoogle Scholar
  5. Mohamed Maddeh, Mohamed Romdhani, Khaled Ghédira: Classification of Model Refactoring Approaches. Journal of Object Technology 8(6): 143--158 (2009)Google ScholarGoogle Scholar
  6. Shekoufeh Kolahdouz Rahimi, Kevin Lano, Suresh Pillay, Javier Troya, Pieter Van Gorp: Evaluation of model transformation approaches for model refactoring. Sci. Comput. Program. 85: 5--40 (2014) Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Zhang, Jing, Yuehua Lin, and Jeff Gray. Generic and domain-specific model refactoring using a model transformation engine. Model-driven Software Development. Springer Berlin Heidelberg, 2005. 199--217.Google ScholarGoogle Scholar
  8. Misbhauddin, Mohammed, and Mohammad Alshayeb. "UML model refactoring: a systematic literature review." Empirical Software Engineering 20.1 (2015): 206--251. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Angelika Kusel, Johannes Schoenboeck, Manuel Wimmer, Werner Retschitzegger, Wieland Schwinger, Gerti Kappel: Reality Check for Model Transformation Reuse: The ATL Transformation Zoo Case Study. AMT@MoDELS 2013Google ScholarGoogle Scholar
  10. van Amstel, Marcel F., and M. G. J. van den Brand. "Quality assessment of ATL model transformations using metrics." Proceedings of the 2nd International Workshop on Model Transformation with ATL (MtATL 2010). 2010.Google ScholarGoogle Scholar
  11. van Amstel, Marcel F., and Mark van den Brand. "Using metrics for assessing the quality of ATL model transformations." Proceedings of the 3rd International Workshop on Model Transformation with ATL (MtATL 2011). 2011.Google ScholarGoogle Scholar
  12. E. M. Project, "Atl zoo," http://www.eclipse.org/atl/atlTransformations/, 2015.Google ScholarGoogle Scholar
  13. K. Deb, A. Pratap, S. Agarwal, and T. Meyarivan, "A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II," IEEE Transactions on Evolutionary Computation, vol. 6, no. 2, pp. 182--197, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. L. Rachmawati and D. Srinivasan, "Multiobjective Evolutionary Algorithm with Controllable Focus on the Knees of the Pareto Front," IEEE Transactions on Evolutionary Computation, vol. 13, no. 4, pp. 810--824, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. U. Mansoor, M. Kessentini, M. Wimmer and K. Deb, Multi-view refactoring of class and activity diagrams using a multi-objective evolutionary algorithm, Software Quality Journal, to appear.Google ScholarGoogle Scholar
  16. Usman Mansoor, Marouane Kessentini, Philip Langer, Manuel Wimmer, Slim Bechikh, Kalyanmoy Deb: MOMM: Multi-objective model merging. Journal of Systems and Software 103: 423--439 (2015) Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Adnane Ghannem, Ghizlane El-Boussaidi, Marouane Kessentini: Model refactoring using examples: a search-based approach. Journal of Software: Evolution and Process 26(7): 692--713 2014 Google ScholarGoogle ScholarDigital LibraryDigital Library

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    MODELS '16: Proceedings of the ACM/IEEE 19th International Conference on Model Driven Engineering Languages and Systems
    October 2016
    414 pages
    ISBN:9781450343213
    DOI:10.1145/2976767

    Copyright © 2016 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 2 October 2016

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article

    Acceptance Rates

    Overall Acceptance Rate118of382submissions,31%

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader