• 综合
  • 标题
  • 关键词
  • 摘要
  • 学者
  • 期刊-刊名
  • 期刊-ISSN
  • 会议名称
搜索

作者:

Zhang, Wen (Zhang, Wen.) | Li, Ziqiang (Li, Ziqiang.) | Wang, Qing (Wang, Qing.) | Li, Juan (Li, Juan.)

收录:

EI Scopus SCIE

摘要:

Context: Bug localization, namely, to locate suspicious snippets from source code files for developers to fix the bug, is crucial for software quality assurance and software maintenance. Effective bug localization technique is desirable for software developers to reduce the effort involved in bug resolution. State-of-the-art bug localization techniques concentrate on file-level coarse-grained localization by lexical matching bug reports and source code files. However, this would bring about a heavy burden for developers to locate feasible code snippets to make change with the goal of fixing the bug. Objective: This paper proposes a novel approach called FineLocator to method-level fine-grained bug localization by using semantic similarity, temporal proximity and call dependency for method expansion. Method: Firstly, the bug reports and the methods of source code are represented by numeric vectors using word embedding (word2vec) and the TF-IDF method. Secondly, we propose three query expansion scores as semantic similarity score, temporal proximity score and call dependency score to address the representation sparseness problem caused by the short lengths of methods in the source code. Then, the representation of a method with short length is augmented by elements of its neighboring methods with query expansion. Thirdly, when a new bug report is incoming, FineLocator will retrieve the methods in source code by similarity ranking on the bug report and the augmented methods for bug localization. Results: We collect bug repositories of ArgoUML, Maven, Kylin, Ant and AspectJ projects to investigate the performance of the proposed FineLocator approach. Experimental results demonstrate that the proposed FineLocator approach can improve the performances of method-level bug localization at average by 20%, 21% and 17% measured by Top-N indicator, MAP and MRR respectively, in comparison with state-of-the-art techniques. Conclusion: This is the first paper to demonstrate how to make use of method expansion to address the representation sparseness problem for method-level fine-grained bug localization.

关键词:

Query expansion Method-level bug localization Call dependency Temporal proximity Semantic similarity

作者机构:

  • [ 1 ] [Zhang, Wen]Beijing Univ Technol, Coll Econ & Management, Res Base Beijing Modem Mfg Dev, Beijing 100124, Peoples R China
  • [ 2 ] [Zhang, Wen]Xian Univ, Sch Informat Engn, Xian 710065, Shaanxi, Peoples R China
  • [ 3 ] [Li, Ziqiang]Beijing Univ Chem Technol, Ctr Big Data Sci, Beijing 100029, Peoples R China
  • [ 4 ] [Wang, Qing]Chinese Acad Sci, Inst Software, Lab Internet Software Technol, Beijing 100190, Peoples R China
  • [ 5 ] [Li, Juan]Beijing Univ Technol, Coll Software, Beijing 100124, Peoples R China

通讯作者信息:

  • [Zhang, Wen]Beijing Univ Technol, Coll Econ & Management, Res Base Beijing Modem Mfg Dev, Beijing 100124, Peoples R China

查看成果更多字段

相关关键词:

相关文章:

来源 :

INFORMATION AND SOFTWARE TECHNOLOGY

ISSN: 0950-5849

年份: 2019

卷: 110

页码: 121-135

3 . 9 0 0

JCR@2022

ESI学科: COMPUTER SCIENCE;

ESI高被引阀值:147

JCR分区:2

被引次数:

WoS核心集被引频次: 36

SCOPUS被引频次: 42

ESI高被引论文在榜: 0 展开所有

万方被引频次:

中文被引频次:

近30日浏览量: 1

在线人数/总访问数:83/4702009
地址:北京工业大学图书馆(北京市朝阳区平乐园100号 邮编:100124) 联系我们:010-67392185
版权所有:北京工业大学图书馆 站点建设与维护:北京爱琴海乐之技术有限公司