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

基于程序执行轨迹与动态切片的错误定位研究
引用本文:孙士明,侯秀萍,高灿,孙琳琳.基于程序执行轨迹与动态切片的错误定位研究[J].吉林大学学报(信息科学版),2014,32(5):528-533.
作者姓名:孙士明  侯秀萍  高灿  孙琳琳
作者单位:1. 长春工业大学 计算机科学与工程学院, 长春 130012; 2. 苏州大学 附属第一医院, 江苏 苏州 215006
基金项目:国家科技部863高技术基金资助项目
摘    要:为解决程序调试过程中的错误定位问题, 将程序执行轨迹和动态切片技术应用于错误定位。程序执行轨迹中包含与错误无关语句, 影响错误定位的准确度。在执行轨迹的基础上, 通过使用动态切片技术降低不相关语句在错误定位时的影响。建立基于程序执行轨迹和动态切片的语句怀疑度计算模型, 使用该模型计算每条语句的怀疑度, 并根据怀疑度对每条语句进行排序, 给出查错的推荐方案。通过实验对比其他算法, 证明了基于程序执行轨迹与动态切片的错误定位方法是有效的。

关 键 词:执行轨迹  动态切片  怀疑度  
收稿时间:2014-01-14

Research on Fault Localization Based on Execution Trace and Dynamic Slicing
SUN Shiming,HOU Xiuping,GAO Can,SUN Linlin.Research on Fault Localization Based on Execution Trace and Dynamic Slicing[J].Journal of Jilin University:Information Sci Ed,2014,32(5):528-533.
Authors:SUN Shiming  HOU Xiuping  GAO Can  SUN Linlin
Institution:1. School of Computer Science and Engineering, Changchun University of Technology, Changchun 130012, China;2. The First Affiliated Hospital, Soochow University, Suzhou 215006, China
Abstract:The problem of faulty localization during program debugging is studied,and execution trace and dynamic slicing are applied to faulty localization.Irrelevant statements of fault localization are included in execution trace,accuracy of fault localization is affected by these statements.The influence of irrelevant statements is reduced by dynamic slicing technology based on execution trace.The model of suspicious degrees computing based on execution trace and dynamic slicing had been established,and suspicious degree of each statements could be computed by this model.After sorting these statements by their suspicious degrees,recommendation of fault localization would be reached.The experimental results are compared with other algorithms',and the method of faulty localization based on execution trace and dynamic slicing is proved effective.
Keywords:execution trace  dynamic slicing  suspicious degrees
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《吉林大学学报(信息科学版)》浏览原始摘要信息
点击此处可从《吉林大学学报(信息科学版)》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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