So once you write a bug detector, try running it on a few projects and sample the reports to see if they are actual bugs or false alarms.
所以在编写bug检测器后,应该试着在新的项目和示例上运行它,以查看它们是真实的bug,还是假警报。
So for a bug pattern detector to be effective, it must minimize false alarms, preferably no more than 50 percent.
所以对于一个有效的 bug 模式检测器,它必须最小化假警报数量,最好使假情报不超过 50%。
All that is needed for a bug pattern detector to be effective is that it turn up a high enough percentage of questionable code to make it worth the effort of using it.
一个有效bug模式检测器的主要功能是发现更高百分比的可疑代码,使该模式具有更大的使用价值。
应用推荐