通过增大边际权重提高基于频谱的错误定位效率  被引量:10

Spectra-Based Fault Localization by Increasing Marginal Weight

在线阅读下载全文

作  者:谭德贵[1,2] 陈林[1,2] 王子元[1,2] 丁晖[1,2] 周毓明[1,2] 徐宝文[1,2] 

机构地区:[1]南京大学软件新技术国家重点实验室,南京210093 [2]南京大学计算机科学与技术系,南京210093

出  处:《计算机学报》2010年第12期2335-2342,共8页Chinese Journal of Computers

基  金:国家自然科学基金(90818027;60873050);国家"八六三"高技术研究发展计划专题项目基金(2009AA01Z147);国家"九七三"重点基础研究发展规划项目基金(2009CB320703);上海市科委重点实验室基金(09DZ2272600)资助~~

摘  要:基于频谱的错误定位技术通常利用覆盖信息来求出程序中每条语句的可疑度,并将语句按照可疑度降序排序以寻找错误语句.文中对已有的基于频谱的错误定位算法进行改进,将失败测试用例的边际权重引入到可疑度计算的过程中,即针对某一特定语句,令失败测试用例的权重随着其对该语句覆盖次数的增加而增大.实验结果表明,相对于其它方法,文中提出的方法对错误定位效率有一定的促进作用,即只需检查更少的语句即可找到出错位置.Spectra-based fault localization technique uses coverage information to calculate every statement's likelihood of having a bug.And then rank the likelihood in a decreasing order to find the faulty statement.This paper improves the spectra-base fault localization technique by increasing the marginal weight of the failed test cases.That means that as the number of the failed test case increases,the weight of the failed test case also increases.Comparing with reducing or sustaining the weight of covered statement's successful/failed test case,the experimental result shows that increasing the marginal weight of the covered statement's failed test case can promote the fault localization efficiency.

关 键 词:软件测试 程序分析 错误定位 覆盖信息 

分 类 号:TP301[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象