Pragmatic model transformations for refactoring in Scilab/Xcos

被引:1
|
作者
Durak, Umut [1 ]
机构
[1] German Aerosp Ctr DLR, Inst Flight Syst, Lilienthalpl 7, D-38108 Braunschweig, Germany
关键词
Model refactoring; Scilab/Xcos; model engineering; model transformations;
D O I
10.1142/S1793962315410044
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Model-Based Development has become an industry wide standard paradigm. As an open source alternative, Scilab/Xcos is being widely employed as a hybrid dynamic systems modeling tool. With the increasing efficiency in implementation using graphical model development and code generation, the modeling and simulation community is struggling with assuring quality as well as maintainability and extendibility. Refactoring is defined as an evolutionary modernization activity where, most of the time, the structure of the artifact is changed to alter its quality characteristics, while keeping its behavior unchanged. It has been widely established as a technique for textual programming languages to improve the code structure and quality. While refactoring is also regarded as one of the key practices of model engineering, the methodologies and approaches for model refactoring are still under development. Architecture-Driven Modernization (ADM) has been introduced by the software engineering community as a model-based approach to software modernization, in which the implicit information that lies in software artifacts is extracted to models and model transformations are applied for modernization tasks. Regarding refactoring as a low level modernization task, the practices from ADM are adaptable. Accordingly, this paper proposes a model-based approach for model refactoring in order to come up with more efficient and effective model refactoring methodology that is accessible and extendable by modelers. Like other graphical modeling tools, Scilab/Xcos also possesses a formalized model specification conforming to its implicit metamodel. Rather than proposing another metamodel for knowledge extraction, this pragmatic approach proposes to conduct in place model-to-model transformations for refactoring employing the Scilab/Xcos model specification. To construct a structured model-based approach, the implicit Scilab/Xcos metamodel is explicitly presented utilizing ECORE as a meta-metamodel. Then a practical model transformation approach is established based on Scilab scripting. A Scilab toolset is provided to the modeler for in-place model-to-model transformations. Using a sample case study, it is demonstrated that proposed model transformation functions in Scilab provide a valuable refactoring tool.
引用
收藏
页数:23
相关论文
共 50 条
  • [41] Translating target to source constraints in model-to-model transformations
    Sanchez Cuadrado, Jesus
    Guerra, Esther
    de Lara, Juan
    Clariso, Robert
    Cabot, Jordi
    2017 ACM/IEEE 20TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS 2017), 2017, : 12 - 22
  • [42] Net model composition and modification by net operations: a pragmatic approach
    Barros, JP
    Gomes, L
    2004 2ND IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS: COLLABORATIVE AUTOMATION - ONE KEY FOR INTELLIGENT INDUSTRIAL ENVIRONMENTS, 2004, : 309 - 314
  • [43] Assessing and improving quality of QVTo model transformations
    Christine M. Gerpheide
    Ramon R. H. Schiffelers
    Alexander Serebrenik
    Software Quality Journal, 2016, 24 : 797 - 834
  • [44] Assessing and improving quality of QVTo model transformations
    Gerpheide, Christine M.
    Schiffelers, Ramon R. H.
    Serebrenik, Alexander
    SOFTWARE QUALITY JOURNAL, 2016, 24 (03) : 797 - 834
  • [45] Models and Model Transformations Within Web Applications
    Kozlovics, Sergejs
    DATABASES AND INFORMATION SYSTEMS, DB&IS 2016, 2016, 615 : 53 - 67
  • [46] Third International Workshop on Graph and Model Transformations
    Karsai, Gabor
    Taentzer, Gabriele
    ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2008, : 1055 - 1056
  • [47] Open issues in model transformations for multimodal applications
    László Lengyel
    Hassan Charaf
    Journal on Multimodal User Interfaces, 2015, 9 : 377 - 385
  • [48] Open issues in model transformations for multimodal applications
    Lengyel, Laszlo
    Charaf, Hassan
    JOURNAL ON MULTIMODAL USER INTERFACES, 2015, 9 (04) : 377 - 385
  • [49] Survey of Graph Rewriting applied to Model Transformations
    de la Parra, Francisco
    Dean, Thomas
    PROCEEDINGS OF THE 2014 2ND INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD 2014), 2014, : 431 - 441
  • [50] Constraint-based specification of model transformations
    Lano, K.
    Kolandouz-Rahimi, S.
    JOURNAL OF SYSTEMS AND SOFTWARE, 2013, 86 (02) : 412 - 436