Appendix 2.  Tutorial - Java

This is a step-by-step tutorial illustrating the analysis of the Open Source project Apache Cassandra. It will be demonstrated how to setup the workspace and quickly get an overview of the state of software quality. Some issues are reported by Sonargraph right away without further configuration and it will be shown how to analyse cyclic dependencies and duplicate code blocks. Sonargraph also allows to easily analyse the dependency structure in more detail. Next it is illustrated how the GroovyScript API can be used to monitor virtually anything that can be detected via static code analysis. The last chapter shows how you can share the results of the analysis.

This tutorial is intentionally kept as short as possible. For more detailed information about certain functionality, links are provided that will steer you to the corresponding chapters of the user manual.