Title :
Model/code co-refactoring: An MDE approach
Author :
von Pilgrim, Jens ; Ulke, Bastian ; Thies, Andreas ; Steimann, Friedrich
Author_Institution :
Lehrgebiet Programmiersysteme, FernUniv. in Hagen, Hagen, Germany
Abstract :
Model-driven engineering suggests that models are the primary artefacts of software development. This means that models may be refactored even after code has been generated from them, in which case the code must be changed to reflect the refactoring. However, as we show neither re-generating the code from the refactored model nor applying an equivalent refactoring to the generated code is sufficient to keep model and code in sync - rather, model and code need to be refactored jointly. To enable this, we investigate the technical requirements of model/code co-refactoring, and implement a model-driven solution that we evaluate using a set of open-source programs and their structural models. Results suggest that our approach is feasible.
Keywords :
program compilers; software engineering; MDE; code corefactoring; code regeneration; equivalent refactoring; model driven engineering; model driven solution; open source programs; refactored model; software development; structural models; Adaptation models; Biological system modeling; DSL; Java; Synchronization; Unified modeling language; Model-driven engineering; constraints; refactoring;
Conference_Titel :
Automated Software Engineering (ASE), 2013 IEEE/ACM 28th International Conference on
Conference_Location :
Silicon Valley, CA
DOI :
10.1109/ASE.2013.6693133