Abstract
Testing of Android apps is particularly challenging due to the fragmentation of the Android ecosystem in terms of both devices and operating system versions. Developers must in fact ensure not only that their apps behave as expected, but also that the apps' behavior is consistent across platforms. To support this task, we propose DiffDroid, a new technique that helps developers automatically find cross-platform inconsistencies (CPIs) in mobile apps. DiffDroid combines input generation and differential testing to compare the behavior of an app on different platforms and identify possible inconsistencies. Given an app, DiffDroid (1) generates test inputs for the app, (2) runs the app with these inputs on a reference device and builds a model of the app behavior, (3) runs the app with the same inputs on a set of other devices, and (4) compares the behavior of the app on these different devices with the model of its behavior on the reference device. We implemented DiFFDRoiD and performed an evaluation of our approach on 5 benchmarks and over 130 platforms. our results show that DiFFDRoiD can identify CPis on real apps efficiently and with a limited number of false positives. DiFFDRoiD and our experimental infrastructure are publicly available.
Original language | English (US) |
---|---|
Title of host publication | ASE 2017 - Proceedings of the 32nd IEEE/ACM International Conference on Automated Software Engineering |
Editors | Tien N. Nguyen, Grigore Rosu, Massimiliano Di Penta |
Publisher | Institute of Electrical and Electronics Engineers Inc. |
Pages | 308-318 |
Number of pages | 11 |
ISBN (Electronic) | 9781538626849 |
DOIs | |
State | Published - Nov 20 2017 |
Externally published | Yes |
Event | 32nd IEEE/ACM International Conference on Automated Software Engineering, ASE 2017 - Urbana-Champaign, United States Duration: Oct 30 2017 → Nov 3 2017 |
Publication series
Name | ASE 2017 - Proceedings of the 32nd IEEE/ACM International Conference on Automated Software Engineering |
---|
Other
Other | 32nd IEEE/ACM International Conference on Automated Software Engineering, ASE 2017 |
---|---|
Country/Territory | United States |
City | Urbana-Champaign |
Period | 10/30/17 → 11/3/17 |
Bibliographical note
Funding Information:This work was partially supported by the National Science Foundation under grants CCF-1320783 and CCF-1161821, and by funding from Amazon under the AWS Cloud Credits for Research program, Google, IBM Research, and Microsoft Research
Publisher Copyright:
© 2017 IEEE.