The following document contains the results of PMD 6.45.0.

Violations By Priority

Priority 3

io/wcm/qa/glnm/differences/difference/sut/RelativeUrlWithQueryDifference.java

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

io/wcm/qa/glnm/differences/generic/DifferenceNameComparator.java

Rule Violation Line
CompareObjectsWithEquals Use equals() to compare object references. 37

io/wcm/qa/glnm/differences/specialized/ClassDifferences.java

Rule Violation Line
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 115
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 116
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 117
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 118

Files

io/wcm/qa/glnm/differences/difference/sut/RelativeUrlWithQueryDifference.java

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

io/wcm/qa/glnm/differences/generic/DifferenceNameComparator.java

Rule Violation Priority Line
CompareObjectsWithEquals Use equals() to compare object references. 3 37

io/wcm/qa/glnm/differences/specialized/ClassDifferences.java

Rule Violation Priority Line
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 115
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 116
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 117
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 118

Back to top

Version: 5.0.0-SNAPSHOT. Last Published: 2022-09-08.