Testing Cross-Platform Mobile App Development Frameworks

被引:8
|
作者
Boushehrinejadmoradi, Nader [1 ]
Ganapathy, Vinod [1 ]
Nagarakatte, Santosh [1 ]
Iftode, Liviu [1 ]
机构
[1] Rutgers State Univ, Dept Comp Sci, New Brunswick, NJ 08901 USA
基金
美国国家科学基金会;
关键词
D O I
10.1109/ASE.2015.21
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mobile app developers often wish to make their apps available on a wide variety of platforms, e.g., Android, iOS, and Windows devices. Each of these platforms uses a different programming environment, each with its own language and APIs for app development. Small app development teams lack the resources and the expertise to build and maintain separate code bases of the app customized for each platform. As a result, we are beginning to see a number of cross-platform mobile app development frameworks. These frameworks allow the app developers to specify the business logic of the app once, using the language and APIs of a home platform (e.g., Windows Phone), and automatically produce versions of the app for multiple target platforms (e.g., iOS and Android). In this paper, we focus on the problem of testing cross-platform app development frameworks. Such frameworks are challenging to develop because they must correctly translate the home platform API to the (possibly disparate) target platform API while providing the same behavior. We develop a differential testing methodology to identify inconsistencies in the way that these frameworks handle the APIs of the home and target platforms. We have built a prototype testing tool, called X-Checker, and have applied it to test Xamarin, a popular framework that allows Windows Phone apps to be cross-compiled into native Android (and iOS) apps. To date, X-Checker has found 47 bugs in Xamarin, corresponding to inconsistencies in the way that Xamarin translates between the semantics of the Windows Phone and the Android APIs. We have reported these bugs to the Xamarin developers, who have already committed patches for twelve of them.
引用
下载
收藏
页码:441 / 451
页数:11
相关论文
共 50 条
  • [1] A Case Study of Combining Two Cross-platform Development Frameworks for Storybook Mobile App
    Seo, Beomjoo
    KSII TRANSACTIONS ON INTERNET AND INFORMATION SYSTEMS, 2023, 17 (12): : 3345 - 3363
  • [2] Analysis of Cross-Platform Mobile App Development Tools
    Shah, Kewal
    Sinha, Harsh
    Mishra, Payal
    2019 IEEE 5TH INTERNATIONAL CONFERENCE FOR CONVERGENCE IN TECHNOLOGY (I2CT), 2019,
  • [3] Cross-platform mobile app development: the IscteSpots experience
    de Almeida, Joao Cambaia
    Brito e Abreu, Fernando
    de Almeida, Duarte Sampaio
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS, ASEW, 2023, : 11 - 16
  • [4] An Overview of Modern Cross-platform Mobile Development Frameworks
    Stanojevic, Jelica
    Sosevic, Uros
    Minovic, Miroslav
    Milovanovic, Milos
    CENTRAL EUROPEAN CONFERENCE ON INFORMATION AND INTELLIGENT SYSTEMS, CECIIS 2022, 2022, : 489 - 497
  • [5] Comprehensive Analysis of Innovative Cross-Platform App Development Frameworks
    Majchrzak, Tim A.
    Biorn-Hansen, Andreas
    Gronli, Tor-Morten
    PROCEEDINGS OF THE 50TH ANNUAL HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES, 2017, : 6162 - 6171
  • [6] An Evaluation of Cross-Platform Frameworks for Multimedia Mobile Applications Development
    Ferreira, Cristiane M. S.
    Peixoto, Maria J. P.
    Duarte, Paulo A. S.
    Torres, Andrei B. B.
    Silva Junior, Messias L.
    Rocha, Lincoln S.
    Viana, Windson
    IEEE LATIN AMERICA TRANSACTIONS, 2018, 16 (04) : 1206 - 1212
  • [7] Evaluating the performance of Android based Cross-Platform App Development Frameworks
    Mahendra, Mohammad
    Anggorojati, Bayu
    2020 6TH INTERNATIONAL CONFERENCE ON COMMUNICATION AND INFORMATION PROCESSING, ICCIP 2020, 2020, : 32 - 37
  • [8] Developing Accessible Mobile Applications with Cross-Platform Development Frameworks
    Mascetti, Sergio
    Ducci, Mattia
    Cantu, Niccolo
    Pecis, Paolo
    Ahmetovic, Dragan
    23RD INTERNATIONAL ACM SIGACCESS CONFERENCE ON COMPUTERS AND ACCESSIBILITY, ASSETS 2021, 2021,
  • [9] An empirical analysis of energy consumption of cross-platform frameworks for mobile development
    Ciman, Matteo
    Gaggi, Ombretta
    PERVASIVE AND MOBILE COMPUTING, 2017, 39 : 214 - 230
  • [10] An empirical investigation of performance overhead in cross-platform mobile development frameworks
    Biorn-Hansen, Andreas
    Rieger, Christoph
    Gronli, Tor-Morten
    Majchrzak, Tim A.
    Ghinea, Gheorghita
    EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (04) : 2997 - 3040