The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 2

io/wcm/handler/url/rewriter/impl/UrlExternalizerTransformerConfig.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 57
GuardLogStatement Logger calls should be surrounded by log level guards. 60

Priority 3

io/wcm/handler/url/impl/clientlib/ClientlibPathCache.java

Rule Violation Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 77
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 84
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 90

io/wcm/handler/url/impl/clientlib/ClientlibProxyRewriterImpl.java

Rule Violation Line
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 49

io/wcm/handler/url/rewriter/impl/UrlExternalizerTransformer.java

Rule Violation Line
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 113

io/wcm/handler/url/suffix/FilteringSuffixStateStrategy.java

Rule Violation Line
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 5764

io/wcm/handler/url/ui/SiteRoot.java

Rule Violation Line
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 109

Priority 4

io/wcm/handler/url/rewriter/impl/UrlExternalizerTransformerConfig.java

Rule Violation Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 51

Files

io/wcm/handler/url/impl/clientlib/ClientlibPathCache.java

Rule Violation Priority Line
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 77
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 84
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 90

io/wcm/handler/url/impl/clientlib/ClientlibProxyRewriterImpl.java

Rule Violation Priority Line
SignatureDeclareThrowsException A method/constructor should not explicitly throw java.lang.Exception 3 49

io/wcm/handler/url/rewriter/impl/UrlExternalizerTransformer.java

Rule Violation Priority Line
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 113

io/wcm/handler/url/rewriter/impl/UrlExternalizerTransformerConfig.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 51
GuardLogStatement Logger calls should be surrounded by log level guards. 2 57
GuardLogStatement Logger calls should be surrounded by log level guards. 2 60

io/wcm/handler/url/suffix/FilteringSuffixStateStrategy.java

Rule Violation Priority Line
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 5764

io/wcm/handler/url/ui/SiteRoot.java

Rule Violation Priority Line
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 109

Back to top

Version: 1.3.3-SNAPSHOT. Last Published: 2019-12-04.