The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 2

io/wcm/dam/assetservice/impl/dataversion/ChecksumDataVersionStrategy.java

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

Priority 3

io/wcm/dam/assetservice/impl/AssetRequestServlet.java

Rule Violation Line
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 84

io/wcm/dam/assetservice/impl/DamPathHandler.java

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

io/wcm/dam/assetservice/impl/dataversion/ChecksumDataVersionStrategy.java

Rule Violation Line
SingularField Perhaps 'executor' could be replaced by a local variable. 75
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 140
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 144
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 150
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 156
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 162
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 162
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 162
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 172
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 176
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 188
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 201
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 202
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 206

Priority 4

io/wcm/dam/assetservice/impl/DamPathHandler.java

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

Files

io/wcm/dam/assetservice/impl/AssetRequestServlet.java

Rule Violation Priority Line
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 84

io/wcm/dam/assetservice/impl/DamPathHandler.java

Rule Violation Priority Line
UseVarargs Consider using varargs for methods or constructors which take an array the last parameter. 4 109
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 137

io/wcm/dam/assetservice/impl/dataversion/ChecksumDataVersionStrategy.java

Rule Violation Priority Line
SingularField Perhaps 'executor' could be replaced by a local variable. 3 75
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 140
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 144
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 150
GuardLogStatement Logger calls should be surrounded by log level guards. 2 151
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 156
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 162
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 162
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 162
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 172
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 176
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 188
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 201
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 202
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 206

Back to top

Version: 1.3.1-SNAPSHOT. Last Published: 2019-11-25.