首页 | 官方网站   微博 | 高级检索  
     

基于缺陷修复历史的两阶段缺陷定位方法
引用本文:王旭,张文,王青.基于缺陷修复历史的两阶段缺陷定位方法[J].计算机系统应用,2014,23(11):99-104.
作者姓名:王旭  张文  王青
作者单位:1. 中国科学院软件研究所 互联网软件技术实验室,北京100190; 中国科学院大学,北京 100049
2. 中国科学院软件研究所 互联网软件技术实验室,北京,100190
基金项目:国家自然科学基金(71101138,91218392,61379046,91318301);北京自然科学基金(4122087)
摘    要:缺陷定位是软件缺陷修复的关键步骤。随着计算机软件的日趋复杂和网络的迅速发展,如何快速高效的定位缺陷相关代码成为了一个急待解决的问题。在研究现有基于信息检索技术的缺陷定位方法的基础上,综合考虑缺陷修复历史信息,提出了基于缺陷修复历史的两阶段缺陷定位方法。该方法不再单一依赖文本相似度,从缺陷修复的局部性现象入手,更多的考虑了缺陷修复的历史记录、变更信息及代码特征等因素,结合信息检索和缺陷预测方法来提高缺陷定位的精度。最后本文以两个开源项目为例,验证了方法的可行性和有效性。

关 键 词:缺陷定位  信息检索  缺陷修复  缺陷报告
收稿时间:3/4/2014 12:00:00 AM
修稿时间:2014/4/11 0:00:00

Two-Phase Bug Localization Method Based on Defect Repair History
WANG Xu,ZHANG Wen and WANG Qing.Two-Phase Bug Localization Method Based on Defect Repair History[J].Computer Systems& Applications,2014,23(11):99-104.
Authors:WANG Xu  ZHANG Wen and WANG Qing
Affiliation:Laboratory for Internet Software Technologies, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China;University of Chinese Academy of Science, Beijing 100049, China;Laboratory for Internet Software Technologies, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China;Laboratory for Internet Software Technologies, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
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.
Keywords:bug localization  information retrieval  defect repair  bug report
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号