【24h】

Fault Localizations Through Feature Selections

机译:通过功能选择进行故障定位

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

摘要

We introduce a novel application of feature ranking methods to the fault localization problem. We envision the problem of localizing causes of failures as instances of ranking program's elements where elements are conceptualized as features. In this paper, we define features as program's statements. However, in its fine-grained definition, the idea of program's features can refer to any traits of programs. This paper proposes feature ranking-based algorithms. The algorithms analyze execution traces of both passing and failing test cases, and extract the bug signatures from the failing test cases. The proposed procedure extracts possible combinations of program's elements when executed together from bug signatures. The feature ranking-based algorithms then order statements according to the suspiciousness of the combinations. When viewed as sequences, the combination of program's elements produced and traced in bug signatures can be utilized to reason about the common longest subsequence. The common longest subsequence of bug signatures represents the common statements executed by all failing test cases and thus provides a means for identifying statements that contain possible faults. Our evaluation indicates that the proposed feature-based fault localization outperforms existing fault localization ranking schemes.
机译:我们介绍了一种特征排序方法在故障定位中的新颖应用。我们设想将故障原因本地化的问题作为对程序元素进行排名的实例,其中元素被概念化为功能。在本文中,我们将功能定义为程序的语句。但是,在其细粒度的定义中,程序功能的概念可以指代程序的任何特征。本文提出了一种基于特征排序的算法。该算法分析通过和失败的测试用例的执行跟踪,并从失败的测试用例中提取错误签名。所提出的过程从错误签名中提取了当一起执行时程序元素的可能组合。然后,基于特征等级的算法会根据组合的可疑程度对语句进行排序。当视为序列时,可以使用在bug签名中生成并跟踪的程序元素的组合来推断常见的最长子序列。错误签名的最长共同子序列表示所有失败的测试用例执行的通用语句,因此提供了一种识别包含可能故障的语句的方法。我们的评估表明,所提出的基于特征的故障定位优于现有的故障定位排序方案。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号