Giter Club home page Giter Club logo

icsme2018replicationpackage's Introduction

How Maintainability Issues of Android Apps Evolve: Replication Package (ICSME 2018)

This repository is a companion page for the paper "How Maintainability Issues of Android Apps Evolve" accepted for publication at the International conference on Software Maintenance and Evolution (ICSME 2018).

It contains all the material required to replicate our analysis, including (i) the raw input data (ii) the statistical analysis scripts, and (iii) the analysis results in form of data, plots, etc. Some additional analyses and results, not included in the paper due to space limitations, are also provided.

Data collection

The data used for this study can be obtained by executing the scripts available here

  1. githubCrawler.py - Mines Github repository for open-source, published apps
  2. fdroidCrawler.py - Mines Fdroid repository for open-source, published apps
  3. Wikipedia data - Manually extracted apps that are published on Google Play and have source code on Github, available here
  4. csvMerger.py - Merges the three sources into one csv
  5. googlePlayPageChecker.py - Identifies the existence of Google Play Store page reported in links in repositories
  6. csvDuplicatesRemover.py - Removes duplicate entries from the csv
  7. androidManifestChecker.py - Filters apps that do not have a corresponding Manifest file
  8. appRootAdder.py - Adds app root folder locations to apps.
  9. appRootFilter.py - Filters the apps for which the root folder could not be identified.

To collect data about snapshot series execute either one of the scripts available here

  1. cloneRepos.py - Snapshot series creation in Python, given a .csv file containing information about apps (with timestamps), creates a snapshot series
  2. processAllSnapshots.sh - Bash script, given a .csv file containing information about apps (with timestamps), creates a snapshot series for each, and clones the required snapshots. Allows for specifying a different time-window and the addition of different static code analysis tools

Dataset .csv files containing the results of the data collection scripts are available here

Analysis replication

The totality of the statistical analysis scripts utilized for the study are available here In order to replicate the analysis of the study (i) clone the repository (git clone https://github.com/s2-group/ICSME2018ReplicationPackage) and (ii) execute the analysis scripts in the following order.

  1. dataLoader.r - Load the .csv files containing the raw data
  2. RQ1_analysis.r - Perform all analysis and plotting processes related to RQ1
  3. RQ2_tsAnalysis.r - Build the time series, their decompositions, and plots (preliminary for the other steps)
  4. RQ2_tsStationality.r - Check and store the stationarity of the time series of each app for each maintainability issue
  5. RQ2_analysis.r - Perform all analysis and plotting activities related to RQ2
  6. RQ3_outlierCommitFilter.r - Identify and filter the commits belonging to maintainability hotspots for each type of maintainability issue
  7. RQ3_analysis.r - Perform all analysis and plotting activities related to RQ3

Raw input Data

The raw input data utilized for the statistical analysis is available here Specifically, the analyzed dataset is composed of the following files:

  • apps.csv - Dataset containing demographic information of the Android application considered
  • commits.csv - Dataset containing the entirety of the commits messages of the applications considered
  • snapshots.csv - Dataset containing the evolutionary data of the application considered, such as the maintainability issue density.

Results and plots

The results produced in order to answer our research question are provided here. The totality of the plots generated during the analysis processes are instead provided here. This includes also diagrams which, due to space limitations, were not included in the paper.

Directory Structure Overview

This reposisory is structured as follows:

ReplicationPackage2018
 .
 |
 |--- analysis/         Input of the algorithms, i.e. fault matrix, coverage information, and BB representation of subjects.
 |      |
 |      |
 |      |--- plots/     Plots generated for the analysis processes. 
 |      |
 |      |--- results/   Raw output data generated from the analysis.
 |
 |
 |--- data/             Raw input data of the analysis processes.
 |
 |--- dataCollection/   Data collection scripts.
 |
 |--- labelledData/     Commits labelled according to the manual labelling process

icsme2018replicationpackage's People

Contributors

iivanoo avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.