ToughTechs151 / robot-template

Template for Tough Techs robots.
Other
1 stars 0 forks source link

Enable use of PMD static code analysis tool. #10

Open blu28 opened 1 year ago

blu28 commented 1 year ago

PMD is a complement of "SpotBugs". Spotbugs analyses byte code, but PMD analyses source code. Because of their different approaches, they are good at finding different classes of bugs. It would be great if we can use them both.

There is a VSCode extension called "Java PMD" which may do what we want, but it would be good to have it run in a build gradle task the same way spotbugs does as well.