PMD Results
The following document contains the results of PMD 6.36.0.
Violations By Priority
Priority 3
org/apache/commons/geometry/core/partitioning/AbstractConvexHyperplaneBoundedRegion.java
Rule |
Violation |
Line |
CompareObjectsWithEquals |
Use equals() to compare object references. |
460 |
org/apache/commons/geometry/core/partitioning/Split.java
Rule |
Violation |
Line |
InsufficientStringBufferDeclaration |
StringBuilder has been initialized with size 16, but has at least 29 characters appended. |
85 |
org/apache/commons/geometry/core/partitioning/bsp/AbstractPartitionedRegionBuilder.java
Rule |
Violation |
Line |
AbstractClassWithoutAbstractMethod |
This abstract class does not have any abstract methods |
62–307 |
CyclomaticComplexity |
The method 'insertBoundaryRecursiveInternalNode(N, HyperplaneConvexSubset, HyperplaneConvexSubset, BiConsumer)' has a cyclomatic complexity of 10. |
165–206 |
org/apache/commons/geometry/core/partitioning/bsp/BSPTreePrinter.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). |
48 |
Priority 4
org/apache/commons/geometry/core/partitioning/bsp/BSPTree.java
Rule |
Violation |
Line |
ShortClassName |
Avoid short class names like Node |
123–204 |
Files
org/apache/commons/geometry/core/partitioning/AbstractConvexHyperplaneBoundedRegion.java
Rule |
Violation |
Priority |
Line |
CompareObjectsWithEquals |
Use equals() to compare object references. |
3 |
460 |
org/apache/commons/geometry/core/partitioning/Split.java
Rule |
Violation |
Priority |
Line |
InsufficientStringBufferDeclaration |
StringBuilder has been initialized with size 16, but has at least 29 characters appended. |
3 |
85 |
org/apache/commons/geometry/core/partitioning/bsp/AbstractPartitionedRegionBuilder.java
Rule |
Violation |
Priority |
Line |
AbstractClassWithoutAbstractMethod |
This abstract class does not have any abstract methods |
3 |
62–307 |
CyclomaticComplexity |
The method 'insertBoundaryRecursiveInternalNode(N, HyperplaneConvexSubset, HyperplaneConvexSubset, BiConsumer)' has a cyclomatic complexity of 10. |
3 |
165–206 |
org/apache/commons/geometry/core/partitioning/bsp/BSPTree.java
Rule |
Violation |
Priority |
Line |
ShortClassName |
Avoid short class names like Node |
4 |
123–204 |
org/apache/commons/geometry/core/partitioning/bsp/BSPTreePrinter.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 |
48 |
|