Skip to main content
QUICK REVIEW

[Paper Review] DroidBugs: An Android Benchmark for Automatic Program Repair.

Larissa Azevedo, Altino Dantas|arXiv (Cornell University)|Sep 19, 2018
Software Testing and Debugging TechniquesComputer Science7 references4 citations
TL;DR

DroidBugs is a novel Android benchmark comprising 13 single-bugs from 5 open-source Android apps with 5,000+ downloads each, designed to evaluate Automated Program Repair (APR) techniques in mobile contexts. Using Astor4Android and two fault localization strategies, the study demonstrates the challenge of detecting and fixing mobile-specific bugs, highlighting the need for mobile-optimized APR tools.

ABSTRACT

Automated Program Repair (APR) is an emerging research field. Many APR techniques, for different programming language and platforms, have been proposed and evaluated on several Benchmarks. However, for our best knowledge, there not exists a well-defined benchmark based on mobile projects, consequently, there is a gap to leverage APR methods for mobile development. Therefore, regarding the amount of Android Applications around the world, we present DroidBugs, an introductory benchmark based on the analyzes of 360 open projects for Android, each of them with more than 5,000 downloads. From five applications, DroidBugs contains 13 single-bugs classified by the type of test that exposed them. By using an APR tool, called Astor4Android, and two common Fault Localization strategy, it was observed how challenging is to find and fix mobile bugs.

Motivation & Objective

  • Address the lack of standardized benchmarks for evaluating Automated Program Repair (APR) techniques in Android applications.
  • Identify and classify real-world bugs in popular, production-grade Android projects to support APR research.
  • Assess the feasibility and difficulty of applying existing APR tools and fault localization strategies to mobile software.
  • Establish a foundation for future research in mobile-specific program repair by providing a well-defined, reproducible benchmark.

Proposed method

  • Analyzed 360 open-source Android projects with over 5,000 downloads to identify candidate applications for the benchmark.
  • Selected five representative Android applications to include in DroidBugs based on popularity and codebase stability.
  • Identified and classified 13 individual bugs in the selected apps, categorized by the type of test that revealed each bug.
  • Applied the Astor4Android tool to automatically generate patches for the identified bugs.
  • Employed two common fault localization strategies to guide the repair process and assess precision in bug localization.
  • Evaluated the effectiveness of APR techniques in the context of mobile applications using real-world codebases and actual bugs.

Experimental results

Research questions

  • RQ1How effective are existing APR techniques in detecting and fixing bugs in real-world Android applications?
  • RQ2What is the difficulty level of localizing and repairing bugs in Android apps using standard fault localization strategies?
  • RQ3To what extent can current APR tools like Astor4Android successfully generate correct patches for mobile-specific bugs?
  • RQ4How representative and challenging are the identified bugs in terms of real-world Android development complexity?

Key findings

  • The benchmark contains 13 well-defined, single-bug instances extracted from five popular Android applications, each with over 5,000 downloads.
  • The application of Astor4Android to the DroidBugs benchmark revealed significant challenges in generating correct patches, indicating the difficulty of mobile-specific repair.
  • Two fault localization strategies were applied, but their effectiveness in pinpointing the exact faulty code in Android projects was limited, highlighting the complexity of mobile codebases.
  • The results demonstrate that current APR techniques face substantial hurdles when applied to real Android projects, underscoring the need for mobile-optimized repair approaches.
  • The study confirms that existing benchmarks are insufficient for evaluating APR in mobile contexts, validating the necessity of DroidBugs as a targeted solution.
  • The benchmark is designed to be extensible and reproducible, enabling future evaluation and comparison of APR tools on Android platforms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.