arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1803.09226cs.SE
收藏

基于核的测试用例巧合正确检测方法提高故障定位效率

Kernel-based Detection of Coincidentally Correct Test Cases to Improve Fault Localization Effectiveness

Farid Feyzi, Saeed Parsa

摘要:

虽然实证研究已经证实了基于频谱的故障定位(SBFL)技术的有效性,它们的性能可能会下降,由于存在一些不希望的情况下,如巧合的正确性(CC)的存在,其中一个或多个通过测试的情况下,行使一个错误的语句,从而导致一些混乱,以决定是否行使的语句是错误的或没有。本文旨在通过减轻CC测试用例的影响来提高SBFL的有效性。在这方面,提出了一种新的方法,该方法使用具有定制核函数的支持向量机(SVM)。为了构建内核函数,我们应用了一种新的序列匹配算法,该算法可以测量通过和失败执行之间的相似性。我们进行了一些实验来评估所提出的方法。实验结果表明,该方法可以有效地提高SBFL技术的性能。

英文摘要:

Although empirical studies have confirmed the effectiveness of spectrum-based fault localization (SBFL) techniques, their performance may be degraded due to presence of some undesired circumstances such as the existence of coincidental correctness (CC) where one or more passing test cases exercise a faulty statement and thus causing some confusion to decide whether the underlying exercised statement is faulty or not. This article aims at improving SBFL effectiveness by mitigating the effect of CC test cases. In this regard, a new method is proposed that uses a support vector machine (SVM) with a customized kernel function. To build the kernel function, we applied a new sequence-matching algorithm that measures the similarities between passing and failing executions. We conducted some experiments to assess the proposed method. The results show that our method can effectively improve the performance of SBFL techniques.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑