Skip to main navigation Skip to search Skip to main content

Identifying and characterizing silently-evolved methods in the android API

Pei Liu, Li Li, Yichun Yan, Mattia Fazzini, John Grundy

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

With over 500,000 commits and more than 700 contributors, the Android platform is undoubtedly one of the largest industrial-scale software projects. This project provides the widely known Android API, which facilitates the development of Android apps. Unfortunately, because the Android platform and its API evolve at an extremely rapid pace, app developers need to continually monitor API changes to avoid compatibility issues in their apps (i.e their apps do not work as expected when running on the new version of the API). Despite a large number of studies on compatibility issues in the Android API, the research community has not yet investigated issues related to silently-evolved methods (SEMs). These methods are functions whose behavior might have changed but the corresponding documentation did not change accordingly. Because app developers rely on the provided documentation to evolve their apps, changes to methods that are not suitably documented may lead to unexpected runtime issues in the apps using these methods. To fill this gap, we conducted a large-scale empirical study in which we identified and characterized SEMs across 10 versions of the Android API. In the study, we identified SEMs, characterized the nature of the changes, and analyzed the impact of SEMs on a set of 1,000 real-world Android apps. Our experimental results show that SEMs do exist in the Android framework, and that 957 of the apps we considered use at least one SEM. Based on these results, we argue that the Android platform developers should take actions to avoid introducing silently-evolved methods, especially those involving semantic changes. This situation highlights the need for automated techniques and tools to help Android practitioners in this task.

Original languageEnglish
Title of host publicationProceedings - 2021 IEEE/ACM 43rd International Conference on Software Engineering
Subtitle of host publicationSoftware Engineering in Practice, ICSE-SEIP 2021
EditorsSigrid Eldh, Davide Falessi
Place of PublicationPiscataway NJ USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages308-317
Number of pages10
ISBN (Electronic)9780738146690
ISBN (Print)9781665438698
DOIs
Publication statusPublished - 2021
EventInternational Conference on Software Engineering 2021: Software Engineering in Practice - Online, Madrid, Spain
Duration: 25 May 202128 May 2021
Conference number: 43rd
https://ieeexplore-ieee-org.ezproxy.lib.monash.edu.au/xpl/conhome/9401806/proceeding (Proceedings)

Publication series

NameProceedings - International Conference on Software Engineering
PublisherThe Institute of Electrical and Electronics Engineers, Inc.
ISSN (Print)0270-5257

Conference

ConferenceInternational Conference on Software Engineering 2021
Abbreviated titleICSE-SEIP 2021
Country/TerritorySpain
CityMadrid
Period25/05/2128/05/21
OtherTrack within the International Conference on Software Engineering
Internet address

Cite this