Source code analysis tools
Identify violations in code.
PMD
Programming Mistake Detector
Configure PMD with rules prior to use
Configuration
Through >window > preferences > PMD > Rule configuration > select default existing rules > click on import rule set > import by copy > select rules and click okay
Configured PMD RULES
Class naming: Pascal case Variable naming: camal case Method naming: camal case Package case: lowercase System.out.PrintIn should only be in main method Unused imports should not be present