Title
Characterizing the transition to Kotlin of Android apps - a study on F-Droid, Play Store, and GitHub.
Abstract
Context: Kotlin is a novel language that represents an alternative to Java, and has been recently adopted as a first-class programming language for Android applications. Kotlin is achieving a significant diffusion among developers, and several studies have highlighted various advantages of the language when compared to Java. Goal: The objective of this paper is to analyze a set of open-source Android apps, to evaluate their transition to the Kotlin programming language throughout their lifespan and understand whether the adoption of Kotlin has impacts on the success of Android apps. Methods: We mined all the projects from the F-Droid repository of Android open-source applications, and we found the corresponding projects on the official Google Play Store and on the GitHub platform. We defined a set of eight metrics to quantify the relevance of Kotlin code in the latest update and through all releases of an application. Then, we statistically analyzed the correlation between the presence of Kotlin code in a project and popularity metrics mined from the platforms where the apps were released. Results: Of a set of 1232 projects that were updated after October 2017, near 20% adopted Kotlin and about 12% had more Kotlin code than Java; most of the projects that adopted Kotlin quickly transitioned from Java to the new language. The projects featuring Kotlin had on average higher popularity metrics; a statistically significant correlation has been found between the presence of Kotlin and the number of stars on the GitHub repository. Conclusion: The Kotlin language seems able to guarantee a seamless migration from Java for Android developers. With an inspection on a large set of open-source Android apps, we observed that the adoption of the Kotlin language is rapid (when compared to the average lifespan of an Android project) and seems to come at no cost in terms of popularity among the users and other developers.
Year
DOI
Venue
2019
10.1145/3340496.3342759
WAMA@ESEC/SIGSOFT FSE
Keywords
DocType
ISBN
App Market Analytics, Mobile Development, Kotlin, Java, Software Maintenance, Empirical Software Engineering
Conference
978-1-4503-6858-2
Citations 
PageRank 
References 
7
0.49
0
Authors
3
Name
Order
Citations
PageRank
Riccardo Coppola1426.54
Luca Ardito25810.83
M. Torchiano3216.23