A Code Reviewer Recommendation Approach Based on Attentive Neighbor Embedding Propagation
-
Published:2023-05-05
Issue:9
Volume:12
Page:2113
-
ISSN:2079-9292
-
Container-title:Electronics
-
language:en
-
Short-container-title:Electronics
Author:
Liu Jiahui1ORCID, Deng Ansheng1, Xie Qiuju2, Yue Guanli1
Affiliation:
1. School of Information Science and Technology, Dalian Maritime University, Linghai Road, Dalian 116026, China 2. College of Electrical and Information, Northeastern Agricultural University, Changjiang Road, Harbin 150030, China
Abstract
Code review as an effective software quality assurance practice has been widely applied in many open-source software communities. However, finding a suitable reviewer for certain codes can be very challenging in open-source communities due to the difficulty of learning the characteristics of reviewers and the code-reviewer interaction sparsity in open-source software communities. To tackle this problem, most previous approaches focus on learning developers’ capabilities and experiences and recommending suitable developers based on their historical interactions. However, such approaches usually suffer from data-sparsity and noise problems, which may reduce the recommendation accuracy. In this paper, we propose an attentive neighbor embedding propagation enhanced code reviewer recommendation framework (termed ANEP). In ANEP, we first construct the reviewer–code interaction graph and learn the semantic representations of the reviewer and code based on the transformer model. Then, we explicitly explore the attentive high-order embedding propagation of reviewers and code and refine the representations along their neighbors. Finally, to evaluate the effectiveness of ANEP, we conduct extensive experiments on four real-world datasets. The experimental results show that ANEP outperforms other state-of-the-art approaches significantly.
Funder
National Natural Science Foundation of China
Subject
Electrical and Electronic Engineering,Computer Networks and Communications,Hardware and Architecture,Signal Processing,Control and Systems Engineering
Reference42 articles.
1. Tufan, R., Pascarella, L., Tufanoy, M., Poshyvanykz, D., and Bavota, G. (2021, January 22–30). Towards Automating Code Review Activities. Proceedings of the 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE), Madrid, Spain. 2. Morales, R., McIntosh, S., and Khomh, F. (2015, January 2–6). Do code review practices impact design quality? A case study of the qt, vtk, and itk projects. Proceedings of the 2015 IEEE 22nd International Conference on Software Analysis, Evolution, and Reengineering (SANER), Montreal, QC, Canada. 3. Bavota, G., and Russo, B. (October, January 29). Four eyes are better than two: On the impact of code reviews on software quality. Proceedings of the 2015 IEEE International Conference on Software Maintenance and Evolution (ICSME), Bremen, Germany. 4. An empirical study of the impact of modern code review practices on software quality;McIntosh;Empir. Softw. Eng.,2016 5. Thongtanunam, P., McIntosh, S., Hassan, A.E., and Iida, H. (2015, January 16–17). Investigating code review practices in defective files: An empirical study of the qt system. Proceedings of the 2015 IEEE/ACM 12th Working Conference on Mining Software Repositories, Florence, Italy.
|
|