On the adoption, usage and evolution of Kotlin Features on Android development

07/21/2019
by   Bruno Gois Mateus, et al.
0

Context: Currently, more than 2 million applications are published on Google Play, the official store of Android applications, which makes the Android platform the largest mobile platform. Although the majority of Android application has been written in Java, since 2017 when Google announced Kotlin as an official programming language of the Android platform, developers have an option of write applications using Kotlin, that combines object-oriented and functional features. Objective: The goal of this paper is to understand the usage of Kotlin features. Particularly, we interested in four aspects of features usage: i) which features are adopted, ii) what is the degree of adoption, iii) when these features are added into the Android applications for the first time, iv) which are the features first introduced, and v) how the usage of features evolves along with applications' evolution. Method: To analyze the usage of Kotlin features, we inspect the source code of Kotlin application. To study how a feature is used along the life-cycle of a given mobile application, we identify the Kotlin features used on each version of that application. We also compute the moment that each feature is used for the first time. Finally, we identify the evolution trend that better describes that usage of a given feature. Results: Our experiment showed that 15 out of 19 features are used on at least 50 type inference, lambda and safe call are the most used features, being found on 98 used Kotlin features are those first used on Android applications. Finally, we reported that the majority of applications tend to increase the number of instances of 18 out of 19 studied features along with the evolution of Android applications.

READ FULL TEXT
research
07/31/2018

An Empirical Study on Quality of Android Applications written in Kotlin language

Context: During the last years, developers of mobile applications have t...
research
08/18/2019

Characterizing the transition to Kotlin of Android apps: a study on F-Droid, Play Store and GitHub

Kotlin is a novel language that represents an alternative to Java, and h...
research
09/26/2018

Datasets of Android Applications: a Literature Review

Mobile phones and tablets have become the most widely used computing dev...
research
10/20/2021

A Cross-Platform Mobile Application for Ambulance CPR during Cardiac Arrests

This paper describes the implementation of a crossplatform software appl...
research
04/06/2020

SecureIT using Firebase, Google map and Node.Js

This paper is about describing the features of a software that was devel...
research
03/17/2021

An experience-based recommendation system to support migrations of Android applications from Java to Kotlin

In 2017, Google announced Kotlin as an official Android programming lang...
research
05/20/2021

KotlinDetector: Towards Understanding the Implications of Using Kotlin in Android Applications

Java programming language has been long used to develop native Android m...

Please sign up or login with your details

Forgot password? Click here to reset