SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.8.6
Threshold is medium
Effort is default
Summary
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
65 | 113 | 0 | 0 |
Files
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 | 39 | 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 | 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.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 | 56 | 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 | 88 | 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 | 74 | 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 | 100 | 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 | 66 | 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 | 103 | 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 | 115 | 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 | 103 | 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 | 250 | 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 | 226 | 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 | 238 | 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 | 135 | 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 | 124 | 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 | 192 | 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 | 318 | 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 | 64 | 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 | 306 | 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 | 149 | 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 | 161 | Medium |
Test for floating point equality in org.djutils.draw.line.PolyLine2d.extract(double, double) | STYLE | FE_FLOATING_POINT_EQUALITY | 820 | 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 | 123 | 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 | 256 | 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 | 267 | 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(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 | 220 | 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 | 290 | 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 | 71 | 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 | 278 | 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 | 176 | 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 | 188 | 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(Iterator) 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 |
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 | 129 | 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 | 94 | 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 | 199 | 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 | 187 | 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 | 79 | 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 | 197 | 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 | 150 | 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 | 220 | 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 | 208 | 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, Point2d) 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.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 | 126 | 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 | 44 | 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 | 83 | 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 | 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 | 58 | 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 | 50 | 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 | 101 | 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 | 190 | 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 | 161 | 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 | 84 | 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 | 129 | 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 | 202 | 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 | 69 | 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 | 175 | 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 | 43 | 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 | 60 | 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 | 136 | 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 | 150 | 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 | 264 | High |
Possible null pointer dereference of line1P1 in org.djutils.draw.point.Point2d.intersectionOfLineSegments(Point2d, Point2d, Point2d, Point2d) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 336 | Medium |
Possible null pointer dereference of line1P2 in org.djutils.draw.point.Point2d.intersectionOfLineSegments(Point2d, Point2d, Point2d, Point2d) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 336 | Medium |
Possible null pointer dereference of line2P1 in org.djutils.draw.point.Point2d.intersectionOfLineSegments(Point2d, Point2d, Point2d, Point2d) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 336 | Medium |
Possible null pointer dereference of line1P1 in org.djutils.draw.point.Point2d.intersectionOfLines(Point2d, Point2d, Point2d, Point2d) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 315 | Medium |
Possible null pointer dereference of line1P2 in org.djutils.draw.point.Point2d.intersectionOfLines(Point2d, Point2d, Point2d, Point2d) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 315 | Medium |
Possible null pointer dereference of line2P1 in org.djutils.draw.point.Point2d.intersectionOfLines(Point2d, Point2d, Point2d, Point2d) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 315 | 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 | 336 | 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 | 315 | 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 | 57 | Medium |