首页 | 本学科首页   官方微博 | 高级检索  
     

结合语句执行补集的程序错误定位
引用本文:胡从兴,陈林,丁晖,曾奕.结合语句执行补集的程序错误定位[J].计算机科学与探索,2011,5(6):522-533.
作者姓名:胡从兴  陈林  丁晖  曾奕
作者单位:1. 南京大学计算机科学与技术系,南京210093;上海市计算机软件评测重点实验室,上海201114
2. 南京大学计算机科学与技术系,南京210093;南京大学计算机软件新技术国家重点实验室,南京210093
3. 南京大学计算机科学与技术系,南京,210093
4. 上海市计算机软件评测重点实验室,上海,201114
基金项目:国家自然科学基金No.90818027,91018005,61003020; 上海市科委重点实验室基金No.09DZ2272600~~
摘    要:基于频谱的错误定位方法一般利用覆盖信息为每条语句度量出错的可能,即可疑度,通过逐条检查按可疑度值降序排列的语句序列来确定错误语句.针对已有的方法大多只考虑覆盖信息中语句执行信息的问题,分析了语句执行补集对错误定位的积极影响,进一步提出了在语句执行信息基础上结合语句执行补集的错误定位方法.实验结果表明,与其他方法相比,所...

关 键 词:软件测试  覆盖信息  错误定位  调试
修稿时间: 

Fault Localization Method of Combining Statement Execution Complement
HU Congxing,CHEN Lin,DING Hui,ZENG Yi.Fault Localization Method of Combining Statement Execution Complement[J].Journal of Frontier of Computer Science and Technology,2011,5(6):522-533.
Authors:HU Congxing  CHEN Lin  DING Hui  ZENG Yi
Affiliation:1. Department of Computer Science and Technology, Nanjing University, Nanjing 210093, China2. Shanghai Key Laboratory of Computer Software Testing and Evaluation, Shanghai 201114, China3. State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing 210093, China
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.
Keywords:software testing  coverage information  fault localization  debugging
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机科学与探索》浏览原始摘要信息
点击此处可从《计算机科学与探索》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号