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.
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.