CQUniversity
Browse

File(s) not publicly available

Analyzing the impact of API changes on Android apps

journal contribution
posted on 2024-06-10, 00:29 authored by T Mahmud, Meiru Che, G Yang
The continuous evolution of Android mobile operating system leads to regular updates to its APIs, which may compromise the functionality of Android apps. Given the high frequency of Android API updates, analyzing the impact of API changes is vital to ensure the high reliability of Android apps. This paper introduces APICIA, a novel approach to analyzing the impact of API changes on Android apps. APICIA investigates the impact of changing the target API and identifies the affected program elements (i.e., classes, methods, and statements), the affected tests whose executions may exhibit changed behaviors as a result of the API update, as well as the app code that is not covered by the existing tests. We evaluate APICIA on 219 real-world Android apps. According to the results, API changes impact 46.30% of tests per app on average, and regression test selection based on APICIA can be cost effective. Moreover, many affected statements are not covered by existing tests, which indicates APICIA can help with test suite augmentation to achieve better coverage. These findings suggest that APICIA is a promising approach for assisting Android developers with understanding, testing, and debugging Android apps that are subject to rapid API updates.

Funding

Category 2 - Other Public Sector Grants Category

History

Volume

200

Start Page

1

End Page

19

Number of Pages

19

eISSN

1873-1228

ISSN

0164-1212

Publisher

Elsevier BV

Language

en

Peer Reviewed

  • Yes

Open Access

  • No

Acceptance Date

2023-02-23

Era Eligible

  • Yes

Journal

Journal of Systems and Software

Article Number

111664

Usage metrics

    CQUniversity

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC