MIRROR: multi-objective refactoring recommendation via correlation analysis

被引:0
|
作者
Yang Zhang
Ke Guan
Lining Fang
机构
[1] Hebei University of Science and Technology,School of Information Science and Engineering
[2] Hebei Technology Innovation Center of Intelligent IoT,undefined
来源
关键词
Refactoring; Multi-objective optimization; Refactoring recommendation; Correlation analysis;
D O I
暂无
中图分类号
学科分类号
摘要
Refactoring is a critical but complex process to improve code quality by altering software structure without changing the observable behavior. Search-based approaches have been proposed to recommend refactoring solutions. However, existing works tend to leverage all the sub-attributes in an objective and ignore the relationship between the sub-attributes. Furthermore, the types of refactoring operations in the existing works can be further augmented. To this end, this paper proposes a novel approach, called MIRROR, to recommend refactoring by employing a multi-objective optimization across three objectives: (i) improving quality, (ii) removing code smell, and (iii) maximizing the similarity to refactoring history. Unlike previous works, MIRROR provides a way to further optimize attributes in each objective. To be more specific, given an objective, MIRROR investigates the possible correlations among attributes and selects those attributes with low correlations as the representation of this objective. MIRROR is evaluated on 6 real-world projects by answering 6 research questions. The experimental results demonstrate that MIRROR recommends an average of 43 solutions for each project. Furthermore, we compare MIRROR against existing tools JMove and QMove, and show that the F1 of MIRROR is 5.63% and 3.75% higher than that of JMove and QMove, demonstrating the effectiveness of MIRROR.
引用
收藏
相关论文
共 50 条
  • [31] Design of CPA Reflective Mirror in Space Laser Communication via Multi-objective Optimization
    Song, Yang
    Hu, Yongming
    Chai, Wenyi
    Ye, Jing
    Xin, Wei
    Hu, Bin
    Wang, Chenjie
    ELEVENTH INTERNATIONAL CONFERENCE ON INFORMATION OPTICS AND PHOTONICS (CIOP 2019), 2019, 11209
  • [32] Personalized Recommendation for Crowdfunding Platform: A Multi-objective Approach
    Zhang, Lei
    Zhang, Xin
    Cheng, Fan
    Sun, Xiaoyan
    Zhao, Hongke
    2019 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2019, : 3316 - 3324
  • [33] Multi-Objective Recommendation for Massive Remote Teaching Resources
    Li, Wei
    Huang, Qian
    Srivastava, Gautam
    MOBILE NETWORKS & APPLICATIONS, 2024,
  • [34] Personalized Recommendation Based on Evolutionary Multi-Objective Optimization
    Zuo, Yi
    Gong, Maoguo
    Zeng, Jiulin
    Ma, Lijia
    Jiao, Licheng
    IEEE COMPUTATIONAL INTELLIGENCE MAGAZINE, 2015, 10 (01) : 52 - 62
  • [35] Hybrid Tourism Recommendation System: A Multi-Objective Perspective
    Wang, Shenqing
    Cao, Ruifen
    Tian, Ye
    Zheng, Chunhou
    2022 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2022,
  • [36] A novel multi-objective evolutionary algorithm for recommendation systems
    Cui, Laizhong
    Ou, Peng
    Fu, Xianghua
    Wen, Zhenkun
    Lu, Nan
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2017, 103 : 53 - 63
  • [37] Multi-objective reinforcement learning approach for trip recommendation
    Chen, Lei
    Zhu, Guixiang
    Liang, Weichao
    Wang, Youquan
    EXPERT SYSTEMS WITH APPLICATIONS, 2023, 226
  • [38] MOREGIN: Multi-Objective Recommendation at the Global and Individual Levels
    Gomez, Elizabeth
    Contreras, David
    Boratto, Ludovico
    Salamo, Maria
    ADVANCES IN INFORMATION RETRIEVAL, ECIR 2024, PT I, 2024, 14608 : 21 - 38
  • [39] A Multi-Objective Decision Optimization Algorithm for Recommendation System
    li S.
    Wang G.
    Hao X.
    Hao Z.
    Hsi-An Chiao Tung Ta Hsueh/Journal of Xi'an Jiaotong University, 2022, 56 (08): : 104 - 112
  • [40] Multi-objective optimization of microcavity OLEN with DBR mirror
    Lu, Albert W.
    Chan, J.
    Ng, Alan Man Ching
    Djurisic, A. B.
    Rakic, A. D.
    ORGANIC PHOTONIC MATERIALS AND DEVICES IX, 2007, 6470