DroidMutator: An Effective Mutation Analysis Tool for Android Applications

Jian Liu, Xusheng Xiao, Lihua Xu, Liang Dou, Andy Podgurski

Research output: Chapter in Book/Report/Conference proceedingConference contribution

4 Scopus citations

Abstract

With the rapid growth of Android devices, techniques that ensure high quality of mobile applications (i.e., apps) are receiving more and more attention. It is well-accepted that mutation analysis is an effective approach to simulate and locate realistic faults in the program. However, there exist few practical mutation analysis tools for Android apps. Even worse, existing mutation analysis tools tend to generate a large number of mutants, hindering broader adoption of mutation analysis, let alone the remaining high number of stillborn mutants. Additionally, mutation operators are usually pre-defined by such tools, leaving users less ability to define specific operators to meet their own needs. To address the aforementioned problems, we propose DROIDMUTATOR, a mutation analysis tool specifically for Android apps with configurability and extensibility. DROIDMUTATOR reduces the number of generated stillborn mutants through type checking, and the scope of mutation operators can be customized so that it only generates mutants in specific code blocks, thus generating fewer mutants with more concentrated purposes. Furthermore, it allows users to easily extend their mutation operators. We have applied DROIDMUTATOR on 50 open source Android apps and our experimental results show that DROIDMUTATOR effectively reduces the number of stillborn mutants and improves the efficiency of mutation analysis.Demo link: Https://github.com/SQS-JLiu/DroidMutatorVideo link: Https://youtu.be/dtD0oTVioHM

Original languageEnglish (US)
Title of host publicationProceedings - 2020 ACM/IEEE 42nd International Conference on Software Engineering
Subtitle of host publicationCompanion, ICSE-Companion 2020
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages77-80
Number of pages4
ISBN (Electronic)9781450371223
DOIs
StatePublished - Oct 2020
Externally publishedYes
Event42nd ACM/IEEE International Conference on Software Engineering: Companion, ICSE-Companion 2020 - Seoul, Korea, Republic of
Duration: Jun 27 2020Jul 19 2020

Publication series

NameProceedings - 2020 ACM/IEEE 42nd International Conference on Software Engineering: Companion, ICSE-Companion 2020

Conference

Conference42nd ACM/IEEE International Conference on Software Engineering: Companion, ICSE-Companion 2020
Country/TerritoryKorea, Republic of
CitySeoul
Period6/27/207/19/20

Keywords

  • Android
  • Mutation analysis
  • Operators

ASJC Scopus subject areas

  • Artificial Intelligence
  • Software
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'DroidMutator: An Effective Mutation Analysis Tool for Android Applications'. Together they form a unique fingerprint.

Cite this