首页> 外文会议>International Symposium on Test and Measurement;ISTM/2005 >Refining Defect-Warning Set in Automated Software Inspection Using Infeasible Paths
【24h】

Refining Defect-Warning Set in Automated Software Inspection Using Infeasible Paths

机译:使用不可行的路径完善自动化软件检查中的缺陷警告集

获取原文

摘要

ASI (Automated software inspection) can uncover a range of structural defects that may cause abnormal behavior or crashes and data corruption in production applications. Because of the problems such as determining array indexes, handling pointers and indeterminate loop, ASI often generates a large volume of defect-warning messages that are false positives. This false positive problem is quite severe in ASI and typically exceeds 50 false positives for each true positive. The cost and effort required to find true defects is high, because a large number of false positives must be manually evaluated and eliminated. This paper proposes how to refine the defect-warning set using the information of infeasible paths. If defect-warning message is reported on an infeasible path, then it can be excluded from consideration as true defect. Although it is impossible to solve the general problem of identifying all infeasible paths, some can be determined by detecting static branch correlation. A conditional branch has static correlation along a path if its outcome can be determined along the path from prior statements or branch outcomes at compile time. This paper uses the infeasible detection algorithm in the data flow testing to find infeasible paths and uses it to refine Defect-Warning Set. Experiments show that about 5-10% defect-warning message can be removed by the knowledge of infeasible paths.
机译:ASI(自动软件检查)可以发现一系列结构缺陷,这些缺陷可能导致生产应用程序中的异常行为或崩溃以及数据损坏。由于存在确定数组索引,处理指针和不确定循环等问题,因此ASI通常会生成大量的误报警告消息。在ASI中,这种假阳性问题非常严重,每个真阳性通常会超过50个假阳性。发现真实缺陷所需的成本和精力很高,因为必须手动评估并消除大量误报。本文提出了如何利用不可行路径信息来完善缺陷预警集。如果在不可行的路径上报告了缺陷警告消息,则可以将其作为真正的缺陷排除在外。尽管不可能解决识别所有不可行路径的一般问题,但可以通过检测静态分支相关性来确定某些路径。如果条件分支的结果可以在编译时从先前的语句或分支结果沿路径确定,则该路径沿路径具有静态相关性。本文在数据流测试中使用了不可行的检测算法来找到不可行的路径,并用它来完善缺陷警告集。实验表明,通过了解不可行的路径,可以消除大约5-10%的缺陷警告消息。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号