Summary

In this chapter, we covered all three methods that the Sonar platform offers to analyze projects such as Maven, Ant, and Java Runners. We configured the Sonar server and its MySQL database to accept remote connections, and installed and configured the Maven and Ant build tools. To test the set up, we downloaded and imported some popular open source libraries into Sonar for Sonar inspection.

With some projects already analyzed, we went through the Sonar web interface from the home page, down to components and project dashboard. We created a custom filter to help us track lack of test coverage across all projects and further customized the dashboard by adding widgets and rearranging the layout. Towards the end of the chapter, we eliminated ...

Get Sonar Code Quality Testing Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.