节点文献
结合语句执行补集的程序错误定位
Fault Localization Method of Combining Statement Execution Complement
【摘要】 基于频谱的错误定位方法一般利用覆盖信息为每条语句度量出错的可能,即可疑度,通过逐条检查按可疑度值降序排列的语句序列来确定错误语句。针对已有的方法大多只考虑覆盖信息中语句执行信息的问题,分析了语句执行补集对错误定位的积极影响,进一步提出了在语句执行信息基础上结合语句执行补集的错误定位方法。实验结果表明,与其他方法相比,所提方法能够减少找到错误时需要检查的语句数目,从而达到提高错误定位效果的目的。
【Abstract】 Spectrum-based fault localization approaches usually calculate the suspiciousness of statements by coverage information,and then examine the statement sequence ranked by the suspiciousness in descending order until find fault.But most of existing approaches only consider the execution information of statements after running testcases.This paper gives a study revealing that the execution complement of statements should be also taken into consideration,and further presents a method that combines the execution complement of statements to locate fault.Compared with other methods,the experimental results show that the approach can reduce the number of statements that need to be examined to find the faulty statement,and thus improve the effect of fault localization.
【Key words】 software testing; coverage information; fault localization; debugging;
- 【文献出处】 计算机科学与探索 ,Journal of Frontiers of Computer Science & Technology , 编辑部邮箱 ,2011年06期
- 【分类号】TP311.52
- 【被引频次】9
- 【下载频次】142