O'Reilly logo

Apache Maven 3 Cookbook by Srirangan

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

Generating code quality reports

There is good code, and then there is "good code". Presumably, there is a high level of understanding in your team and everyone agrees on common conventions and standards for code quality.

Once we’ve reached this agreement as a team, we must make sure all team members adhere to it as the code base of your projects evolves over time.

Checkstyle is a Java development tool to help developers adhere to coding standards. The Maven Checkstyle plugin http://maven.apache.org/plugins/maven-checkstyle-plugin/ allows developers to generate reports regarding the "code style" implemented by the team in the project source code.

The Maven Checkstyle plugin introduces two goals:

  • checkstyle:checkstyle: Performs analysis and generates ...

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