-
Automating Parts of the Peer Review – Part 2! Adding Maven PMD Plugin
Different static code analysis plugins will catch different issues. As long as we are now slowing down the build too much, we may still benefit from also adding the maven-pmd-plugin to the build as an additional quality gate.
-
Automating Parts of the Peer Review – Part 1! Adding SpotBugs Maven Plugin for Static Code Analysis
A static code analysis tool, like spotbugs-maven-plugin will not replace an actual peer review, but it may help reduce the load that peer reviewers carry in the analysis. Anyone can make a mistake and it may help engineers write better code in the future.
-
Javadoc – Generating Automated documentation
Imagine having documentation generated for you as you do each build. You can use it locally or share it with any other developers using your project as a dependency.
-
Style Matters! Adding a Checkstyle Build Breaker (Quality Gate)
Style may not matter to the Java compiler, but it does matter to future you and the other developers on your team. By establishing a consistent set of expectations that are enforced in the build, we can save time during peer reviews and future troubleshooting sessions.
-
JaCoCo – Java Code Coverage
We have a unit test that works some of our application’s code, but how much is really exercised during our build? Are we confident in our unit testing based upon how much of our code is covered? Enter the jacoco-maven-plugin.