###
DOI:
计算机系统应用英文版:2014,23(11):99-104
本文二维码信息
码上扫一扫!
基于缺陷修复历史的两阶段缺陷定位方法
(1.中国科学院软件研究所 互联网软件技术实验室, 北京 100190;2.中国科学院大学, 北京 100049)
Two-Phase Bug Localization Method Based on Defect Repair History
(1.Laboratory for Internet Software Technologies, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China;2.University of Chinese Academy of Science, Beijing 100049, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1617次   下载 2315
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