In my pom.xml i have these plugins: checkstyle, pmd and spotbugs. None is running during the lifecycle. Here is my pom: I'm new with the pom, so i ...
In my pom.xml i have these plugins: checkstyle, pmd and spotbugs. None is running during the lifecycle. Here is my pom: I'm new with the pom, so i ...
This is an interesting issue. I have a GitLab project, and I've created a .gitlab-ci.yml to run a PMD that will scan my code after every commit. The c ...
I'm already running up to 4 DPDK processes next to each other without any issues and I can also restart secondary processes successfully. I read here ...
I am getting AvoidDuplicateLiterals pmd violation for using reference "abc" multiple times in different Method source. I stored the "abc" reference ...
I would like to know if this message is correct, when I write in cmd java --version I add it in the path I have some troubles with Salesforc ...
Download instructions say to install to C:\pmd-bin-6.49.0. Can this be copied to "C:\Program Files\pmd-bin-6.49.0" instead? Our network policy general ...
I implementing the Poll Mode Driver(PMD) memif(vdev=net_memif) virtual device in application. Specificly, I have to run memif as a client in secondary ...
We are using codacy for static code analysis. On pushing a change to the js file, where we are declaring a function that returns an object, it is givi ...
I am working on a long running multi-module Maven Java project. I tried to update the PMD plugin from 3.17.0 to 3.18.0, but I get a java.lang.NoSuchMe ...
I am trying to add maven pmd plugin in my codebase. added below code in pom file but not sure where to download the pmd_ruleset.xml file. Actually ...
I am using maven-pmd-plugin, I have added this plugin in my parent pom, I have added some unused variable in my code but still it is not able to throw ...
Having recently been bit by Spring CGLib vs JDK Dynamic proxying issues in a Spring Boot application (that when run on a Mac seems to use CGLib where ...
Well I have the Node, and I can get what class Name it in, but I cannot get package of this class. Is there any way to achieve this? Thanks! BTW: I ...
I write a rule for xml, and it can find the line matched of xml. xml: xpath expression: But in the report, PMD does not provide any value of t ...
I want to have a pmd rule for my java project which will disallow field injections in Spring(want to use injection by constructor instead). is there a ...
During working on project arch4u-pmd we made several java-based pmd rules, configured them in XML-based ruleset our-rules.xml, and published it as a p ...
Does anyone know the name of the PMD rule or Spot bugs detector which catches connection leaks like one here both pmd and spot bugs seem to miss it ...
In our organizations we've got several microservices and lots of libraries. Some libraries define "public" classes that are not intended for public u ...
I'm trying to refactor this code cause PMD throwing Failure:PreserveStackTrace:3, the main problem is how I can collapse exception e1 into e2, is it a ...
I am using the eclipse-pmd plugin, and I am also using PMD via the following Gradle configuration: Both methods are configured to use the same rule ...