论文标题
对巴西软件代码审查实践的调查
A Survey of Software Code Review Practices in Brazil
论文作者
论文摘要
上下文:软件代码审查旨在提早查找代码异常,并在较便宜的情况下进行代码改进。但是,不清楚不应用代码审查实践的开发人员面临的问题和挑战尚不清楚。目标:调查开发人员面临的困难,以应用代码审查实践,而无需将目标受众限制为已经定期使用此实践的开发人员。方法:我们与从事软件开发行业的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.