YOUR LINK HERE:
http://youtube.com/watch?v=J8T98bK6yPg
This video explains how to use pmd tool to analyse java code. • links for plugin: https://pmd.sourceforge.io/eclipse/