The following document contains the results of PMD 7.9.0.

Violations By Priority

Priority 1

io/wcm/caravan/hal/comparison/impl/matching/SimpleIdMatchingAlgorithm.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 72

Priority 3

io/wcm/caravan/hal/comparison/impl/context/HalComparisonContextImpl.java

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

io/wcm/caravan/hal/comparison/impl/context/HalPathImpl.java

Rule Violation Line
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 160
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 163

io/wcm/caravan/hal/comparison/impl/matching/SimpleIdMatchingAlgorithm.java

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

Files

io/wcm/caravan/hal/comparison/impl/context/HalComparisonContextImpl.java

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

io/wcm/caravan/hal/comparison/impl/context/HalPathImpl.java

Rule Violation Priority Line
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 160
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 163

io/wcm/caravan/hal/comparison/impl/matching/SimpleIdMatchingAlgorithm.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal This class has only private constructors and may be final 1 72
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 188

Back to top

Version: 1.0.1-SNAPSHOT. Last Published: 2025-01-10.