识别Source Code文件专家
Identifying Source Code File Experts
摘要:
在软件开发中,源代码文件的识别是专家的一项重要工作。识别这些专家有助于改进软件维护和演化活动,例如开发新功能、代码评审和错误修复。尽管一些研究已经提出了存储库挖掘技术来自动识别源代码专家,但在这一领域仍然存在差距。例如,研究与源代码知识相关的新变量,并应用机器学习,旨在提高识别源代码专家的技术的性能。本研究的目的是调查的机会,以提高现有的技术,推荐源代码文件的专家的性能。我们通过收集113个软件项目的开发历史和调查开发人员的数据来建立一个预言。然后,我们使用这个预言:(i)分析从开发历史和开发人员的源代码知识提取的措施之间的相关性和(ii)调查使用机器学习分类器,通过评估其性能,在识别源代码文件的专家。第一作者和修改的最近度分别是与源代码知识正相关和负相关最高的变量。在公共数据集中,机器学习分类器的性能优于线性技术(F-Measure = 71%至73%),但在私有数据集中,这种优势并不明显,线性技术的F-Measure范围为55%至68%,ML技术为58%至67%。总的来说,线性技术和机器学习分类器实现了类似的性能,特别是如果我们分析F-Measure。然而,机器学习分类器通常获得更高的精度,而线性技术获得最高的召回值。
英文摘要:
In software development, the identification of source code file experts is an important task. Identifying these experts helps to improve software maintenance and evolution activities, such as developing new features, code reviews, and bug fixes. Although some studies have proposed repository mining techniques to automatically identify source code experts, there are still gaps in this area that can be explored. For example, investigating new variables related to source code knowledge and applying machine learning aiming to improve the performance of techniques to identify source code experts. The goal of this study is to investigate opportunities to improve the performance of existing techniques to recommend source code files experts. We built an oracle by collecting data from the development history and surveying developers of 113 software projects. Then, we use this oracle to: (i) analyze the correlation between measures extracted from the development history and the developers source code knowledge and (ii) investigate the use of machine learning classifiers by evaluating their performance in identifying source code files experts. First Authorship and Recency of Modification are the variables with the highest positive and negative correlations with source code knowledge, respectively. Machine learning classifiers outperformed the linear techniques (F-Measure = 71% to 73%) in the public dataset, but this advantage is not clear in the private dataset, with F-Measure ranging from 55% to 68% for the linear techniques and 58% to 67% for ML techniques. Overall, the linear techniques and the machine learning classifiers achieved similar performance, particularly if we analyze F-Measure. However, machine learning classifiers usually get higher precision while linear techniques obtained the highest recall values.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。