Automatically Extracting Bug Reproducing Steps from Android Bug Reports

Yu Zhao, Kye Miller, Tingting Yu, Wei Zheng, Minchao Pu

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

16 Scopus citations

Abstract

Many modern software projects use bug-tracking systems (e.g., Bugzilla, Google Code Issue Tracker) to track software issues and help developers reproduce these issues. There has been recent work on automatically translating the natural language text (i.e., steps to reproduce) of bug reports to reproducing scripts, targeted at Android apps, to facilitate app debugging process. The scripts describe the event sequences leading to the app issues and thus can be reused for testing newer versions of the apps. However, existing techniques require manually providing the text description of steps to reproduce for generating reproducing scripts, which is a non-trivial task because natural language text in bug reports can be complex and contain much information irrelevant for bug reproduction. In this paper, we propose an approach that can automatically extract the text description of steps to reproduce (S2R) from bug reports to advance automated software issue diagnosis and test script reuse. The approach is implemented as a tool, called S2RMiner, which combines HTML parsing, natural language processing, and machine learning techniques. We have evaluated S2RMiner on 1000 original Android bug reports. The results show that S2RMiner can extract S2R with high accuracy.

Original languageEnglish
Title of host publicationReuse in the Big Data Era - 18th International Conference on Software and Systems Reuse, ICSR 2019, Proceedings
EditorsXin Peng, Apostolos Ampatzoglou, Tanmay Bhowmik
Pages100-111
Number of pages12
DOIs
StatePublished - 2019
Event18th International Conference on Software and Systems Reuse, ICSR 2019 - Cincinnati, United States
Duration: Jun 26 2019Jun 28 2019

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume11602 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference18th International Conference on Software and Systems Reuse, ICSR 2019
Country/TerritoryUnited States
CityCincinnati
Period6/26/196/28/19

Bibliographical note

Publisher Copyright:
© 2019, Springer Nature Switzerland AG.

Funding

in part by the NSF grant CCF-

FundersFunder number
National Science Foundation (NSF)
California Community Foundation

    Keywords

    • Android apps
    • Bug reports
    • Steps to reproduce

    ASJC Scopus subject areas

    • Theoretical Computer Science
    • General Computer Science

    Fingerprint

    Dive into the research topics of 'Automatically Extracting Bug Reproducing Steps from Android Bug Reports'. Together they form a unique fingerprint.

    Cite this