SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.1

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
98 141 0 0

Files

Class Bugs
org.djutils.draw.Direction3d 1
org.djutils.draw.Export 1
org.djutils.draw.bounds.Bounds2d 7
org.djutils.draw.bounds.Bounds3d 7
org.djutils.draw.curve.Arc2d 1
org.djutils.draw.curve.Bezier2d 3
org.djutils.draw.curve.Bezier3d 3
org.djutils.draw.curve.BezierCubic2d 4
org.djutils.draw.curve.BezierCubic3d 4
org.djutils.draw.curve.Clothoid2d 2
org.djutils.draw.curve.Flattener2d$MaxAngle 1
org.djutils.draw.curve.Flattener2d$MaxDeviation 1
org.djutils.draw.curve.Flattener2d$MaxDeviationAndAngle 1
org.djutils.draw.curve.Flattener2d$NumSegments 1
org.djutils.draw.curve.Flattener3d$MaxAngle 1
org.djutils.draw.curve.Flattener3d$MaxDeviation 1
org.djutils.draw.curve.Flattener3d$MaxDeviationAndAngle 1
org.djutils.draw.curve.Flattener3d$NumSegments 1
org.djutils.draw.curve.OffsetFlattener2d$MaxAngle 1
org.djutils.draw.curve.OffsetFlattener2d$MaxDeviation 1
org.djutils.draw.curve.OffsetFlattener2d$MaxDeviationAndAngle 1
org.djutils.draw.curve.OffsetFlattener2d$NumSegments 1
org.djutils.draw.curve.Straight2d 1
org.djutils.draw.function.ContinuousPiecewiseLinearFunction 2
org.djutils.draw.function.ContinuousPiecewiseLinearFunction$1 1
org.djutils.draw.line.LineSegment2d 4
org.djutils.draw.line.LineSegment3d 4
org.djutils.draw.line.PolyLine2d 16
org.djutils.draw.line.PolyLine3d 13
org.djutils.draw.line.Polygon2d 9
org.djutils.draw.line.Polygon3d 10
org.djutils.draw.line.Ray2d 2
org.djutils.draw.point.DirectedPoint2d 7
org.djutils.draw.point.DirectedPoint3d 12
org.djutils.draw.point.OrientedPoint3d 6
org.djutils.draw.point.Point2d 4
org.djutils.draw.point.Point3d 4
org.djutils.draw.surface.Surface3d 1

org.djutils.draw.Direction3d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.Direction3d at new org.djutils.draw.Direction3d(double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 39 Medium

org.djutils.draw.Export

Bug Category Details Line Priority
Format string should use %n rather than \n in org.djutils.draw.Export.toPlot(LineSegment2d) BAD_PRACTICE VA_FORMAT_STRING_USES_NEWLINE 42 Medium

org.djutils.draw.bounds.Bounds2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.bounds.Bounds2d at new org.djutils.draw.bounds.Bounds2d(double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 75 Medium
Exception thrown in class org.djutils.draw.bounds.Bounds2d at new org.djutils.draw.bounds.Bounds2d(double, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 54 Medium
Exception thrown in class org.djutils.draw.bounds.Bounds2d at new org.djutils.draw.bounds.Bounds2d(Collection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 202 Medium
Exception thrown in class org.djutils.draw.bounds.Bounds2d at new org.djutils.draw.bounds.Bounds2d(Iterator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 87 Medium
Exception thrown in class org.djutils.draw.bounds.Bounds2d at new org.djutils.draw.bounds.Bounds2d(Drawable2d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 126 Medium
Exception thrown in class org.djutils.draw.bounds.Bounds2d at new org.djutils.draw.bounds.Bounds2d(Drawable2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 138 Medium
Exception thrown in class org.djutils.draw.bounds.Bounds2d at new org.djutils.draw.bounds.Bounds2d(Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 116 Medium

org.djutils.draw.bounds.Bounds3d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.bounds.Bounds3d at new org.djutils.draw.bounds.Bounds3d(double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 89 Medium
Exception thrown in class org.djutils.draw.bounds.Bounds3d at new org.djutils.draw.bounds.Bounds3d(double, double, double, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 62 Medium
Exception thrown in class org.djutils.draw.bounds.Bounds3d at new org.djutils.draw.bounds.Bounds3d(Collection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 221 Medium
Exception thrown in class org.djutils.draw.bounds.Bounds3d at new org.djutils.draw.bounds.Bounds3d(Iterator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 100 Medium
Exception thrown in class org.djutils.draw.bounds.Bounds3d at new org.djutils.draw.bounds.Bounds3d(Drawable3d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 145 Medium
Exception thrown in class org.djutils.draw.bounds.Bounds3d at new org.djutils.draw.bounds.Bounds3d(Drawable3d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 157 Medium
Exception thrown in class org.djutils.draw.bounds.Bounds3d at new org.djutils.draw.bounds.Bounds3d(Point3d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 135 Medium

org.djutils.draw.curve.Arc2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Arc2d at new org.djutils.draw.curve.Arc2d(DirectedPoint2d, double, boolean, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 47 Medium

org.djutils.draw.curve.Bezier2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Bezier2d at new org.djutils.draw.curve.Bezier2d(boolean, double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 80 Medium
Exception thrown in class org.djutils.draw.curve.Bezier2d at new org.djutils.draw.curve.Bezier2d(double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 63 Medium
Exception thrown in class org.djutils.draw.curve.Bezier2d at new org.djutils.draw.curve.Bezier2d(Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 40 Medium

org.djutils.draw.curve.Bezier3d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Bezier3d at new org.djutils.draw.curve.Bezier3d(boolean, double[], double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 85 Medium
Exception thrown in class org.djutils.draw.curve.Bezier3d at new org.djutils.draw.curve.Bezier3d(double[], double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 66 Medium
Exception thrown in class org.djutils.draw.curve.Bezier3d at new org.djutils.draw.curve.Bezier3d(Point3d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 40 Medium

org.djutils.draw.curve.BezierCubic2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.BezierCubic2d at new org.djutils.draw.curve.BezierCubic2d(Ray2d, Ray2d, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 122 Medium
Exception thrown in class org.djutils.draw.curve.BezierCubic2d at new org.djutils.draw.curve.BezierCubic2d(Ray2d, Ray2d, double, boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 138 Medium
Exception thrown in class org.djutils.draw.curve.BezierCubic2d at new org.djutils.draw.curve.BezierCubic2d(Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 77 Medium
org.djutils.draw.curve.BezierCubic2d doesn't override Bezier2d.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.djutils.draw.curve.BezierCubic3d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.BezierCubic3d at new org.djutils.draw.curve.BezierCubic3d(Ray3d, Ray3d, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 91 Medium
Exception thrown in class org.djutils.draw.curve.BezierCubic3d at new org.djutils.draw.curve.BezierCubic3d(Ray3d, Ray3d, double, boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 109 Medium
Exception thrown in class org.djutils.draw.curve.BezierCubic3d at new org.djutils.draw.curve.BezierCubic3d(Point3d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 50 Medium
org.djutils.draw.curve.BezierCubic3d doesn't override Bezier3d.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.djutils.draw.curve.Clothoid2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Clothoid2d at new org.djutils.draw.curve.Clothoid2d(DirectedPoint2d, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 269 Medium
Exception thrown in class org.djutils.draw.curve.Clothoid2d at new org.djutils.draw.curve.Clothoid2d(DirectedPoint2d, DirectedPoint2d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 125 Medium

org.djutils.draw.curve.Flattener2d$MaxAngle

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Flattener2d$MaxAngle at new org.djutils.draw.curve.Flattener2d$MaxAngle(double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 262 Medium

org.djutils.draw.curve.Flattener2d$MaxDeviation

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Flattener2d$MaxDeviation at new org.djutils.draw.curve.Flattener2d$MaxDeviation(double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 100 Medium

org.djutils.draw.curve.Flattener2d$MaxDeviationAndAngle

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Flattener2d$MaxDeviationAndAngle at new org.djutils.draw.curve.Flattener2d$MaxDeviationAndAngle(double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 172 Medium

org.djutils.draw.curve.Flattener2d$NumSegments

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Flattener2d$NumSegments at new org.djutils.draw.curve.Flattener2d$NumSegments(int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 66 Medium

org.djutils.draw.curve.Flattener3d$MaxAngle

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Flattener3d$MaxAngle at new org.djutils.draw.curve.Flattener3d$MaxAngle(double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 274 Medium

org.djutils.draw.curve.Flattener3d$MaxDeviation

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Flattener3d$MaxDeviation at new org.djutils.draw.curve.Flattener3d$MaxDeviation(double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 112 Medium

org.djutils.draw.curve.Flattener3d$MaxDeviationAndAngle

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Flattener3d$MaxDeviationAndAngle at new org.djutils.draw.curve.Flattener3d$MaxDeviationAndAngle(double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 184 Medium

org.djutils.draw.curve.Flattener3d$NumSegments

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Flattener3d$NumSegments at new org.djutils.draw.curve.Flattener3d$NumSegments(int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 78 Medium

org.djutils.draw.curve.OffsetFlattener2d$MaxAngle

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.OffsetFlattener2d$MaxAngle at new org.djutils.draw.curve.OffsetFlattener2d$MaxAngle(double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 347 Medium

org.djutils.draw.curve.OffsetFlattener2d$MaxDeviation

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.OffsetFlattener2d$MaxDeviation at new org.djutils.draw.curve.OffsetFlattener2d$MaxDeviation(double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 175 Medium

org.djutils.draw.curve.OffsetFlattener2d$MaxDeviationAndAngle

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.OffsetFlattener2d$MaxDeviationAndAngle at new org.djutils.draw.curve.OffsetFlattener2d$MaxDeviationAndAngle(double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 248 Medium

org.djutils.draw.curve.OffsetFlattener2d$NumSegments

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.OffsetFlattener2d$NumSegments at new org.djutils.draw.curve.OffsetFlattener2d$NumSegments(int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 140 Medium

org.djutils.draw.curve.Straight2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.curve.Straight2d at new org.djutils.draw.curve.Straight2d(DirectedPoint2d, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 41 Medium

org.djutils.draw.function.ContinuousPiecewiseLinearFunction

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.function.ContinuousPiecewiseLinearFunction at new org.djutils.draw.function.ContinuousPiecewiseLinearFunction(Map) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 60 Medium
Exception thrown in class org.djutils.draw.function.ContinuousPiecewiseLinearFunction at new org.djutils.draw.function.ContinuousPiecewiseLinearFunction(double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 38 Medium

org.djutils.draw.function.ContinuousPiecewiseLinearFunction$1

Bug Category Details Line Priority
Possible null pointer dereference of ContinuousPiecewiseLinearFunction$1.nextEntry in org.djutils.draw.function.ContinuousPiecewiseLinearFunction$1.next() CORRECTNESS NP_NULL_ON_SOME_PATH 167 High

org.djutils.draw.line.LineSegment2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.line.LineSegment2d at new org.djutils.draw.line.LineSegment2d(double, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 55 Medium
Exception thrown in class org.djutils.draw.line.LineSegment2d at new org.djutils.draw.line.LineSegment2d(double, double, Point2d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 86 Medium
Exception thrown in class org.djutils.draw.line.LineSegment2d at new org.djutils.draw.line.LineSegment2d(Point2d, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 72 Medium
Exception thrown in class org.djutils.draw.line.LineSegment2d at new org.djutils.draw.line.LineSegment2d(Point2d, Point2d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 98 Medium

org.djutils.draw.line.LineSegment3d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.line.LineSegment3d at new org.djutils.draw.line.LineSegment3d(double, double, double, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 67 Medium
Exception thrown in class org.djutils.draw.line.LineSegment3d at new org.djutils.draw.line.LineSegment3d(double, double, double, Point3d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 102 Medium
Exception thrown in class org.djutils.draw.line.LineSegment3d at new org.djutils.draw.line.LineSegment3d(Point3d, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 88 Medium
Exception thrown in class org.djutils.draw.line.LineSegment3d at new org.djutils.draw.line.LineSegment3d(Point3d, Point3d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 114 Medium

org.djutils.draw.line.PolyLine2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 107 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(double, Path2D) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 338 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(double, Iterator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 288 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(double, List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 313 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(double, Point2d, Point2d, Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 242 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(double, double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 170 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(double, Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 195 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(Path2D) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 325 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(Iterator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 276 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 300 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(DirectedPoint2d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 141 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(Point2d, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 129 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(Point2d, Point2d, Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 226 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(boolean, double, double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 67 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 182 Medium
Test for floating point equality in org.djutils.draw.line.PolyLine2d.extract(double, double) STYLE FE_FLOATING_POINT_EQUALITY 859 High

org.djutils.draw.line.PolyLine3d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(double, double, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 122 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(double, Iterator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 313 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(double, List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 338 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(double, Point3d, Point3d, Point3d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 264 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(double, double[], double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 191 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(double, Point3d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 216 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(Iterator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 300 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 325 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(DirectedPoint3d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 161 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(Point3d, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 150 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(boolean, double, double[], double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 71 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(Point3d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 203 Medium
Test for floating point equality in org.djutils.draw.line.PolyLine3d.extract(double, double) STYLE FE_FLOATING_POINT_EQUALITY 849 High

org.djutils.draw.line.Polygon2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.line.Polygon2d at new org.djutils.draw.line.Polygon2d(double, Iterator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 235 Medium
Exception thrown in class org.djutils.draw.line.Polygon2d at new org.djutils.draw.line.Polygon2d(double, List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 171 Medium
Exception thrown in class org.djutils.draw.line.Polygon2d at new org.djutils.draw.line.Polygon2d(double, Point2d, Point2d, Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 123 Medium
Exception thrown in class org.djutils.draw.line.Polygon2d at new org.djutils.draw.line.Polygon2d(double, double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 54 Medium
Exception thrown in class org.djutils.draw.line.Polygon2d at new org.djutils.draw.line.Polygon2d(double, Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 92 Medium
Exception thrown in class org.djutils.draw.line.Polygon2d at new org.djutils.draw.line.Polygon2d(Iterator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 221 Medium
Exception thrown in class org.djutils.draw.line.Polygon2d at new org.djutils.draw.line.Polygon2d(List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 159 Medium
Exception thrown in class org.djutils.draw.line.Polygon2d at new org.djutils.draw.line.Polygon2d(Point2d, Point2d, Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 107 Medium
Exception thrown in class org.djutils.draw.line.Polygon2d at new org.djutils.draw.line.Polygon2d(double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 40 Medium

org.djutils.draw.line.Polygon3d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.line.Polygon3d at new org.djutils.draw.line.Polygon3d(double, Iterator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 226 Medium
Exception thrown in class org.djutils.draw.line.Polygon3d at new org.djutils.draw.line.Polygon3d(double, List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 170 Medium
Exception thrown in class org.djutils.draw.line.Polygon3d at new org.djutils.draw.line.Polygon3d(double, Point3d, Point3d, Point3d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 123 Medium
Exception thrown in class org.djutils.draw.line.Polygon3d at new org.djutils.draw.line.Polygon3d(double, double[], double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 50 Medium
Exception thrown in class org.djutils.draw.line.Polygon3d at new org.djutils.draw.line.Polygon3d(double, Point3d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 91 Medium
Exception thrown in class org.djutils.draw.line.Polygon3d at new org.djutils.draw.line.Polygon3d(Iterator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 216 Medium
Exception thrown in class org.djutils.draw.line.Polygon3d at new org.djutils.draw.line.Polygon3d(List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 158 Medium
Exception thrown in class org.djutils.draw.line.Polygon3d at new org.djutils.draw.line.Polygon3d(Point3d, Point3d, Point3d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 107 Medium
Exception thrown in class org.djutils.draw.line.Polygon3d at new org.djutils.draw.line.Polygon3d(double[], double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 37 Medium
Exception thrown in class org.djutils.draw.line.Polygon3d at new org.djutils.draw.line.Polygon3d(Point3d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 79 Medium

org.djutils.draw.line.Ray2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.line.Ray2d at new org.djutils.draw.line.Ray2d(double, double, Point2d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 120 Medium
Exception thrown in class org.djutils.draw.line.Ray2d at new org.djutils.draw.line.Ray2d(Point2d, Point2d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 132 Medium

org.djutils.draw.point.DirectedPoint2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.point.DirectedPoint2d at new org.djutils.draw.point.DirectedPoint2d(double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 45 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint2d at new org.djutils.draw.point.DirectedPoint2d(double, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 102 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint2d at new org.djutils.draw.point.DirectedPoint2d(Point2D, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 75 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint2d at new org.djutils.draw.point.DirectedPoint2d(Point2d, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 88 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint2d at new org.djutils.draw.point.DirectedPoint2d(Point2d, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 144 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint2d at new org.djutils.draw.point.DirectedPoint2d(Point2d, Point2d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 129 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint2d at new org.djutils.draw.point.DirectedPoint2d(double[], double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 61 Medium

org.djutils.draw.point.DirectedPoint3d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.point.DirectedPoint3d at new org.djutils.draw.point.DirectedPoint3d(double, double, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 53 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint3d at new org.djutils.draw.point.DirectedPoint3d(double, double, double, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 113 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint3d at new org.djutils.draw.point.DirectedPoint3d(double, double, double, Direction3d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 92 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint3d at new org.djutils.draw.point.DirectedPoint3d(double, double, double, Point3d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 128 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint3d at new org.djutils.draw.point.DirectedPoint3d(double, double, double, double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 76 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint3d at new org.djutils.draw.point.DirectedPoint3d(Point3d, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 189 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint3d at new org.djutils.draw.point.DirectedPoint3d(Point3d, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 217 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint3d at new org.djutils.draw.point.DirectedPoint3d(Point3d, Direction3d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 200 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint3d at new org.djutils.draw.point.DirectedPoint3d(Point3d, Point3d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 230 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint3d at new org.djutils.draw.point.DirectedPoint3d(double[], double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 143 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint3d at new org.djutils.draw.point.DirectedPoint3d(double[], Direction3d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 175 Medium
Exception thrown in class org.djutils.draw.point.DirectedPoint3d at new org.djutils.draw.point.DirectedPoint3d(double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 161 Medium

org.djutils.draw.point.OrientedPoint3d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.point.OrientedPoint3d at new org.djutils.draw.point.OrientedPoint3d(double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 44 Medium
Exception thrown in class org.djutils.draw.point.OrientedPoint3d at new org.djutils.draw.point.OrientedPoint3d(double, double, double, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 62 Medium
Exception thrown in class org.djutils.draw.point.OrientedPoint3d at new org.djutils.draw.point.OrientedPoint3d(double, double, double, double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 138 Medium
Exception thrown in class org.djutils.draw.point.OrientedPoint3d at new org.djutils.draw.point.OrientedPoint3d(Point3d, double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 109 Medium
Exception thrown in class org.djutils.draw.point.OrientedPoint3d at new org.djutils.draw.point.OrientedPoint3d(double[], double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 94 Medium
Exception thrown in class org.djutils.draw.point.OrientedPoint3d at new org.djutils.draw.point.OrientedPoint3d(double[], double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 153 Medium

org.djutils.draw.point.Point2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.point.Point2d at new org.djutils.draw.point.Point2d(double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 47 Medium
Exception thrown in class org.djutils.draw.point.Point2d at new org.djutils.draw.point.Point2d(Point2D) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 73 Medium
Exception thrown in class org.djutils.draw.point.Point2d at new org.djutils.draw.point.Point2d(double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 62 Medium
Test for floating point equality in org.djutils.draw.point.Point2d.intersectionOfLines(double, double, double, double, boolean, boolean, double, double, double, double, boolean, boolean) STYLE FE_FLOATING_POINT_EQUALITY 270 High

org.djutils.draw.point.Point3d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.point.Point3d at new org.djutils.draw.point.Point3d(double, double, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 50 Medium
Exception thrown in class org.djutils.draw.point.Point3d at new org.djutils.draw.point.Point3d(Point2D, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 96 Medium
Exception thrown in class org.djutils.draw.point.Point3d at new org.djutils.draw.point.Point3d(Point2d, double) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 79 Medium
Exception thrown in class org.djutils.draw.point.Point3d at new org.djutils.draw.point.Point3d(double[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 67 Medium

org.djutils.draw.surface.Surface3d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.surface.Surface3d at new org.djutils.draw.surface.Surface3d(Point3d[][]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 58 Medium