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 条
  • [41] A new hybrid memetic multi-objective optimization algorithm for multi-objective optimization
    Luo, Jianping
    Yang, Yun
    Liu, Qiqi
    Li, Xia
    Chen, Minrong
    Gao, Kaizhou
    INFORMATION SCIENCES, 2018, 448 : 164 - 186
  • [42] Less is More: From Multi-Objective to Mono-Objective Refactoring via Developer's Knowledge Extraction
    Alizadeh, Vahid
    Fehri, Houcem
    Kessentini, Marouane
    2019 19TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2019, : 181 - 192
  • [43] A Systematic Review of Multi-Objective Evolutionary Algorithms Optimization Frameworks
    Patrausanu, Andrei
    Florea, Adrian
    Neghina, Mihai
    Dicoiu, Alina
    Chis, Radu
    PROCESSES, 2024, 12 (05)
  • [44] A Comprehensive Review on Evolutionary Algorithm Solving Multi-Objective Problems
    Qu, Ying
    Ma, Zheng
    Clausen, Anders
    Jorgensen, Bo Norregaard
    2021 22ND IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL TECHNOLOGY (ICIT), 2021, : 825 - 831
  • [45] WhoReview: A multi-objective search-based approach for code reviewers recommendation in modern code review
    Chouchen, Moataz
    Ouni, Ali
    Mkaouer, Mohamed Wiem
    Kula, Raula Gaikovina
    Inoue, Katsuro
    APPLIED SOFT COMPUTING, 2021, 100
  • [46] A multi-objective cooperation search algorithm for cascade reservoirs operation optimization considering power generation and ecological flows
    Feng, Zhong-kai
    Zhang, Li
    Mo, Li
    Wang, Yong-qiang
    Niu, Wen-jing
    APPLIED SOFT COMPUTING, 2024, 150
  • [47] A multi-objective robust supply chain design considering reliability
    Gholami, Faezeh
    Paydar, Mohammad Mahdi
    Hajiaghaei-Keshteli, Mostafa
    Cheraghalipour, Armin
    JOURNAL OF INDUSTRIAL AND PRODUCTION ENGINEERING, 2019, 36 (06) : 385 - 400
  • [48] Multi-objective recommendation system utilizing a multi-population knowledge migration framework
    Liang Chu
    Ye Tian
    Complex & Intelligent Systems, 2025, 11 (6)
  • [49] Web service API recommendation for automated mashup creation using multi-objective evolutionary search
    Almarimi, Nuri
    Ouni, Ali
    Bouktif, Salah
    Mkaouer, Mohamed Wiem
    Kula, Raula Gaikovina
    Saied, Mohamed Aymen
    APPLIED SOFT COMPUTING, 2019, 85
  • [50] Workload-Aware Reviewer Recommendation using a Multi-objective Search-Based Approach
    Al-Zubaidi, Wisam Haitham Abbood
    Thongtanunam, Patanamon
    Hoa Khanh Dam
    Tantithamthavorn, Chakkrit
    Ghose, Aditya
    PROCEEDINGS OF THE 16TH ACM INTERNATIONAL CONFERENCE ON PREDICTIVE MODELS AND DATA ANALYTICS IN SOFTWARE ENGINEERING, PROMISE 2020, 2020, : 21 - 30