Reducing Bug Triaging Confusion by Learning from Mistakes with a Bug Tossing Knowledge Graph

被引:12
|
作者
Su, Yanqi [1 ]
Xing, Zhenchang [1 ]
Peng, Xin [2 ]
Xia, Xin [3 ]
Wang, Chong [2 ]
Xu, Xiwei [4 ]
Zhu, Liming [4 ,5 ]
机构
[1] Australian Natl Univ, Canberra, ACT, Australia
[2] Fudan Univ, Shanghai, Peoples R China
[3] Monash Univ, Clayton, Vic, Australia
[4] CSIRO, Data61, Canberra, ACT, Australia
[5] Univ New South Wales, Sydney, NSW, Australia
关键词
Bug Triaging; Learning to Rank; Knowledge Graph; ACCURATE;
D O I
10.1109/ASE51524.2021.9678574
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Assigning bugs to the right components is the prerequisite to get the bugs analyzed and fixed. Classification-based techniques have been used in practice for assisting bug component assignments, for example, the BugBug tool developed by Mozilla. However, our study on 124,477 bugs in Mozilla products reveals that erroneous bug component assignments occur frequently and widely. Most errors are repeated errors and some errors are even misled by the BugBug tool. Our study reveals that complex component designs and misleading component names and bug report keywords confuse bug component assignment not only for bug reporters but also developers and even bug triaging tools. In this work, we propose a learning to rank framework that learns to assign components to bugs from correct, erroneous and irrelevant bug-component assignments in the history. To inform the learning, we construct a bug tossing knowledge graph which incorporates not only goal-oriented component tossing relationships but also rich information about component tossing community, component descriptions, and historical closed and tossed bugs, from which three categories and seven types of features for bug, component and bug-component relation can be derived. We evaluate our approach on a dataset of 98,587 closed bugs (including 29,100 tossed bugs) of 186 components in six Mozilla products. Our results show that our approach significantly improves bug component assignments for both tossed and non-tossed bugs over the BugBug tool and the BugBug tool enhanced with component tossing relationships, with >20% Top-k accuracies and >30% NDCG@k (k=1,3,5,10).
引用
收藏
页码:191 / 202
页数:12
相关论文
共 50 条
  • [1] Bug Triaging Based on Tossing Sequence Modeling
    Xi, Sheng-Qu
    Yao, Yuan
    Xiao, Xu-Sheng
    Xu, Feng
    Lv, Jian
    [J]. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2019, 34 (05) : 942 - 956
  • [2] Bug Triaging Based on Tossing Sequence Modeling
    Sheng-Qu Xi
    Yuan Yao
    Xu-Sheng Xiao
    Feng Xu
    Jian Lv
    [J]. Journal of Computer Science and Technology, 2019, 34 : 942 - 956
  • [3] Fine-grained Incremental Learning and Multi-feature Tossing Graphs to Improve Bug Triaging
    Bhattacharya, Pamela
    Neamtiu, Iulian
    [J]. 2010 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2010,
  • [4] Neighborhood contrastive learning-based graph neural network for bug triaging
    Dong, Haozhen
    Ren, Hongmin
    Shi, Jialiang
    Xie, Yichen
    Hu, Xudong
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2024, 235
  • [5] Poster: Construct Bug Knowledge Graph for Bug Resolution
    Wang, Lu
    Sun, Xiaobing
    Wang, Jingwei
    Duan, Yucong
    Li, Bin
    [J]. PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 189 - 191
  • [6] Graph collaborative filtering-based bug triaging☆
    Dai, Jie
    Li, Qingshan
    Xue, Hui
    Luo, Zhao
    Wang, Yinglin
    Zhan, Siyuan
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 200
  • [7] Intelligent Bug Fixing with Software Bug Knowledge Graph
    Zhou, Cheng
    [J]. ESEC/FSE'18: PROCEEDINGS OF THE 2018 26TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2018, : 944 - 947
  • [8] Constructing Bug Knowledge Graph as a Service for Bug Search
    Chen, Ying
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2021, 31 (01) : 81 - 98
  • [9] PCG: A joint framework of graph collaborative filtering for bug triaging
    Dai, Jie
    Li, Qingshan
    Xie, Shenglong
    Li, Daizhen
    Chu, Hua
    [J]. JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024,
  • [10] Automatic Bug Triaging via Deep Reinforcement Learning
    Liu, Yong
    Qi, Xuexin
    Zhang, Jiali
    Li, Hui
    Ge, Xin
    Ai, Jun
    [J]. APPLIED SCIENCES-BASEL, 2022, 12 (07):