Recommending Model Refactoring Rules from Refactoring Examples

被引:11
作者
Mokaddem, Chihab Eddine [1 ]
Sahraoui, Houari [1 ]
Syriani, Eugene [1 ]
机构
[1] Univ Montreal, Montreal, PQ, Canada
来源
21ST ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS 2018) | 2018年
关键词
model refactoring; genetic programming; by-example approach; search-based software engineering; TRANSFORMATION;
D O I
10.1145/3239372.3239406
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Models, like other first-class artifacts such as source code, are maintained and may be refactored to improve their quality and, consequently, one of the derived artifacts. Considering the size of the manipulated models, automatic support is necessary for refactoring tasks. When the refactoring rules are known, such a support is simply the implementation of these rules in editors. However, for less popular and proprietary modeling languages, refactoring rules are generally difficult to define. Nevertheless, their knowledge is often embedded in practical examples. In this paper, we propose an approach to recommend refactoring rules that we lean automatically from refactoring examples. The evaluation of our approach on three modeling languages shows that, in general, the learned rules are accurate.
引用
收藏
页码:257 / 267
页数:11
相关论文
共 50 条
  • [41] Cost-Directed Refactoring for Parallel Erlang Programs
    Brown, Christopher
    Danelutto, Marco
    Hammond, Kevin
    Kilpatrick, Peter
    Elliott, Archibald
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2014, 42 (04) : 564 - 582
  • [42] Next Generation Automated Software Evolution Refactoring at Scale
    Ivers, James
    Ozkaya, Ipek
    Nord, Robert L.
    Seifried, Chris
    PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, : 1521 - 1524
  • [43] Experimental Assessment of Software Metrics Using Automated Refactoring
    Cinneide, Mel O.
    Tratt, Laurence
    Harman, Mark
    Counsell, Steve
    Moghadam, Iman Hemati
    PROCEEDINGS OF THE ACM-IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM'12), 2012, : 49 - 58
  • [44] EARMO: An Energy-Aware Refactoring Approach for Mobile Apps
    Morales, Rodrigo
    Saborido, Ruben
    Khomh, Foutse
    Chicano, Francisco
    Antoniol, Giuliano
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2018, 44 (12) : 1176 - 1206
  • [45] Generating Model Transformation Rules from Examples Using an Evolutionary Algorithm
    Faunes, Martin
    Sahraoui, Houari
    Boukadoum, Mounir
    2012 PROCEEDINGS OF THE 27TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2012, : 250 - 253
  • [46] Search-based Refactoring Using Recorded Code Changes
    Ouni, Ali
    Kessentini, Marouane
    Sahraoui, Houari
    PROCEEDINGS OF THE 17TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR 2013), 2013, : 221 - 230
  • [47] Refactoring Recommendations Based on the Optimization of Socio-Technical Congruence
    De Stefano, Manuel
    Pecorelli, Fabiano
    Tamburri, Damian Andrew
    Palomba, Fabio
    De Lucia, Andrea
    2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2020), 2020, : 794 - 796
  • [48] Analysis of the AnyWalker Software Architecture Using the UML Refactoring Tool
    Deryugina, O.
    Nikulchev, E.
    Ryadchikov, I.
    Sechenev, S.
    Shmalko, E.
    PROCEEDINGS OF THE 13TH INTERNATIONAL SYMPOSIUM INTELLIGENT SYSTEMS 2018 (INTELS'18), 2019, 150 : 743 - 750
  • [49] Exact search-space size for the refactoring scheduling problem
    Rodrigo Morales
    Francisco Chicano
    Foutse Khomh
    Giuliano Antoniol
    Automated Software Engineering, 2018, 25 : 195 - 200
  • [50] Exact search-space size for the refactoring scheduling problem
    Morales, Rodrigo
    Chicano, Francisco
    Khomh, Foutse
    Antoniol, Giuliano
    AUTOMATED SOFTWARE ENGINEERING, 2018, 25 (02) : 195 - 200