节点文献

一种基于最弱前置条件的软件错误定位算法

Technique of Software Fault Localization Based on Weakest Pre-condition

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 李雅黄少滨李艳梅迟荣华郎大鹏

【Author】 LI Ya;HUANG Shao-bin;LI Yan-mei;CHI Rong-hua;LANG Da-peng;College of Computer Science and Technology,Heilongjiang Institute of Technology;College of Computer Science and Technology,Harbin Engineering University;

【机构】 黑龙江工程学院计算机科学与技术学院哈尔滨工程大学计算机科学与技术学院

【摘要】 错误定位是软件调试中非常耗时费力的活动之一,自动错误定位技术可以有效地提高调试效率,降低调试成本.基于最弱前置条件的错误定位技术,首先计算出程序需要满足的最弱前置条件,并为其构造错误分析图;然后在错误分析图上依照失败测试用例进行初始化标记;最后限定分析图的输入和输出,自顶向下再次对其进行标记,找到冲突的结点,从而进行错误定位.实验结果表明,相对于其它方法,文中提出的方法能有效地提高程序错误定位的效率,使得调试人员只需检查更少的语句即可找到出错的位置.

【Abstract】 Fault localization is one of the most time-consuming activities in software debugging, and automatic fault localization technique can effectively improve the efficiency and reduce the cost. In this paper,a fault localization technique based on weakest pre-condition is proposed. Firstly,we compute the weakest pre-condition, and construct the fault analysis graph. Secondly, label the nodes according to the failing test case. Finally, label the graph top-down again while the output is limited to true, and the input cannot be changed. The conflicting nodes were found as the possible errors. The experimental results suggest that the proposed method in this paper has better performance compared to other methods. So that the debugger can only check fewer statements to find out the location of the error.

【基金】 国家自然科学基金(No.61772177,No.61806075);黑龙江省自然科学基金(No.F2018029);黑龙江工程学院博士科研启动基金(No.2018BJ03,No.2017BJ13)
  • 【文献出处】 电子学报 ,Acta Electronica Sinica , 编辑部邮箱 ,2019年01期
  • 【分类号】TP311.53
  • 【被引频次】5
  • 【下载频次】112
节点文献中: 

本文链接的文献网络图示:

本文的引文网络