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
95 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 72 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 51 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 198 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 83 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 122 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 134 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 112 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 85 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 58 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 217 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 96 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 141 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 153 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 131 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 123 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 139 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 78 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 348 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 176 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 249 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 141 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 42 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 61 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 39 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 181 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 52 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 83 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 69 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 95 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 64 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 99 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 85 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 111 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 104 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 335 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 285 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 310 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 239 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 167 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 192 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 322 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 273 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 297 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 138 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 126 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 223 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 64 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 179 Medium
Test for floating point equality in org.djutils.draw.line.PolyLine2d.extract(double, double) STYLE FE_FLOATING_POINT_EQUALITY 856 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 119 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 310 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 335 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 261 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 188 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 213 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 297 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 322 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 158 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 147 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 68 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 200 Medium
Test for floating point equality in org.djutils.draw.line.PolyLine3d.extract(double, double) STYLE FE_FLOATING_POINT_EQUALITY 844 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 232 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 168 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 120 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 51 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 89 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 218 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 156 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 104 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 37 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 224 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 168 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 120 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 47 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 88 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 214 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 156 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 104 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 34 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 76 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 117 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 129 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 41 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 98 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 71 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 84 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 140 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 125 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 57 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 49 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 109 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 88 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 124 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 72 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 185 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 213 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 196 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 226 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 139 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 171 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 157 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 40 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 58 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 134 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 105 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 90 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 149 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 43 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 69 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 58 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 266 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 47 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 93 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 76 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 64 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 55 Medium