摘要
缺陷定位是软件调试过程中的重要环节,它通过利用程序信息和测试信息来定位软件中的错误.借助于事件信息量,提出一种基于事件信息量的缺陷定位方法——SIQ(suspiciousness based on information quantity).SIQ方法根据测试信息中不同事件的类型及其发生的概率,结合语句的执行信息,动态计算和调整缺陷定位的结果.通过大量的实验分析和对比,SIQ方法在多个数据集上表现出了很好的稳定性,与几种现有的缺陷定位方法相比,SIQ方法的缺陷定位效果也更加准确.
Fault localization is an important step in debugging. It makes use of the information from the source code and testing to locate bugs in software. This paper presents a method using the information quantity of testing events, called SIQ (suspiciousness based on information quantity). SIQ adjusts the fault localization procedure dynamically according to the testing events and the execution information of statements. In a series of experiments and analysis, SIQ takes on excellent stability in multiple data sets and has better localization accuracy compared to several existing methods.
出处
《软件学报》
EI
CSCD
北大核心
2013年第7期1484-1494,共11页
Journal of Software
基金
国家自然科学基金(90818027
61003020
61170071
60903026)
国家重点基础研究发展计划(973)(2009CB320703)
江苏省自然科学基金(BK2011190)
关键词
程序调试
缺陷定位
信息量
debug
fault localization
information quantity
作者简介
通讯作者:丁晖(1985-),男,辽宁鞍山人,博士生,幸要研究领域为缺陷定位,程序分析.E-mail:dinghui85@gmail.com
陈林(1979-),男,博士,讲师,CCF会员,主要研究领域为软件分析维护.E—mail:Ichen@nju.edu.cn
钱巨(1981-),男.博士,副教授,CCF会员,主要研究领域为程序分析.E-mail:jqian@nuaa.edu.cn
许蕾(1978-),女,博士,剐教授,CCF会员,主要研究领域为Web服务分析测试.E-mail:xlei@nju.edu.cn
徐宝文(1961-),男,博士,教授,博士生导师,CCF高级会员,主要研究领域为程序设计语言,软件工程,并行与网络软件.E—mail:bwxu@nju.edu.cn