基于贝叶斯的软件错误定位方法  

Approach of fault localization based on Bayesian

在线阅读下载全文

作  者:姜元鹏[1] 李威[2] 于巧[2] 姜淑娟[2] 

机构地区:[1]中国矿业大学图书馆,江苏徐州221116 [2]中国矿业大学计算机科学与技术学院,江苏徐州221116

出  处:《计算机工程与设计》2014年第11期3845-3849,共5页Computer Engineering and Design

基  金:国家自然科学基金项目(60970032)

摘  要:为提高基于程序切片和覆盖信息的传统错误定位技术的效率,提出一种基于程序动态切片和贝叶斯相结合的错误定位方法。针对程序执行轨迹计算动态切片,减少搜索空间;在切片后覆盖信息的基础上,利用贝叶斯公式计算相关语句的可疑度;根据语句可疑度降序排列语句,依次检查直到找出真正的错误语句。实验结果表明,该方法能够在一定程度上提高软件错误定位的效率与精度。To improve the efficiency of traditional fault localization techniques based on the program slicing and coverage informa- tion, an approach for automatically fault localization based on the program dynamic slice and Bayesian theory was presented. Firstly, dynamic slicing upon the program execution trace was calculated, which narrowed down the search scope. Secondly, the Bayesian statistical model was applied to calculate the suspiciousness value of statements based on the coverage information. The statements were ranked in descending order by the suspiciousness value, and the real fault statement was identified according to the ranking list. The experimental results show that the approach can improve the efficiency and accuracy of fault localization to a certain extent.

关 键 词:错误定位 程序切片 概率统计 贝叶斯定理 实验 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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