arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.01970cs.SE
收藏

理解多语言缺陷的解决:一项关于 Apache 项目的实证研究

Understanding Resolution of Multi-Language Bugs: An Empirical Study on Apache Projects

Zengyang Li, Wenshuo Wang, Sicheng Wang, Peng Liang, Ran Mo

AI总结:

本文通过对 54 个 Apache 项目中的 66,932 个缺陷进行实证研究,揭示了多编程语言缺陷在比例、变更复杂度、开放时间和重新打开率等方面的特征,并识别出 6 个成因和 5 种跨语言调用机制,表明多语言缺陷会增加开发难度。

摘要:

背景:在现代软件系统中,越来越多的系统使用多种编程语言(PLs)编写。目前尚无对多编程语言(MPL)缺陷现象的全面调查,这类缺陷的解决涉及使用多种编程语言编写的源文件。目的:本研究调查了 MPL 软件系统中缺陷解决的特征,并探讨了缺陷解决涉及多种编程语言的原因。方法:我们对从 655 个 Apache 开源软件项目中选取的 54 个 MPL 项目进行了实证研究,共分析了 66,932 个缺陷。结果:(1)所选项目中 MPL 缺陷(MPLBs)的百分比范围为 0.17% 至 42.26%,所有项目整体的 MPLBs 百分比为 10.01%;(2)所有 MPLBs 中,95.0% 和 4.5% 分别涉及使用 2 种和 3 种编程语言编写的源文件;(3)MPLBs 的变更复杂度解决特征往往高于单编程语言缺陷(SPLBs);(4)在 9 种编程语言组合中,MPLBs 的开放时间比 SPLBs 显著长 19.52% 至 529.57%;(5)涉及 JavaScript 和 Python 编程语言组合的缺陷的重新打开率达到 20.66%;(6)我们发现了缺陷解决涉及多种编程语言的 6 个原因,并识别出 5 种跨语言调用机制。结论:MPLBs 与开发难度的增加有关。

英文摘要:

Background: In modern software systems, more and more systems are written in multiple programming languages (PLs). There is no comprehensive investigation on the phenomenon of multi-programming-language (MPL) bugs, which resolution involves source files written in multiple PLs. Aim: This work investigated the characteristics of bug resolution in MPL software systems and explored the reasons why bug resolution involves multiple PLs. Method: We conducted an empirical study on 54 MPL projects selected from 655 Apache OSS projects, of which 66,932 bugs were analyzed. Results: (1) the percentage of MPL bugs (MPLBs) in the selected projects ranges from 0.17% to 42.26%, and the percentage of MPLBs for all projects as a whole is 10.01%; (2) 95.0% and 4.5% of all the MPLBs involve source files written in 2 and 3 PLs, respectively; (3) the change complexity resolution characteristics of MPLBs tend to be higher than those of single-programming-language bugs (SPLBs); (4) the open time for MPLBs is 19.52% to 529.57% significantly longer than SPLBs regarding 9 PL combinations; (5) the reopen rate of bugs involving the PL combination of JavaScript and Python reaches 20.66%; (6) we found 6 causes why the bug resolution involves multiple PLs and identified 5 cross-language calling mechanisms. Conclusion: MPLBs are related to increased development difficulty.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑