基于谓词执行信息分析的自适应缺陷定位算法 | |
郝鹏 ; 郑征 ; 张震宇 ; 高乙超 ; 宫成 ; 薛云志 | |
刊名 | 计算机学报 |
2014 | |
卷号 | 37期号:3页码:500-511 |
关键词 | 统计学缺陷定位 谓词执行信息 自适应 软件测试 程序分析 |
ISSN号 | 2544164 |
其他题名 | Self-adaptive fault localization algorithm based on predicate execution information analysis |
通讯作者 | Zheng, Z.(zhengz@buaa.edu.cn) |
中文摘要 | 查找程序中缺陷代码所在的位置是一项值得深入开展的研究,同时也是实际软件调试过程中所面临的一个难题,这一过程往往需要耗费大量的时间和人力资源.研究 软件缺陷定位的一类重要方法是基于谓词的统计学缺陷定位方法(简称PBSFL).PBSFL通过比较程序运行成功与失败时谓词的执行信息差异来获得谓词与 缺陷的关联程度.然而实验研究发现,固定算法中信息利用的强度会造成信息利用不足或过分利用现象的发生,导致现有PBSFL方法对某些缺陷定位不够准确. 针对这一问题,文中设计了一种基于谓词执行信息分析的自适应缺陷定位算法,该算法通过分析测试用例运行时谓词的执行情况来动态地为每个谓词选择合适的信息 利用强度.实验结果表明,该方法在Siemens和space两个程序包上表现出很好的定位效果以及定位稳定性. |
英文摘要 | Finding the location of a fault in code is an important research and practical problem, which often requires much time and manual effort. Predicate-based statistical fault localization (PBSFL) is a promising method, which obtains the correlative relationship between predicates and faults by comparing the predicate execution information in both correct and incorrect runs. However, experiment results show that existing PBSFL methods fail to locate some faults because they use predicate execution information in a fixed intensity, which may cause insufficient or excessive usage. To solve the problem, we propose a new method, called self-adaptive fault localization algorithm based on predicate execution information analysis, which dynamically select the intensity of information utilization for each predicate through the analysis of test cases run. Experimental results demonstrate that our approach performs well in both accuracy and stability for localizing faults in subject programs of the Siemens and space suites. |
收录类别 | EI ; CSCD |
语种 | 中文 |
CSCD记录号 | CSCD:5064062 |
公开日期 | 2014-12-16 |
内容类型 | 期刊论文 |
源URL | [http://ir.iscas.ac.cn/handle/311060/16764] |
专题 | 软件研究所_软件所图书馆_期刊论文 |
推荐引用方式 GB/T 7714 | 郝鹏,郑征,张震宇,等. 基于谓词执行信息分析的自适应缺陷定位算法[J]. 计算机学报,2014,37(3):500-511. |
APA | 郝鹏,郑征,张震宇,高乙超,宫成,&薛云志.(2014).基于谓词执行信息分析的自适应缺陷定位算法.计算机学报,37(3),500-511. |
MLA | 郝鹏,et al."基于谓词执行信息分析的自适应缺陷定位算法".计算机学报 37.3(2014):500-511. |
个性服务 |
查看访问统计 |
相关权益政策 |
暂无数据 |
收藏/分享 |
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。
修改评论