Enhancing Bug Localization through Bug Report Summarization

被引:5
作者
Zhang, Xia [1 ]
Zhu, Ziye [1 ]
Li, Yun [1 ]
机构
[1] Nanjing Univ Posts & Telecommun, Sch Comp Sci, Nanjing, Peoples R China
来源
23RD IEEE INTERNATIONAL CONFERENCE ON DATA MINING, ICDM 2023 | 2023年
关键词
Bug localization; Deep learning; Bug report summarization; Bug reports;
D O I
10.1109/ICDM58522.2023.00205
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The process of software bug localization can be described as identifying the source code files (i.e., hug location) corresponding to the bug described in the bug report. Most existing bug localization approaches fall short in handling the following three aspects, including (1.1) only using partial content in the hug report (i.e., title and description), (L2) direct semantic understanding of the entire bug reports and source files, and (L3) relying solely on semantic matching between bug reports and source tiles. To overcome these limitations, this paper constructs datasets in which the content of each bug report is augmented with prefix comments for addressing Li and presents a novel model named BRS BL for hug localization. Specifically, the proposed BRS BL designs a specially tailored bug report summarization module to extract core information for semantic representation in bug reports and a chunking source file module to split the source code liles into blocks based on lines and words for addressing L2. It further uses a fine-grained matching module utilizing semantic matching and incorporating some well -characterized software-specific features for addressing L3. The experimental results show that our model BRS_BL significantly outperforms the existing representative bug localization techniques in terms of several evaluation metrics across four real-world projects.
引用
收藏
页码:1541 / 1546
页数:6
相关论文
共 37 条
[1]   Bug Localization with Combination of Deep Learning and Information Retrieval [J].
An Ngoc Lam ;
Anh Tuan Nguyen ;
Hoan Anh Nguyen ;
Nguyen, Tien N. .
2017 IEEE/ACM 25TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2017, :218-229
[2]   Combining Deep Learning with Information Retrieval to Localize Buggy Files for Bug Reports [J].
An Ngoc Lam ;
Anh Tuan Nguyen ;
Hoan Anh Nguyen ;
Nguyen, Tien N. .
2015 30TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2015, :476-481
[3]  
[Anonymous], 2018, P 2018 C N AM CHAPTE, DOI DOI 10.18653/V1/N18-1158
[4]  
Anvik J., 2006, ICSE
[5]  
Hochreiter S, 1997, NEURAL COMPUT, V9, P1735, DOI [10.1162/neco.1997.9.1.1, 10.1007/978-3-642-24797-2]
[6]  
Hooimeijer P., 2007, ASE
[7]  
Huo X., 2016, IJCAI, V16, P1606
[8]  
Huo X, 2017, PROCEEDINGS OF THE TWENTY-SIXTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, P1909
[9]  
Kenter T, 2016, PROCEEDINGS OF THE 54TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, VOL 1, P941
[10]   Gradient-based learning applied to document recognition [J].
Lecun, Y ;
Bottou, L ;
Bengio, Y ;
Haffner, P .
PROCEEDINGS OF THE IEEE, 1998, 86 (11) :2278-2324