The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

io/wcm/caravan/io/http/impl/CaravanHttpServiceConfig.java
Rule Violation Line
SimplifyConditional No need to check for null before an instanceof 239
io/wcm/caravan/io/http/impl/ribbon/SimpleLoadBalancerFactory.java
Rule Violation Line
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 50
io/wcm/caravan/io/http/impl/servletclient/HttpServletRequestMapper.java
Rule Violation Line
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 88
io/wcm/caravan/io/http/request/CaravanHttpRequestBuilder.java
Rule Violation Line
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 55

Priority 5

io/wcm/caravan/io/http/impl/CaravanHttpServiceConfig.java
Rule Violation Line
InvalidLogMessageFormat Missing arguments, expected 5 arguments but have 4 335
io/wcm/caravan/io/http/impl/CaravanHttpServiceConfigValidator.java
Rule Violation Line
InvalidLogMessageFormat Too many arguments, expected 0 argument but have 1 63
io/wcm/caravan/io/http/impl/CaravanHttpThreadPoolConfig.java
Rule Violation Line
InvalidLogMessageFormat Too many arguments, expected 0 argument but have 1 109

Files

io/wcm/caravan/io/http/impl/CaravanHttpServiceConfig.java

Rule Violation Priority Line
SimplifyConditional No need to check for null before an instanceof 3 239
InvalidLogMessageFormat Missing arguments, expected 5 arguments but have 4 5 335

io/wcm/caravan/io/http/impl/CaravanHttpServiceConfigValidator.java

Rule Violation Priority Line
InvalidLogMessageFormat Too many arguments, expected 0 argument but have 1 5 63

io/wcm/caravan/io/http/impl/CaravanHttpThreadPoolConfig.java

Rule Violation Priority Line
InvalidLogMessageFormat Too many arguments, expected 0 argument but have 1 5 109

io/wcm/caravan/io/http/impl/ribbon/SimpleLoadBalancerFactory.java

Rule Violation Priority Line
AvoidCatchingNPE Avoid catching NullPointerException; consider removing the cause of the NPE. 3 50

io/wcm/caravan/io/http/impl/servletclient/HttpServletRequestMapper.java

Rule Violation Priority Line
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 88

io/wcm/caravan/io/http/request/CaravanHttpRequestBuilder.java

Rule Violation Priority Line
AvoidStringBufferField StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 3 55

Back to top

Version: 0.10.1-SNAPSHOT. Last Published: 2024-03-21.