论文标题

编译器警告未开发的地形

The Unexplored Terrain of Compiler Warnings

论文作者

Kudrjavets, Gunnar, Kumar, Aditya, Nagappan, Nachiappan, Rastogi, Ayushi

论文摘要

作者的行业经验表明,编译器警告是计划分析的轻量级版本,是有价值的早期错误检测工具。如果解决了编译器警告,可以避免的问题与补丁和安全公告有关。然而,行业对编译器警告的态度混杂。实践范围从沉默所有编译器警告到对任何警告的零容忍政策。当前已发布的数据表明,早期解决编译器警告是有益的。但是,对这种价值理论的支持源于灰色文献或轶事。需要进行其他重点研究来真正评估解决警告的成本效益。

The authors' industry experiences suggest that compiler warnings, a lightweight version of program analysis, are valuable early bug detection tools. Significant costs are associated with patches and security bulletins for issues that could have been avoided if compiler warnings were addressed. Yet, the industry's attitude towards compiler warnings is mixed. Practices range from silencing all compiler warnings to having a zero-tolerance policy as to any warnings. Current published data indicates that addressing compiler warnings early is beneficial. However, support for this value theory stems from grey literature or is anecdotal. Additional focused research is needed to truly assess the cost-benefit of addressing warnings.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源