T. Atzenhofer, R. Plösch: Automatically Adding Missing Libraries to Java Projects to Foster Better Results from Static Analysis, 17th IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM 2017), Shanghai, China, September 17-18, 2017 Doi: 10.1109/SCAM.2017.10


The measurement of software quality, including the preparation and management of the necessary resources and
libraries, is a major challenge in continuous software quality measurement and assessment. When applying code analysis tools to a large number of projects, the preparation of the source code and its dependencies, focusing on the completeness of these elements, is the basis for correct analysis results. In order to make this preparation process efficient and effective, there is a need to automate this process. Therefore, we built a tool infrastructure, which automates this preparation and analysis process. As part of the code preparation process, we developed the tool LibLoader, which automatically resolves missing dependencies in open source Java projects. This enables the analysis of complete projects in due time and with more accurate results from static code analysis tools.

Automatically Adding Missing Libraries to Java Projects to Foster Better Results from Static Analysis