An Imbalanced Deep Learning Model for Bug Localization

被引:2
作者
Bui Thi Mai Anh [1 ]
Nguyen Viet Luyen [1 ]
机构
[1] Hanoi Univ Sci & Technol, Sch Informat & Commun Technol, Lab Intelligent Software Engn, Hanoi, Vietnam
来源
2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE WORKSHOPS (APSECW 2021) | 2021年
关键词
bug localization; deep neural network; imbalanced data-set; bootstrapping;
D O I
10.1109/APSECW53869.2021.00017
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Debugging and locating faulty source files are tedious and time-consuming tasks. To improve the productivity and to help developers focus on crucial files, automated bug localization models have been proposed for years. These models recommend buggy source files by ranking them according to their relevance to a given bug report. There are two significant challenges in this research field: (i) narrowing the lexical gap between bug reports which are typically described using natural languages and source files written in programming languages; (ii) reducing the impact of imbalanced data distribution in model training as a far fewer of source files relate to a given bug report while the majority of them are not relevant. In this paper, we propose a deep neural network model to investigate essential information hidden within bug reports and source files through capturing not only lexical relations but also semantic details as well as domain knowledge features such as historical bug fixings, code change history. To address the skewed class distribution, we apply a focal loss function combining with a bootstrapping method to rectify samples of the minority class within iterative training batches to our proposed model. We assessed the performance of our approach over six large scale Java open-source projects. The empirical results have showed that the proposed method outperformed other state-of-the-art models by improving the Mean Average Precision (MAP) and Mean Reciprocal Rank (MRR) scores from 3% to 11% and from 2% to 14%, respectively.
引用
收藏
页码:32 / 40
页数:9
相关论文
共 50 条
[21]   Software Bug Localization using Pachinko Allocation Model [J].
Sharma, Tanu ;
Sharma, Kapil ;
Sharma, Tapan .
PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, :3603-3608
[22]   DreamLoc: A Deep Relevance Matching-Based Framework for bug Localization [J].
Qi, Binhang ;
Sun, Hailong ;
Yuan, Wei ;
Zhang, Hongyu ;
Meng, Xiangxin .
IEEE TRANSACTIONS ON RELIABILITY, 2022, 71 (01) :235-249
[23]   Exploring Metadata in Bug Reports for Bug Localization [J].
Zhang, Xiaofei ;
Yao, Yuan ;
Wang, Yaojing ;
Xu, Feng ;
Lu, Jian .
2017 24TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2017), 2017, :328-337
[24]   On the classification of bug reports to improve bug localization [J].
Fang, Fan ;
Wu, John ;
Li, Yanyan ;
Ye, Xin ;
Aljedaani, Wajdi ;
Mkaouer, Mohamed Wiem .
SOFT COMPUTING, 2021, 25 (11) :7307-7323
[25]   On the classification of bug reports to improve bug localization [J].
Fan Fang ;
John Wu ;
Yanyan Li ;
Xin Ye ;
Wajdi Aljedaani ;
Mohamed Wiem Mkaouer .
Soft Computing, 2021, 25 :7307-7323
[26]   RAT: A Refactoring-Aware Traceability Model for Bug Localization [J].
Niu, Feifei ;
Assuncao, Wesley K. G. ;
Huang, LiGuo ;
Mayr-Dorn, Christoph ;
Ge, Jidong ;
Luo, Bin ;
Egyed, Alexander .
2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE, 2023, :196-207
[27]   LSTM Attention-Driven Similarity Learning for Effective Bug Localization [J].
Yang, Geunseok ;
Ji, Jinfeng ;
Kim, Eontae .
APPLIED SCIENCES-BASEL, 2025, 15 (03)
[28]   Enhancing Bug Localization through Bug Report Summarization [J].
Zhang, Xia ;
Zhu, Ziye ;
Li, Yun .
23RD IEEE INTERNATIONAL CONFERENCE ON DATA MINING, ICDM 2023, 2023, :1541-1546
[29]   Augmented Bug Localization Using Past Bug Information [J].
Nichols, Brent D. .
PROCEEDINGS OF THE 48TH ANNUAL SOUTHEAST REGIONAL CONFERENCE (ACM SE 10), 2010, :306-311
[30]   An approach for bug localization in models using two levels: model and metamodel [J].
Arcega, Lorena ;
Font, Jaime ;
Haugen, Oystein ;
Cetina, Carlos .
SOFTWARE AND SYSTEMS MODELING, 2019, 18 (06) :3551-3576