O'Reilly logo

Apache Maven Cookbook by Raghuram Bharathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Code Quality Plugins

In this chapter, we will review some of the available tools for the Java language and how to use them in the context of Maven. We will cover the following recipes:

  • Analyzing code coverage with the Maven JaCoCo plugin
  • Analyzing code coverage with the Maven Cobertura plugin
  • Analyzing code with the Maven PMD plugin
  • Analyzing code with the Maven Checkstyle plugin
  • Analyzing code with the Maven FindBugs plugin
  • Generating source references with the Maven JXR plugin
  • Analyzing code with the Maven SonarQube plugin

Introduction

It is one thing to write code and another to write good code. The subjectivity of code quality is greatly reduced by having coding guidelines/standards. Whether a developer follows coding standards or not can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required