Enhancing Bug Localization through Bug Report Summarization

被引:2
|
作者
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
相关论文
共 50 条
  • [1] Does bug report summarization help in enhancing the accuracy of bug severity classification?
    Kukkar, Ashima
    Mohana, Rajni
    Kumar, Yugal
    INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND DATA SCIENCE, 2020, 167 : 1345 - 1353
  • [2] Enhancing bug localization with bug report decomposition and code hierarchical network
    Zhu, Ziye
    Tong, Hanghang
    Wang, Yu
    Li, Yun
    KNOWLEDGE-BASED SYSTEMS, 2022, 248
  • [3] Unsupervised Deep Bug Report Summarization
    Li, Xiaochen
    Jiang, He
    Liu, Dong
    Ren, Zhilei
    Li, Ge
    2018 IEEE/ACM 26TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2018), 2018, : 144 - 155
  • [4] How to cherry pick the bug report for better summarization?
    Haoran Liu
    Yue Yu
    Shanshan Li
    Mingyang Geng
    Xiaoguang Mao
    Xiangke Liao
    Empirical Software Engineering, 2021, 26
  • [5] BugSum: Deep Context Understanding for Bug Report Summarization
    Liu, Haoran
    Yu, Yue
    Li, Shanshan
    Guo, Yong
    Wang, Deze
    Mao, Xiaoguang
    2020 IEEE/ACM 28TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC, 2020, : 94 - 105
  • [6] How to cherry pick the bug report for better summarization?
    Liu, Haoran
    Yu, Yue
    Li, Shanshan
    Geng, Mingyang
    Mao, Xiaoguang
    Liao, Xiangke
    EMPIRICAL SOFTWARE ENGINEERING, 2021, 26 (06)
  • [7] Source Code Retrieval for Bug Localization using Bug Report
    Swe, Kyaw Ei Ei
    Oo, Hnin Min
    2019 IEEE 15TH INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTER COMMUNICATION AND PROCESSING (ICCP 2019), 2019, : 241 - 247
  • [8] Exploring Metadata in Bug Reports for Bug Localization
    Zhang, Xiaofei
    Yao, Yuan
    Wang, Yaojing
    Xu, Feng
    Lu, Jian
    2017 24TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2017), 2017, : 328 - 337
  • [9] Enhancing supervised bug localization with metadata and stack-trace
    Wang, Yaojing
    Yao, Yuan
    Tong, Hanghang
    Huo, Xuan
    Li, Ming
    Xu, Feng
    Lu, Jian
    KNOWLEDGE AND INFORMATION SYSTEMS, 2020, 62 (06) : 2461 - 2484
  • [10] Enhancing supervised bug localization with metadata and stack-trace
    Yaojing Wang
    Yuan Yao
    Hanghang Tong
    Xuan Huo
    Ming Li
    Feng Xu
    Jian Lu
    Knowledge and Information Systems, 2020, 62 : 2461 - 2484