Utilizing topic-based similar commit information and cnn-lstm algorithm for bug localization

Geunseok Yang, Byungjeong Lee

Research output: Contribution to journalArticlepeer-review

6 Scopus citations

Abstract

With the use of increasingly complex software, software bugs are inevitable. Software developers rely on bug reports to identify and fix these issues. In this process, developers inspect suspected buggy source code files, relying heavily on a bug report. This process is often time-consuming and increases the cost of software maintenance. To resolve this problem, we propose a novel bug localization method using topic-based similar commit information. First, the method determines similar topics for a given bug report. Then, it extracts similar bug reports and similar commit information for these topics. To extract similar bug reports on a topic, a similarity measure is calculated for a given bug report. In the process, for a given bug report and source code, features shared by similar source codes are classified and extracted; combining these features improves the method’s performance. The extracted features are presented to the convolutional neural network’s long short-term memory algorithm for model training. Finally, when a bug report is submitted to the model, a suspected buggy source code file is detected and recommended. To evaluate the performance of our method, a baseline performance comparison was conducted using code from opensource projects. Our method exhibits good performance.

Original languageEnglish
Article number406
Pages (from-to)1-18
Number of pages18
JournalSymmetry
Volume13
Issue number3
DOIs
StatePublished - Mar 2021

Keywords

  • Bug localization
  • Bug report
  • Deep learning

Fingerprint

Dive into the research topics of 'Utilizing topic-based similar commit information and cnn-lstm algorithm for bug localization'. Together they form a unique fingerprint.

Cite this