Print Email Facebook Twitter How to remove dependencies from large software projects with confidence Title How to remove dependencies from large software projects with confidence Author Chuang, Ching Chi (TU Delft Electrical Engineering, Mathematics and Computer Science) Contributor Cruz, Luis (mentor) van Deursen, A. (graduation committee) Lofi, C. (graduation committee) van Dalen, Robbert (mentor) Mikovsk, Vladimir (graduation committee) Degree granting institution Delft University of Technology Programme Electrical Engineering | Embedded Systems Date 2022-08-31 Abstract Dependency management is an important task in software maintenance. However, identifying and removing unused dependencies takes a lot of effort from developers as existing tools may discover many false positives which are challenging to distinguish. This paper proposes a decision framework to improve unused dependency detection. It is applied to an industrial Maven project. Firstly, OPAL(a call graph tool) augments the call graph of a dependency analysis tool DepClean to support dynamic features of Java. Secondly, the classification of the relationship between dependencies simplifies the comprehension of an unused dependency. Thirdly, a decision process prioritizes the test of removing unnecessary dependencies. Results show that developers can focus their efforts on maintaining bloated dependencies by following the recommendation of the proposed decision process. It is particularly noteworthy that this decision framework helps reduce one-third of false positives of unused dependencies in a given industrial Maven project. In addition, our suggestions are compared to the motive of removing dependencies in three open-source Maven projects. Results indicate that our advice is consistent in the reasoning behind removing dependencies. Hence, this work reduces the effort for developers to decide on dependency elimination. Subject unused dependenciescall graph generationstatic analysis To reference this document use: http://resolver.tudelft.nl/uuid:b2985d05-8663-4247-9678-ee8b5bba12ad Part of collection Student theses Document type master thesis Rights © 2022 Ching Chi Chuang Files PDF Ching_Chi_MSc_Thesis_20220831.pdf 2.68 MB Close viewer /islandora/object/uuid:b2985d05-8663-4247-9678-ee8b5bba12ad/datastream/OBJ/view