Dataset Open Access

Replication package for "How does Migrating to Kotlin Impact the Run-time Efficiency of Android Apps?"

Michael Peters; Gian Luca Scoccia; Ivano Malavolta

Replication Package

This section briefly describes the contents of the replication package, which makes it possible to replicate this study.

Dataset construction: The recreation of the GitLab AndroidTimeMachine instance is done using the snapshot related code found in the Kotlin program. This program uses a running instance of the AndroidTimeMachine’s Neo4j database and uses its data to make API calls to a running GitLab instance which imports the GitHub projects found. This step can be skipped, and a GitLab instance can be instantiated directly using our created Docker volumes. The is also capable of performing the Kotlin filtering steps. For this, it uses the results of the previous steps as input and clones each repository for performing the filtering procedure.

SLOC counting: SLOC counting related scripts are found in and implement our methods by cloning the project and running CLOC. It also plots the line graphs that we manually categorized into evolution trends. The raw SLOC data is found in , and all of the plotted evolution trends are found in.

Kotlin migration mining: The implementation for mining is located in , and implements our methods by cloning a repository from the running GitLab instance and executing described methods. All commits we found are located in.

Run-time efficiency: As mentioned in the thesis, we used AndroidRunner. A fork of AndroidRunner we used for conducting our experiments is located in . In the folder , each configuration combined with raw results is found per test subject. The final data we used after removing corrupt frame times is located in the folder, which also contains . This python script implements our statistical analysis methods.

Files (109.7 MB)
Name Size
AndroidJavaKotlinSlocCounter.zip
md5:6f4b5aac009901047f000b02987c30b3
22.5 MB Download
AndroidKotlinMigrationFinder.zip
md5:6c5229d2d1d4462af1a14a985d6992e6
10.8 MB Download
AndroidTimeMachineKotlinFilter.zip
md5:2dc05e82ff63e4ceace812c348b2bad0
22.4 MB Download
forked-android-runner.zip
md5:322fb5493e58df5d8bd958cff7366c82
27.8 MB Download
README.md
md5:a080193c05f9f122fde31ca7793c8196
1.7 kB Download
statistical_analysis.zip
md5:5a97bd9a641ffeda67ef4f236e958388
3.0 MB Download
visuals.zip
md5:2b14f59a55694e58f9843479b6cca7b3
23.2 MB Download
25
1
views
downloads
All versions This version
Views 2525
Downloads 11
Data volume 3.0 MB3.0 MB
Unique views 2424
Unique downloads 11

Share

Cite as