Feedback-Driven Automated Whole Bug Report Reproduction for Android Apps

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Wang, Dingbang, Zhao, Yu, Feng, Sidong, Zhang, Zhaoxu, Halfond, William G. J., Chen, Chunyang, Sun, Xiaoxia, Shi, Jiangfan, Yu, Tingting
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917760695533568
author Wang, Dingbang
Zhao, Yu
Feng, Sidong
Zhang, Zhaoxu
Halfond, William G. J.
Chen, Chunyang
Sun, Xiaoxia
Shi, Jiangfan
Yu, Tingting
author_facet Wang, Dingbang
Zhao, Yu
Feng, Sidong
Zhang, Zhaoxu
Halfond, William G. J.
Chen, Chunyang
Sun, Xiaoxia
Shi, Jiangfan
Yu, Tingting
contents In software development, bug report reproduction is a challenging task. This paper introduces ReBL, a novel feedback-driven approach that leverages GPT-4, a large-scale language model (LLM), to automatically reproduce Android bug reports. Unlike traditional methods, ReBL bypasses the use of Step to Reproduce (S2R) entities. Instead, it leverages the entire textual bug report and employs innovative prompts to enhance GPT's contextual reasoning. This approach is more flexible and context-aware than the traditional step-by-step entity matching approach, resulting in improved accuracy and effectiveness. In addition to handling crash reports, ReBL has the capability of handling non-crash functional bug reports. Our evaluation of 96 Android bug reports (73 crash and 23 non-crash) demonstrates that ReBL successfully reproduced 90.63% of these reports, averaging only 74.98 seconds per bug report. Additionally, ReBL outperformed three existing tools in both success rate and speed.
format Preprint
id arxiv_https___arxiv_org_abs_2407_05165
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Feedback-Driven Automated Whole Bug Report Reproduction for Android Apps
Wang, Dingbang
Zhao, Yu
Feng, Sidong
Zhang, Zhaoxu
Halfond, William G. J.
Chen, Chunyang
Sun, Xiaoxia
Shi, Jiangfan
Yu, Tingting
Software Engineering
In software development, bug report reproduction is a challenging task. This paper introduces ReBL, a novel feedback-driven approach that leverages GPT-4, a large-scale language model (LLM), to automatically reproduce Android bug reports. Unlike traditional methods, ReBL bypasses the use of Step to Reproduce (S2R) entities. Instead, it leverages the entire textual bug report and employs innovative prompts to enhance GPT's contextual reasoning. This approach is more flexible and context-aware than the traditional step-by-step entity matching approach, resulting in improved accuracy and effectiveness. In addition to handling crash reports, ReBL has the capability of handling non-crash functional bug reports. Our evaluation of 96 Android bug reports (73 crash and 23 non-crash) demonstrates that ReBL successfully reproduced 90.63% of these reports, averaging only 74.98 seconds per bug report. Additionally, ReBL outperformed three existing tools in both success rate and speed.
title Feedback-Driven Automated Whole Bug Report Reproduction for Android Apps
topic Software Engineering
url https://arxiv.org/abs/2407.05165