MORCoRA: Multi-Objective Refactoring Recommendation Considering Review Availability

被引:0
|
作者
Chen, Lei [1 ]
Hayashi, Shinpei [1 ]
机构
[1] Tokyo Inst Technol, Sch Comp, Ookayama 2-12-1,Meguro Ku, Tokyo 1528550, Japan
关键词
Search-based software engineering; multi-objective search; refactoring; review availability; NONDOMINATED SORTING APPROACH; GENETIC ALGORITHM; MODEL;
D O I
10.1142/S0218194024500438
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Background: Search-based refactoring involves searching for a sequence of refactorings to achieve specific objectives. Although a typical objective is improving code quality, a different perspective is also required; the searched sequence must undergo review before being applied and may not be applied if the review fails or is postponed due to no proper reviewers. Aim: Therefore, it is essential to ensure that the searched sequence of refactorings can be reviewed promptly by reviewers who meet two criteria: (1) having enough expertise and (2) being free of heavy workload. The two criteria are regarded as the review availability of the refactoring sequence. Method: We propose MORCoRA, a multi-objective search-based technique that can search for code quality improvable, semantic preserved, and high review availability possessed refactoring sequences and corresponding proper reviewers. Results: We evaluate MORCoRA on six open-source repositories. The quantitative analysis reveals that MORCoRA can effectively recommend refactoring sequences that fit the requirements. The qualitative analysis demonstrates that the refactorings recommended by MORCoRA can enhance code quality and effectively address code smells. Furthermore, the recommended reviewers for those refactorings possess high expertise and are available to review. Conclusions: We recommend that refactoring recommenders consider both the impact on quality improvement and the developer resources required for review when recommending refactorings.
引用
收藏
页码:1919 / 1947
页数:29
相关论文
共 50 条
  • [31] 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
  • [32] Hybrid Tourism Recommendation System: A Multi-Objective Perspective
    Wang, Shenqing
    Cao, Ruifen
    Tian, Ye
    Zheng, Chunhou
    2022 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2022,
  • [33] 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
  • [34] Multi-objective reinforcement learning approach for trip recommendation
    Chen, Lei
    Zhu, Guixiang
    Liang, Weichao
    Wang, Youquan
    EXPERT SYSTEMS WITH APPLICATIONS, 2023, 226
  • [35] Multi-Objective Recommendation via Multivariate Policy Learning
    Jeunen, Olivier
    Mandav, Jatin
    Potapov, Ivan
    Agarwal, Nakul
    Vaid, Sourabh
    Shi, Wenzhe
    Ustimenko, Aleksei
    PROCEEDINGS OF THE EIGHTEENTH ACM CONFERENCE ON RECOMMENDER SYSTEMS, RECSYS 2024, 2024, : 712 - 721
  • [36] 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
  • [37] 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
  • [38] Multi-objective redundancy allocation problem considering instantaneous availability, reparability, interference factor and load share
    Seyed Mohammad Mortazavi
    Seyed Hosein Torabi
    Life Cycle Reliability and Safety Engineering, 2019, 8 (4) : 315 - 328
  • [39] Multi-objective redundancy allocation problem for a system with repairable components considering instantaneous availability and strategy selection
    Kayedpour, Farjam
    Amiri, Maghsoud
    Rafizadeh, Mahmoud
    Nia, Arash Shahryari
    RELIABILITY ENGINEERING & SYSTEM SAFETY, 2017, 160 : 11 - 20
  • [40] Maximizing Refactoring Coverage in an Automated Maintenance Approach using Multi-Objective Optimization
    Mohan, Michael
    Greer, Des
    McMullan, Paul
    2019 IEEE/ACM 3RD INTERNATIONAL WORKSHOP ON REFACTORING (IWOR 2019), 2019, : 31 - 38