本文已被:浏览 1949次 下载 2878次
Received:March 04, 2014 Revised:April 11, 2014
Received:March 04, 2014 Revised:April 11, 2014
中文摘要: 缺陷定位是软件缺陷修复的关键步骤. 随着计算机软件的日趋复杂和网络的迅速发展, 如何快速高效的定位缺陷相关代码成为了一个急待解决的问题. 在研究现有基于信息检索技术的缺陷定位方法的基础上, 综合考虑缺陷修复历史信息, 提出了基于缺陷修复历史的两阶段缺陷定位方法. 该方法不再单一依赖文本相似度, 从缺陷修复的局部性现象入手, 更多的考虑了缺陷修复的历史记录、变更信息及代码特征等因素, 结合信息检索和缺陷预测方法来提高缺陷定位的精度. 最后本文以两个开源项目为例, 验证了方法的可行性和有效性.
Abstract:Bug location is the key step in the software defect repair. With the rapid development of complex computer software and network, how to fast and efficiently locate bugs related code has become a pressing problem. This paper studies the existing bug localization method based on information retrieval technologies and a two-phase bug localization method based on defect repair history was proposed. The method pays more attention to the defect repair's local phenomenon. This method does not only rely on text similarity, but also more concern about the defect fix behavior, change of information, code characteristics and other factors. Based on information retrieval and defect prediction this method is proposed to improve the accuracy of defect location. At the end of the paper, two open source projects are conducted to validate the feasibility and effectiveness of the method.
文章编号: 中图分类号: 文献标志码:
基金项目:国家自然科学基金(71101138,91218392,61379046,91318301);北京自然科学基金(4122087)
引用文本:
王旭,张文,王青.基于缺陷修复历史的两阶段缺陷定位方法.计算机系统应用,2014,23(11):99-104
WANG Xu,ZHANG Wen,WANG Qing.Two-Phase Bug Localization Method Based on Defect Repair History.COMPUTER SYSTEMS APPLICATIONS,2014,23(11):99-104
王旭,张文,王青.基于缺陷修复历史的两阶段缺陷定位方法.计算机系统应用,2014,23(11):99-104
WANG Xu,ZHANG Wen,WANG Qing.Two-Phase Bug Localization Method Based on Defect Repair History.COMPUTER SYSTEMS APPLICATIONS,2014,23(11):99-104