arrow
返回

Source code expert identification: Models and application

delete2024-06-01
delete0
PRE
AI
O
Otávio Cury *
G
Guilherme Avelino
N
Neto, Pedro Santos
M
Marco Túlio Valente
R
Ricardo Britto
DOI:10.1016/j.infsof.2024.107445delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Context: Identifying source code expertise is useful in several situations. Activities like bug fixing and helping newcomers are best performed by knowledgeable developers. Some studies have proposed repository -mining techniques to identify source code experts. However, there is a gap in understanding which variables are most related to code knowledge and how they can be used for identifying expertise. Objective: This study explores models of expertise identification and how these models can be used to improve a Truck Factor algorithm. Methods: First, we built an oracle with the knowledge of developers from software projects. Then, we use this oracle to analyze the correlation between measures from the development history and source code knowledge. We investigate the use of linear and machine -learning models to identify file experts. Finally, we use the proposed models to improve a Truck Factor algorithm and analyze their performance using data from public and private repositories. Results: First Authorship and Recency of Modification have the highest positive and negative correlations with source code knowledge, respectively. Machine learning classifiers outperformed the linear techniques ( F -Score = 71% to 73%) in the largest analyzed dataset, but this advantage is unclear in the smallest one. The Truck Factor algorithm using the proposed models could handle developers missed by the previous expertise model with the best average F -Score of 74%. It was perceived as more accurate in computing the Truck Factor of an industrial project. Conclusion: If we analyze F -Score , the studied models have similar performance. However, machine learning classifiers get higher Precision while linear models obtained the highest Recall . Therefore, choosing the best technique depends on the user's tolerance to false positives and negatives. Additionally, the proposed models significantly improved the accuracy of a Truck Factor algorithm, affirming their effectiveness in precisely identifying the key developers within software projects.
Keyword:
Source code expertise
Machine learning
Truck Factor
Poisoned source code detection in code models
err2025-03-01
err0
errOAAI
errGhannoum, Ehab; Ghafari, Mohammad
err分享
err收藏
Software system comparison with semantic source code embeddings
err2022-03-17
err6
PREAI
errKarakatic, Saso; Milosevic, Aleksej; Hericko, Tjasa
err分享
err收藏
err分享
err收藏
err分享
err收藏
CODEEDITOR: Learning to Edit Source Code with Pre-trained Models
err2023-09-30
err15
errOAAI
errLi, Jia; Li, Ge; Li, Zhuo; Jin, Zhi; Hu, Xing; Zhang, Kechi; Fu, Zhiyi
err分享
err收藏
A survey on machine learning techniques applied to source code机器学习技术在源代码中的应用综述
err2024-03-01
err16
errOAAI
errSharma, Tushar; Kechagia, Maria; Georgiou, Stefanos; Tiwari, Rohit; Vats, Indira; Moazen, Hadi; Sarro, Federica
err分享
err收藏

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
9.5K

机构

U
Universidade Federal do Piauí
学者数:
110
论文数: 39
被引数: 656
U
Universidade Federal de Minas Gerais
学者数:
1.1K
论文数: 331
被引数: 7.2K
B
blekinge institute technology
学者数:
750
论文数: 764
被引数: 683
学者 查看更多机构
引用论文

引用论文

Work-up of the functional adrenal mass
err2005-01-01
err0
PREAI
errMichael D. Stifelman; David M. Fenig
err分享
err收藏
Will you come back to contribute? Investigating the inactivity of OSS core developers in GitHub
err2022-03-19
err13
errOAAI
errCalefato, Fabio; Gerosa, Marco Aurelio; Iaffaldano, Giuseppe; Lanubile, Filippo; Steinmacher, Igor
err分享
err收藏
Conditional survival in patients treated with vascular endothelial growth factor-targeted therapy for advanced renal cell carcinoma
err2012-06-29
err0
PREAI
errY. Zhu; Y. P. Hong; H. L. Zhang; G. H. Shi; W. J. Xiao; Z. H. Wang; X. D. Yao; S. L. Zhang; B. Dai; D. W. Ye
err分享
err收藏
学者 查看更多内容