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

巴西软件代码评审实践调查

A Survey of Software Code Review Practices in Brazil

Marcos Dosea, Claudio Sant'Anna, Ythanna Oliveira, Methanias Colaco Junior

摘要:

软件代码评审的目的是尽早发现代码异常,并在成本较低时进行代码改进。然而,不定期应用代码审查实践的开发人员所面临的问题和挑战尚不清楚。目标:调查开发人员在应用代码审查实践时所面临的困难,而不将目标受众限制在已经经常使用此实践的开发人员。方法:我们进行了一项基于网络的调查,350名巴西从业人员从事软件开发行业。结果:代码审查实践在巴西从业者中很普遍,他们认识到其重要性。然而,没有适用这些做法的例行程序。此外,他们还报告了在软件开发过程中使用静态分析工具的困难。从业者认识到的一个可能的原因是,这些工具中的大多数使用单一的度量阈值,这可能不足以评估所有的系统类。结论:改进指南以使代码审查实践适应软件开发过程,有助于使其广泛使用。此外,未来的研究应该调查是否考虑到源代码上下文的多个度量阈值减少了静态分析工具的假警报。最后,这些工具应该允许在软件开发过程的不同阶段使用。

英文摘要:

Context: Software code review aims to early find code anomalies and to perform code improvements when they are less expensive. However, issues and challenges faced by developers who do not apply code review practices regularly are unclear. Goal: Investigate difficulties developers face to apply code review practices without limiting the target audience to developers who already use this practice regularly. Method: We conducted a web-based survey with 350 Brazilian practitioners engaged on the software development industry. Results: Code review practices are widespread among Brazilian practitioners who recognize its importance. However, there is no routine for applying these practices. In addition, they report difficulties to fit static analysis tools in the software development process. One possible reason recognized by practitioners is that most of these tools use a single metric threshold, which might be not adequate to evaluate all system classes. Conclusion: Improving guidelines to fit code review practices into the software development process could help to make them widely used. Additionally, future studies should investigate whether multiple metric thresholds that take source code context into account reduce static analysis tool false alarms. Finally, these tools should allow their use in distinct phases of the software development process.

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

↑