微型电脑应用2017,Vol.33Issue(9):47-49,79,4.
基于代码结构信息和历史缺陷报告软件缺陷定位研究
Research of Software Defect Positioning Based on the Code Structure Information and History Defect Report
刘艾侠 1刘丹丹2
作者信息
- 1. 宝鸡职业技术学院,宝鸡721013
- 2. 中国科学院大学,北京100039
- 折叠
摘要
Abstract
Static bug localization method commonly uses information retrieval method to locate bug.Existing information retrieval methods generally use text similarity between the source codes and bug reports,but the text similarity method fails to make full use of the source code structure information,and has low accuracy.In order to solve this problem,this paper presents a bug localization method using source code structure (such as the class name,method names,variable names,comment etc.) and historical bug report information.When different parts of the source code structure match the bug report,they are given different weights.The paper also makes full use of the historical bug report information to improve the accuracy of bug localization.Finally in order to validate the method,this paper is compared the proposed method with BugLocator and BugScout,the results show that software bug localization method based on source code structure has significant advantage than the BugLocator and the BugScout.关键词
代码结构/缺陷定位/缺陷报告/历史缺陷报告Key words
Code structure/Bug localization/Bug report/Historical bug report分类
信息技术与安全科学引用本文复制引用
刘艾侠,刘丹丹..基于代码结构信息和历史缺陷报告软件缺陷定位研究[J].微型电脑应用,2017,33(9):47-49,79,4.