SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.4

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
58 113 0 0

Files

Class Bugs
org.djutils.draw.bounds.Bounds2d 7
org.djutils.draw.bounds.Bounds2d$1 1
org.djutils.draw.bounds.Bounds2d$2 1
org.djutils.draw.bounds.Bounds3d 7
org.djutils.draw.bounds.Bounds3d$1 1
org.djutils.draw.bounds.Bounds3d$2 1
org.djutils.draw.line.Bezier 2
org.djutils.draw.line.Clothoid 9
org.djutils.draw.line.LineSegment2d 5
org.djutils.draw.line.LineSegment3d 4
org.djutils.draw.line.PolyLine2d 13
org.djutils.draw.line.PolyLine3d 12
org.djutils.draw.line.Polygon2d 6
org.djutils.draw.line.Polygon3d 6
org.djutils.draw.line.Ray2d 6
org.djutils.draw.line.Ray3d 6
org.djutils.draw.point.OrientedPoint2d 4
org.djutils.draw.point.OrientedPoint3d 5
org.djutils.draw.point.Point2d 12
org.djutils.draw.point.Point3d 4
org.djutils.draw.surface.Surface3d 1

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 69 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 194 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 81 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 120 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 131 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 110 Medium

org.djutils.draw.bounds.Bounds2d$1

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

org.djutils.draw.bounds.Bounds2d$2

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.bounds.Bounds2d$2 at new org.djutils.draw.bounds.Bounds2d$2(Collection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 210 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 79 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 209 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 90 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 135 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 146 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 125 Medium

org.djutils.draw.bounds.Bounds3d$1

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

org.djutils.draw.bounds.Bounds3d$2

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.bounds.Bounds3d$2 at new org.djutils.draw.bounds.Bounds3d$2(Collection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 225 Medium

org.djutils.draw.line.Bezier

Bug Category Details Line Priority
Do not catch NullPointerException like in org.djutils.draw.line.Bezier.bezier(double, Point2d[]) STYLE DCN_NULLPOINTER_EXCEPTION 417 Medium
Do not catch NullPointerException like in org.djutils.draw.line.Bezier.bezier(double, Point3d[]) STYLE DCN_NULLPOINTER_EXCEPTION 796 Medium

org.djutils.draw.line.Clothoid

Bug Category Details Line Priority
Dead store to dk in org.djutils.draw.line.Clothoid.buildClothoid(double, double, double, double, double, double) STYLE DLS_DEAD_LOCAL_STORE 704 Medium
Dead store to k in org.djutils.draw.line.Clothoid.buildClothoid(double, double, double, double, double, double) STYLE DLS_DEAD_LOCAL_STORE 703 Medium
Dead store to dk_1 in org.djutils.draw.line.Clothoid.buildClothoidMoreResults(double, double, double, double, double, double) STYLE DLS_DEAD_LOCAL_STORE 812 Medium
Dead store to dk_2 in org.djutils.draw.line.Clothoid.buildClothoidMoreResults(double, double, double, double, double, double) STYLE DLS_DEAD_LOCAL_STORE 813 Medium
Dead store to k_1 in org.djutils.draw.line.Clothoid.buildClothoidMoreResults(double, double, double, double, double, double) STYLE DLS_DEAD_LOCAL_STORE 808 Medium
Dead store to k_2 in org.djutils.draw.line.Clothoid.buildClothoidMoreResults(double, double, double, double, double, double) STYLE DLS_DEAD_LOCAL_STORE 809 Medium
Dead store to l_1 in org.djutils.draw.line.Clothoid.buildClothoidMoreResults(double, double, double, double, double, double) STYLE DLS_DEAD_LOCAL_STORE 804 Medium
Dead store to l_2 in org.djutils.draw.line.Clothoid.buildClothoidMoreResults(double, double, double, double, double, double) STYLE DLS_DEAD_LOCAL_STORE 805 Medium
Useless condition: it's known that p > 0 at this point STYLE UC_USELESS_CONDITION 497 Medium

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 87 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 73 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 99 Medium
Format string should use %n rather than \n in org.djutils.draw.line.LineSegment2d.toPlot() BAD_PRACTICE VA_FORMAT_STRING_USES_NEWLINE 234 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 65 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 87 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 102 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 249 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 225 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 237 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(Ray2d) 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.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 123 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 190 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(boolean, List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 317 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(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 63 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(boolean, Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 305 Medium
Exception thrown in class org.djutils.draw.line.PolyLine2d at new org.djutils.draw.line.PolyLine2d(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.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 159 Medium
Test for floating point equality in org.djutils.draw.line.PolyLine2d.extract(double, double) STYLE FE_FLOATING_POINT_EQUALITY 852 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(Iterator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 254 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 265 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(Ray3d) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 160 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 149 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(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 218 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(boolean, List) 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.PolyLine3d at new org.djutils.draw.line.PolyLine3d(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 70 Medium
Exception thrown in class org.djutils.draw.line.PolyLine3d at new org.djutils.draw.line.PolyLine3d(boolean, Point3d[]) 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.PolyLine3d at new org.djutils.draw.line.PolyLine3d(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 174 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 186 Medium
Test for floating point equality in org.djutils.draw.line.PolyLine3d.extract(double, double) STYLE FE_FLOATING_POINT_EQUALITY 876 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(Iterator) 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
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 132 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 96 Medium
Exception thrown in class org.djutils.draw.line.Polygon2d at new org.djutils.draw.line.Polygon2d(boolean, List) 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.line.Polygon2d at new org.djutils.draw.line.Polygon2d(boolean, Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 190 Medium
Exception thrown in class org.djutils.draw.line.Polygon2d at new org.djutils.draw.line.Polygon2d(Point2d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 81 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(Iterator) 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.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 151 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 115 Medium
Exception thrown in class org.djutils.draw.line.Polygon3d at new org.djutils.draw.line.Polygon3d(boolean, List) 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.Polygon3d at new org.djutils.draw.line.Polygon3d(boolean, Point3d[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 209 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 99 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, 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
Exception thrown in class org.djutils.draw.line.Ray2d at new org.djutils.draw.line.Ray2d(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 69 Medium
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 98 Medium
Exception thrown in class org.djutils.draw.line.Ray2d at new org.djutils.draw.line.Ray2d(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 55 Medium
Exception thrown in class org.djutils.draw.line.Ray2d at new org.djutils.draw.line.Ray2d(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 85 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 110 Medium

org.djutils.draw.line.Ray3d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.line.Ray3d at new org.djutils.draw.line.Ray3d(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.line.Ray3d at new org.djutils.draw.line.Ray3d(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 81 Medium
Exception thrown in class org.djutils.draw.line.Ray3d at new org.djutils.draw.line.Ray3d(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 114 Medium
Exception thrown in class org.djutils.draw.line.Ray3d at new org.djutils.draw.line.Ray3d(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 64 Medium
Exception thrown in class org.djutils.draw.line.Ray3d at new org.djutils.draw.line.Ray3d(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 99 Medium
Exception thrown in class org.djutils.draw.line.Ray3d at new org.djutils.draw.line.Ray3d(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 126 Medium

org.djutils.draw.point.OrientedPoint2d

Bug Category Details Line Priority
Exception thrown in class org.djutils.draw.point.OrientedPoint2d at new org.djutils.draw.point.OrientedPoint2d(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.point.OrientedPoint2d at new org.djutils.draw.point.OrientedPoint2d(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 81 Medium
Exception thrown in class org.djutils.draw.point.OrientedPoint2d at new org.djutils.draw.point.OrientedPoint2d(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 94 Medium
Exception thrown in class org.djutils.draw.point.OrientedPoint2d at new org.djutils.draw.point.OrientedPoint2d(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

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, 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.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 147 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 125 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 106 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 166 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 71 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 60 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 276 High
Possible null pointer dereference of line1P1 in org.djutils.draw.point.Point2d.intersectionOfLineSegments(Point2d, Point2d, Point2d, Point2d) CORRECTNESS NP_NULL_ON_SOME_PATH 348 Medium
Possible null pointer dereference of line1P2 in org.djutils.draw.point.Point2d.intersectionOfLineSegments(Point2d, Point2d, Point2d, Point2d) CORRECTNESS NP_NULL_ON_SOME_PATH 348 Medium
Possible null pointer dereference of line2P1 in org.djutils.draw.point.Point2d.intersectionOfLineSegments(Point2d, Point2d, Point2d, Point2d) CORRECTNESS NP_NULL_ON_SOME_PATH 348 Medium
Possible null pointer dereference of line1P1 in org.djutils.draw.point.Point2d.intersectionOfLines(Point2d, Point2d, Point2d, Point2d) CORRECTNESS NP_NULL_ON_SOME_PATH 327 Medium
Possible null pointer dereference of line1P2 in org.djutils.draw.point.Point2d.intersectionOfLines(Point2d, Point2d, Point2d, Point2d) CORRECTNESS NP_NULL_ON_SOME_PATH 327 Medium
Possible null pointer dereference of line2P1 in org.djutils.draw.point.Point2d.intersectionOfLines(Point2d, Point2d, Point2d, Point2d) CORRECTNESS NP_NULL_ON_SOME_PATH 327 Medium
Possible null pointer dereference of line2P2 on branch that might be infeasible in org.djutils.draw.point.Point2d.intersectionOfLineSegments(Point2d, Point2d, Point2d, Point2d) STYLE NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE 348 Medium
Possible null pointer dereference of line2P2 on branch that might be infeasible in org.djutils.draw.point.Point2d.intersectionOfLines(Point2d, Point2d, Point2d, Point2d) STYLE NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE 327 Medium

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 49 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 92 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