静态分析错误定位
The idea is very simple. We'll search for examples of pull requests on GitHub that specify that an issue is a bugfix. Then we'll try to find these bugs using the PVS-Studio static code analyzer. If an error could be found by the analyzer, then it is a bug which could have been found at the code writing stage. The earlier the bug is corrected, the cheaper it costs.
这个想法很简单。 我们将在GitHub上搜索拉取请求的示例,这些示例指定问题是错误修正。 然后,我们将尝试使用PVS-Studio静态代码分析器查找这些错误。 如果分析器可以发现错误,则说明它是在代码编写阶段发现的错误。 错误越早得到纠正,成本越便宜。
Unfortunately, GitHub let us down and we didn't manage to make a big posh article on the subject. GitHub itself has a glitch (or a feature) that doesn'
更多推荐
静态分析错误定位_由于未使用静态代码分析而无法找到的错误
发布评论