计算机工程与科学2018,Vol.40Issue(2):275-281,7.DOI:10.3969/j.issn.1007-130X.2018.02.012
基于改良程序谱的软件故障定位方法
A fault localization method based on improved program spectrum
摘要
Abstract
Fault localization is a time-consuming and labor-intensive job in the process of software debugging.Debugging automation has important significance for replacing the manual check and improving the efficiency of software debugging.Specifically,many researchers have focused on fault automation location based on program spectrum in recent years.Aiming at the single error phenomenon,this paper presents a new fault localization method based on improved program spectrum.The method is based on the fact that the test case operation must cover the fault statement if the test case runs erroneously under the single error condition.It checks the coverage statements for all fault test cases,and then obtains the fault base.The fault base is used to improve the fault localization method of software debugging.Finally,the Siemens test suite is used as the test data to compare the effect of different methods on fault location and efficiency.The results show that the proposed method can greatly improve the effectiveness and efficiency of fault localization.关键词
故障定位/程序谱/测试用例/故障基Key words
fault localization/program spectrum/test case/fault base分类
信息技术与安全科学引用本文复制引用
余晓菲,张仕,蔡蕊,陈慧峰,蒋建民..基于改良程序谱的软件故障定位方法[J].计算机工程与科学,2018,40(2):275-281,7.基金项目
国家自然科学基金(61772004) (61772004)
福建省自然基金(2014J01221) (2014J01221)