• DocumentCode
    731492
  • Title

    Mining Android App Usages for Generating Actionable GUI-Based Execution Scenarios

  • Author

    Linares-Vasquez, Mario ; White, Martin ; Bernal-Cardenas, Carlos ; Moran, Kevin ; Poshyvanyk, Denys

  • Author_Institution
    Coll. of William & Mary, Williamsburg, VA, USA
  • fYear
    2015
  • fDate
    16-17 May 2015
  • Firstpage
    111
  • Lastpage
    122
  • Abstract
    GUI-based models extracted from Android app execution traces, events, or source code can be extremely useful for challenging tasks such as the generation of scenarios or test cases. However, extracting effective models can be an expensive process. Moreover, existing approaches for automatically deriving GUI-based models are not able to generate scenarios that include events which were not observed in execution (nor event) traces. In this paper, we address these and other major challenges in our novel hybrid approach, coined as MONKEYLAB. Our approach is based on the Record→Mine→Generate→Validate framework, which relies on recording app usages that yield execution (event) traces, mining those event traces and generating execution scenarios using statistical language modeling, static and dynamic analyses, and validating the resulting scenarios using an interactive execution of the app on a real device. The framework aims at mining models capable of generating feasible and fully replayable (i.e., actionable) scenarios reflecting either natural user behavior or uncommon usages (e.g., corner cases) for a given app. We evaluated MONKEYLAB in a case study involving several medium-to-large open-source Android apps. Our results demonstrate that MONKEYLAB is able to mine GUI-based models that can be used to generate actionable execution scenarios for both natural and unnatural sequences of events on Google Nexus 7 tablets.
  • Keywords
    Android (operating system); data mining; graphical user interfaces; program diagnostics; public domain software; source code (software); system monitoring; Android App usage mining; Android app execution traces; GUI-based model extraction; Google Nexus 7 tablets; MONKEYLAB; Record→Mine→Generate→Validate framework; actionable GUI-based execution scenarios; dynamic analyses; medium-to-large open-source Android apps; natural user behavior; source code; static analyses; statistical language modeling; Analytical models; Androids; Graphical user interfaces; History; Humanoid robots; Testing; Vocabulary; GUI models; language models; mining execution traces and event logs; mobile apps;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Mining Software Repositories (MSR), 2015 IEEE/ACM 12th Working Conference on
  • Conference_Location
    Florence
  • Type

    conf

  • DOI
    10.1109/MSR.2015.18
  • Filename
    7180072