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 条
  • [21] Multi-objective optimization for long tail recommendation
    Wang, Shanfeng
    Gong, Maoguo
    Li, Haoliang
    Yang, Junwei
    KNOWLEDGE-BASED SYSTEMS, 2016, 104 : 145 - 155
  • [22] Personalised Multi-Objective Travel Route Recommendation Based on Super Multi-Objective Optimization Algorithm
    Zhang, Xiang-Rong
    Wang, Xue-Ying
    Ebara, Takeshi
    Journal of Network Intelligence, 2024, 9 (03): : 1625 - 1640
  • [23] Multi-objective optimization of IT service availability and costs
    Bosse, Sascha
    Splieth, Matthias
    Turowski, Klaus
    RELIABILITY ENGINEERING & SYSTEM SAFETY, 2016, 147 : 142 - 155
  • [24] On the impact of Performance Antipatterns in multi-objective software model refactoring optimization
    Cortellessa, Vittorio
    Di Pompeo, Daniele
    Stoico, Vincenzo
    Tucci, Michele
    2021 47TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2021), 2021, : 224 - 233
  • [25] A multi-objective approach for supply chain design considering disruptions impacting supply availability and quality
    Pariazar, Mahmood
    Sir, Mustafa Y.
    COMPUTERS & INDUSTRIAL ENGINEERING, 2018, 121 : 113 - 130
  • [26] A robust multi-objective approach to balance severity and importance of refactoring opportunities
    Mkaouer, Mohamed Wiem
    Kessentini, Marouane
    Cinneide, Mel O.
    Hayashi, Shinpei
    Deb, Kalyanmoy
    EMPIRICAL SOFTWARE ENGINEERING, 2017, 22 (02) : 894 - 927
  • [27] A robust multi-objective approach to balance severity and importance of refactoring opportunities
    Mohamed Wiem Mkaouer
    Marouane Kessentini
    Mel Ó Cinnéide
    Shinpei Hayashi
    Kalyanmoy Deb
    Empirical Software Engineering, 2017, 22 : 894 - 927
  • [28] Analyzing the sensitivity of multi-objective software architecture refactoring to configuration characteristics
    Cortellessa, Vittorio
    Di Pompeo, Daniele
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 135
  • [29] 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
  • [30] Multi-Objective Recommendation for Massive Remote Teaching Resources
    Li, Wei
    Huang, Qian
    Srivastava, Gautam
    MOBILE NETWORKS & APPLICATIONS, 2024,