An Empirical Study on the Capability of LLMs in Decomposing Bug Reports

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Chen, Zhiyuan, Nava-Camal, Vanessa, Suleiman, Ahmad, Tang, Yiming, Hou, Daqing, Shang, Weiyi
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912353743798272
author Chen, Zhiyuan
Nava-Camal, Vanessa
Suleiman, Ahmad
Tang, Yiming
Hou, Daqing
Shang, Weiyi
author_facet Chen, Zhiyuan
Nava-Camal, Vanessa
Suleiman, Ahmad
Tang, Yiming
Hou, Daqing
Shang, Weiyi
contents Background: Bug reports are essential to the software development life cycle. They help developers track and resolve issues, but are often difficult to process due to their complexity, which can delay resolution and affect software quality. Aims: This study investigates whether large language models (LLMs) can assist developers in automatically decomposing complex bug reports into smaller, self-contained units, making them easier to understand and address. Method: We conducted an empirical study on 127 resolved privacy-related bug reports collected from Apache Jira. We evaluated ChatGPT and DeepSeek using different prompting strategies. We first tested both LLMs with zero-shot prompts, then applied improved prompts with demonstrations (using few-shot prompting) to measure their abilities in bug decomposition. Results: Our findings show that LLMs are capable of decomposing bug reports, but their overall performance still requires further improvement and strongly depends on the quality of the prompts. With zero-shot prompts, both studied LLMs (ChatGPT and DeepSeek) performed poorly. After prompt tuning, ChatGPT's true decomposition rate increased by 140\% and DeepSeek's by 163.64\%. Conclusions: LLMs show potential in helping developers analyze and decompose complex bug reports, but they still need improvement in terms of accuracy and bug understanding.
format Preprint
id arxiv_https___arxiv_org_abs_2504_20911
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle An Empirical Study on the Capability of LLMs in Decomposing Bug Reports
Chen, Zhiyuan
Nava-Camal, Vanessa
Suleiman, Ahmad
Tang, Yiming
Hou, Daqing
Shang, Weiyi
Software Engineering
Background: Bug reports are essential to the software development life cycle. They help developers track and resolve issues, but are often difficult to process due to their complexity, which can delay resolution and affect software quality. Aims: This study investigates whether large language models (LLMs) can assist developers in automatically decomposing complex bug reports into smaller, self-contained units, making them easier to understand and address. Method: We conducted an empirical study on 127 resolved privacy-related bug reports collected from Apache Jira. We evaluated ChatGPT and DeepSeek using different prompting strategies. We first tested both LLMs with zero-shot prompts, then applied improved prompts with demonstrations (using few-shot prompting) to measure their abilities in bug decomposition. Results: Our findings show that LLMs are capable of decomposing bug reports, but their overall performance still requires further improvement and strongly depends on the quality of the prompts. With zero-shot prompts, both studied LLMs (ChatGPT and DeepSeek) performed poorly. After prompt tuning, ChatGPT's true decomposition rate increased by 140\% and DeepSeek's by 163.64\%. Conclusions: LLMs show potential in helping developers analyze and decompose complex bug reports, but they still need improvement in terms of accuracy and bug understanding.
title An Empirical Study on the Capability of LLMs in Decomposing Bug Reports
topic Software Engineering
url https://arxiv.org/abs/2504.20911