Combining Language and App UI Analysis for the Automated Assessment of Bug Reproduction Steps

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Mahmud, Junayed, Saha, Antu, Chaparro, Oscar, Moran, Kevin, Marcus, Andrian
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913681701339136
author Mahmud, Junayed
Saha, Antu
Chaparro, Oscar
Moran, Kevin
Marcus, Andrian
author_facet Mahmud, Junayed
Saha, Antu
Chaparro, Oscar
Moran, Kevin
Marcus, Andrian
contents Bug reports are essential for developers to confirm software problems, investigate their causes, and validate fixes. Unfortunately, reports often miss important information or are written unclearly, which can cause delays, increased issue resolution effort, or even the inability to solve issues. One of the most common components of reports that are problematic is the steps to reproduce the bug(s) (S2Rs), which are essential to replicate the described program failures and reason about fixes. Given the proclivity for deficiencies in reported S2Rs, prior work has proposed techniques that assist reporters in writing or assessing the quality of S2Rs. However, automated understanding of S2Rs is challenging, and requires linking nuanced natural language phrases with specific, semantically related program information. Prior techniques often struggle to form such language to program connections - due to issues in language variability and limitations of information gleaned from program analyses. To more effectively tackle the problem of S2R quality annotation, we propose a new technique called AstroBR, which leverages the language understanding capabilities of LLMs to identify and extract the S2Rs from bug reports and map them to GUI interactions in a program state model derived via dynamic analysis. We compared AstroBR to a related state-of-the-art approach and we found that AstroBR annotates S2Rs 25.2% better (in terms of F1 score) than the baseline. Additionally, AstroBR suggests more accurate missing S2Rs than the baseline (by 71.4% in terms of F1 score).
format Preprint
id arxiv_https___arxiv_org_abs_2502_04251
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Combining Language and App UI Analysis for the Automated Assessment of Bug Reproduction Steps
Mahmud, Junayed
Saha, Antu
Chaparro, Oscar
Moran, Kevin
Marcus, Andrian
Software Engineering
Machine Learning
Bug reports are essential for developers to confirm software problems, investigate their causes, and validate fixes. Unfortunately, reports often miss important information or are written unclearly, which can cause delays, increased issue resolution effort, or even the inability to solve issues. One of the most common components of reports that are problematic is the steps to reproduce the bug(s) (S2Rs), which are essential to replicate the described program failures and reason about fixes. Given the proclivity for deficiencies in reported S2Rs, prior work has proposed techniques that assist reporters in writing or assessing the quality of S2Rs. However, automated understanding of S2Rs is challenging, and requires linking nuanced natural language phrases with specific, semantically related program information. Prior techniques often struggle to form such language to program connections - due to issues in language variability and limitations of information gleaned from program analyses. To more effectively tackle the problem of S2R quality annotation, we propose a new technique called AstroBR, which leverages the language understanding capabilities of LLMs to identify and extract the S2Rs from bug reports and map them to GUI interactions in a program state model derived via dynamic analysis. We compared AstroBR to a related state-of-the-art approach and we found that AstroBR annotates S2Rs 25.2% better (in terms of F1 score) than the baseline. Additionally, AstroBR suggests more accurate missing S2Rs than the baseline (by 71.4% in terms of F1 score).
title Combining Language and App UI Analysis for the Automated Assessment of Bug Reproduction Steps
topic Software Engineering
Machine Learning
url https://arxiv.org/abs/2502.04251