Following video was created to give you a fundamental knowledge on Java static code analysis. I give a brief introduction to static code analysis and why we need them and an overview of popular static analysis tools. Finally, I have demonstrated a real time integration of static code analysis for a Springboot Gradle project. You should have a basic knowledge on Programming, specially Java, Spring and Gradle to understand the context of this video.

Video by Hafeez Marzuk

Demo project url

https://github.com/hafeez1988/hm-java-code-analysis-demo

Checkstyle configuration url

https://checkstyle.sourceforge.io/config.html

PMD rulesets

https://github.com/pmd/pmd/tree/83bb14e28e576eafa780bc0f6982b1a78b823c60/pmd/src/main/resources/rulesets/java