Verifying the quality and completeness of deposited software projects is a complex task because the sources that build the basis of the software can be extensive. A human technical reviewer could need many hours to go through all of the artifacts to evaluate them, which can be an essential cost factor. Thus a framework is proposed that supports the verification by automatically evaluating the artifacts and reporting parts that need to be examined manually.
The prototype implementation for the verification framework is based on Sonar, a framework for continuous quality inspection of software. Sonar determines common software quality metrics and checks the compliance to a set of predefined rules of software projects. To meet the requirements of escrow agents our prototype extends Sonar using custom plugins that aim to support the process of inspecting the software and detect quality issues. This is done by highlighting parts for which different metrics assume low quality, but also by checking the conformance to predefined rules.
Further information about software escrow and the software escrow framework can be found on: http://www.sba-research.org/research/projects/software-escrow/.
In the following screenshot the results that have been calculated by the verification framework running on an exemplary open source project that is written in Java are shown.
For most of the issues listed in the custom rules table it is possible to drill down the issue to the actual source file or even line of code. This can be seen in the second screenshot.
The Software Escrow framework is licensend under the Apache License Version 2.0. Show License Hide License
The research prototype is available as Debian package and can be installed on Debian-based operating systems using following commands:
# add the sonar-escrow repository sudo sh -c ‘echo “deb http://olymp.ifs.tuwien.ac.at/apt nightly main #IFS/Vienna University of Technology” >>/etc/apt/sources.list.d/ifs-Vienna.list’ && sudo apt-get –quiet update && sudo apt-get –yes –quiet –allow-unauthenticated install olymp-keyring && sudo apt-get –quiet update # install sonar-escrow sudo apt-get install sonar-escrow
The prototype can be started by calling “sudo service sonar start”, which after a few seconds allows using the web UI (http://localhost:9000) and API of Sonar. The configuration can either be done per project in the configuration file of the Sonar client (e.g. sonar-project.properties for the Sonar Java Runner) or globally through the admin UI (Settings / Configuration). Widgets for the web UI are an exception, they can only be added and configured through the web UI (Dashboard / Configure widgets).
Further information about the installation and usage can be found on: http://www.sba-research.org/research/projects/software-escrow/.