首页> 外文期刊>Computing and informatics >STATISTICAL BASED SLICING METHOD FOR PRIORITIZING PROGRAM FAULT RELEVANT STATEMENTS
【24h】

STATISTICAL BASED SLICING METHOD FOR PRIORITIZING PROGRAM FAULT RELEVANT STATEMENTS

机译:基于统计的切片方法,用于优先确定程序故障相关语句

获取原文
获取原文并翻译 | 示例

摘要

The aim of this paper is to integrate the strong points of statistical debugging and program slicing techniques for efficient program fault localization. The dynamic slices could be inappropriately large including redundant information considering that the statements are not ranked according to their fault relevance in the computed slice. On the other hand, the conventional statistical debugging techniques do not consider the dependence relationships between the faulty code (i.e., the cause) and the erroneous output (i.e., the effect). This information is very useful during the debugging. In this paper, a new method Stat-Slice for locating the latent bugs in programs is presented which could find a wider range of bugs, e.g. the omitted code faults, the header file faults, and etc., comparing with other techniques. Unlike the traditional program slicing techniques, the proposed method computes the backward dynamic slices of several failing and passing runs. Using K-means clustering in addition to a new ranking and pruning technique, we prioritize statements according to their likelihood to be the cause for failure. Our experiments on Siemens, grep, gzip, and flex test suites manifest that ranking statements according to their suspiciousness has considerably reduced the effort for fault localization.
机译:本文的目的是整合统计调试的优势和程序切片技术,以实现高效的程序故障定位。考虑到语句未根据计算出的切片中的故障相关性进行排序,因此动态切片可能会不适当地大,包括冗余信息。另一方面,传统的统计调试技术没有考虑错误代码(即原因)和错误输出(即结果)之间的依赖关系。该信息在调试期间非常有用。在本文中,提出了一种新的Stat-Slice方法来定位程序中的潜在错误,该方法可以找到范围更广的错误,例如与其他技术相比,遗漏的代码错误,头文件错误等。与传统的程序切片技术不同,该方法可计算几次失败和通过运行的后向动态切片。除了使用新的排名和修剪技术外,还使用K-means聚类,我们根据语句成为失败原因的可能性对语句进行优先级排序。我们在Siemens,grep,gzip和flex测试套件上进行的实验表明,根据其可疑程度对语句进行排序可以大大减少故障定位的工作量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号