AttentiveBugLocator: A Bug Localization Model using Attention-based Semantic Features and Information Retrieval

Authors

  • Aminu Ahmad School of Computer Science and Engineering, Central South University, Changsha, Hunan, China
  • Yu Lasheng School of Computer Science and Engineering, Central South University, Changsha, Hunan, China
  • Hussaini Aliyu Idris Dept. of Computer Science and Engineering, Egypt-Japan University of Science and Technology (E-JUST), Alexandria, Egypt
  • Buhari Aliyu Dept. of Computer Science, Jigawa State Polytechnic Dutse, Nigeria
  • Adamu Muhammad Dept. of Computer Science, Jigawa State Polytechnic Dutse, Nigeria
  • Muhammad Umar Diginsa Dept. of Computer Engineering Technology, Bilyaminu Usman Polytechnic Hadejia, Nigeria

DOI:

https://doi.org/10.14738/tecs.122.16373

Keywords:

Bug report, Bug Localization, Deep learning, Software Maintenance, Bug tracking systems

Abstract

In recent years, deep learning-based algorithms such as CNN, LSTM, and auto-encoders have been proposed to rank suspicious buggy files. Meanwhile, representational learning has served to be the best ap-proach to extract rich semantic features of bug reports and source code to reduce their lexical mismatch. In this paper, we propose AttentiveBu-gLocator, a Siamese-based representational learning model for improved bug localization performance. AttentiveBugLocator employs BERT and code2vec embedding models to produce richer semantic representations and a Siamese BiLSTM network with context attention to learn semantic matching between BRs and SFs. To further improve the effectiveness of AttentiveBugLocator, the semantic matching features are carefully fused with VSM, stack trace, and code complexity features. Evaluation results on four data sets show that AttentiveBugLocator can identify buggy files on the scale of 56% and 62% on MAP and MRR – thus, outperforms sev-eral state-of-the-art approaches.

Downloads

Published

2024-03-13

How to Cite

Ahmad, A., Lasheng, Y., Idris, H. A., Aliyu, B., Muhammad, A. ., & Diginsa, M. U. (2024). AttentiveBugLocator: A Bug Localization Model using Attention-based Semantic Features and Information Retrieval. Transactions on Engineering and Computing Sciences, 12(2), 1–20. https://doi.org/10.14738/tecs.122.16373