Summary

This chapter explained the static code analysis and code quality attributes in depth. It covered the SonarQube code quality dashboard, static code analysis using Eclipse plugins, the Sonar runner and build scripts such as Ant, Maven, and Gradle, and code quality tools such as PMD, Checkstyle, and FindBugs.

By now, the reader will be able to configure the Sonar dashboard, set up Eclipse plugins, and configure Sonar runner and build scripts to analyze code quality using PMD, FindBugs, and Checkstyle.

The next chapter will cover the unit testing web tier code with mock objects.

Get Mastering Unit Testing Using Mockito and JUnit 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.