NLP Techniques for software debugging tasks: A systematic literature review covering bug report analysis, bug reproduction, and localization

Author Identifier (ORCID)

Chadni Islam’s ORCID record ORCID Logo

Abstract

Efficient debugging is essential for software maintenance, as identifying, reproducing, and correcting bugs are critical to ensuring software reliability. However, debugging remains a time-consuming and cost-sensitive activity due to the complexities involved in analyzing and resolving bugs throughout the software development lifecycle. Recent advancements in Artificial Intelligence, Machine Learning, and particularly Natural Language Processing (NLP), and Large Language Models (LLM) offer promising opportunities to enhance debugging process. Since bug reports are typically written in natural language, NLP techniques can streamline debugging tasks, such as bug categorization, localization, and resolution. To assess the potential of NLP in debugging, we conduct a Systematic Literature Review (SLR) of 87 research papers published between 2011 and 2025. Our study presents a comprehensive taxonomy of research efforts, evaluates the effectiveness and limitations of various NLP methods, and highlights best practices across key software debugging tasks, including bug reproduction, bug localization, and bug report analysis. Furthermore, we identify significant challenges in real-world applications, including issues with scalability, accuracy, and adaptability to diverse software environments. Finally, we derive seven findings from our result analysis and propose future research directions corresponding to the findings, to advance NLP-driven debugging practices. This study provides a holistic overview of NLP in debugging for researchers, practitioners, and tool developers, helping to uncover trends, address gaps, and inspire new approaches to improving software maintenance workflows.

Keywords

debugging, NLP, SLR, software maintenance, systematic literature review

Document Type

Journal Article

Date of Publication

1-1-2027

Article Number

103552

ISSN

01676423

Volume

255

Publication Title

Science of Computer Programming

Publisher

Elsevier

School

School of Science

Funding Information

This work was supported in part by NSF grants CCF-2348277 and CCF-2518445 [162].

Copyright

subscription content

Recommended Citation

Lota, L. N., Zaman, T. S., Azwad, M. M., Farah, L., Chowdhury, A., Anjum, Z., Islam, C., & Kamal, A. R. M. (2026). NLP Techniques for software debugging tasks: A systematic literature review covering bug report analysis, bug reproduction, and localization. Science of Computer Programming, 255, Article 103552. https://doi.org/10.1016/j.scico.2026.103552

Share

 
COinS
 

Link to publisher version (DOI)

10.1016/j.scico.2026.103552