PMD Results

The following document contains the results of PMD 4.2.5.

Files

math/geom2d/AffineTransform2D.java

ViolationLine
No need to import a type that lives in the same package29
No need to import a type that lives in the same package30
No need to import a type that lives in the same package31
No need to import a type that lives in the same package32

math/geom2d/circulinear/CirculinearContour2D.java

ViolationLine
Avoid unused imports such as 'math.geom2d.curve.Curve2D'11

math/geom2d/circulinear/CirculinearCurve2DUtils.java

ViolationLine
These nested if statements could be combined345 - 346
These nested if statements could be combined348 - 349

math/geom2d/conic/Ellipse2D.java

ViolationLine
Do not use if statements that are always true or always false544

math/geom2d/curve/Curve2D.java

ViolationLine
Avoid unused imports such as 'java.awt.Shape'30

math/geom2d/curve/PolyCurve2D.java

ViolationLine
Ensure you override both equals() and hashCode()340

math/geom2d/domain/Boundary2D.java

ViolationLine
Avoid unused imports such as 'java.awt.geom.Point2D'30
Avoid unused imports such as 'java.util.ArrayList'31
Avoid unused imports such as 'math.geom2d.Box2D'35
Avoid unused imports such as 'math.geom2d.curve.ContinuousCurve2D'36
Avoid unused imports such as 'math.geom2d.curve.CurveSet2D'38

math/geom2d/Point2D.java

ViolationLine
Avoid unused imports such as 'java.io.Serializable'29

math/geom2d/point/PointArray2D.java

ViolationLine
Avoid unused constructor parameters such as 'n'.76 - 78

math/geom2d/polygon/HRectangle2D.java

ViolationLine
Ensure you override both equals() and hashCode()273

math/geom2d/polygon/LinearRing2D.java

ViolationLine
Ensure you override both equals() and hashCode()499

math/geom2d/polygon/MultiPolygon2D.java

ViolationLine
Ensure you override both equals() and hashCode()299

math/geom2d/polygon/Polygon2DUtils.java

ViolationLine
These nested if statements could be combined55 - 56
These nested if statements could be combined59 - 60
Avoid unused local variables such as 'currentBoundary'.140

math/geom2d/polygon/Polyline2D.java

ViolationLine
These nested if statements could be combined444 - 445

math/geom2d/polygon/Rectangle2D.java

ViolationLine
Ensure you override both equals() and hashCode()481

math/geom2d/polygon/SimplePolygon2D.java

ViolationLine
Ensure you override both equals() and hashCode()529

math/geom3d/curve/Curve3D.java

ViolationLine
No need to import a type that lives in the same package11

math/geom3d/line/StraightLine3D.java

ViolationLine
Avoid unused imports such as 'math.geom2d.line.StraightLine2D'10

math/geom3d/plane/Plane3D.java

ViolationLine
Ensure you override both equals() and hashCode()231

math/geom3d/Point3D.java

ViolationLine
Ensure you override both equals() and hashCode()147

math/geom3d/transform/AffineTransform3D.java

ViolationLine
Ensure you override both equals() and hashCode()351

math/geom3d/Vector3D.java

ViolationLine
Ensure you override both equals() and hashCode()232