Not logged in.

Contribution Details

Type Bachelor's Thesis
Scope Discipline-based scholarship
Title Dependency Usage Analysis
Other Titles A Rarity or widely spread Phenomenon?
Organization Unit
Authors
  • Andy Aidoo
Supervisors
  • Harald Gall
  • Pasquale Salza
  • Carmine Vassallo
Language
  • English
Institution University of Zurich
Faculty Faculty of Business, Economics and Informatics
Date 2021
Abstract Text Software artifacts are frequently reused to efficiently develop software. Build tools greatly sim- plify the usage of dependencies. Previous research mainly focused on the providing aspect of de- pendencies in effort to reduce the size of the dependencies themselves. State of the art build tools currently still package more dependencies than necessary for a build when unused dependencies are declared. We aim to pave the way for further research which focuses on reducing redundantly declared dependencies in build files of Java open-source projects. After having determined a data set of 21 Java open-source projects utilizing Maven or Gradle as build tools, we separate the used from the unused imports, followed by assigning the used imports to their corresponding depen- dency declared in their build files. We attribute the 9% of not assignable imports to the usage of transitive dependencies. 49% of dependencies declared are neither directly or inherently used throughout or sample data. These results give reason to study a larger sample and develop tools that aim to reduce the number of redundant code packaged during a build.
PDF File Download
Export BibTeX