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
来源
Automated Software Engineering | 2024年 / 31卷
关键词
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] Multi-Objective Model Selection via Racing
    Zhang, Tiantian
    Georgiopoulos, Michael
    Anagnostopoulos, Georgios C.
    IEEE TRANSACTIONS ON CYBERNETICS, 2016, 46 (08) : 1863 - 1876
  • [32] Multi-objective optimization based ranking prediction for cloud service recommendation
    Ding, Shuai
    Xia, Chengyi
    Wang, Chengjiang
    Wu, Desheng
    Zhang, Youtao
    DECISION SUPPORT SYSTEMS, 2017, 101 : 106 - 114
  • [33] A multi-objective optimization approach for session-based recommendation systems
    Zaizi, Fatima Ezzahra
    Qassimi, Sara
    Rakrak, Said
    JOURNAL OF INTELLIGENT INFORMATION SYSTEMS, 2025,
  • [34] Research on diversity and accuracy of the recommendation system based on multi-objective optimization
    Tie-min Ma
    Xue Wang
    Fu-cai Zhou
    Shuang Wang
    Neural Computing and Applications, 2023, 35 : 5155 - 5163
  • [35] Recommendation of secure group communication schemes using multi-objective optimization
    Prantl, Thomas
    Bauer, Andre
    Ifflaender, Lukas
    Krupitzer, Christian
    Kounev, Samuel
    INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2023, 22 (05) : 1291 - 1332
  • [36] Recommendation of secure group communication schemes using multi-objective optimization
    Thomas Prantl
    André Bauer
    Lukas Iffländer
    Christian Krupitzer
    Samuel Kounev
    International Journal of Information Security, 2023, 22 : 1291 - 1332
  • [37] Research on diversity and accuracy of the recommendation system based on multi-objective optimization
    Ma, Tie-min
    Wang, Xue
    Zhou, Fu-cai
    Wang, Shuang
    NEURAL COMPUTING & APPLICATIONS, 2023, 35 (07) : 5155 - 5163
  • [38] Multi-objective recommendation system utilizing a multi-population knowledge migration framework
    Liang Chu
    Ye Tian
    Complex & Intelligent Systems, 2025, 11 (6)
  • [39] Smart Home Appliances Usage Recommendation Using Multi-objective Optimization
    Feitosa, Allan
    Lacerda, Henrique
    Silva-Filho, Abel
    PROGRESS IN ARTIFICIAL INTELLIGENCE, EPIA 2019, PT I, 2019, 11804 : 469 - 481
  • [40] Methods for multi-objective optimization: An analysis
    Giagkiozis, I.
    Fleming, P. J.
    INFORMATION SCIENCES, 2015, 293 : 338 - 350