The following document contains the results of SpotBugs
SpotBugs Version is 4.1.4
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
52 | 17 | 0 | 0 |
Class | Bugs |
---|---|
org.djutils.draw.line.Clothoid | 9 |
org.djutils.draw.point.Point2d | 8 |
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 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of line1P1 in org.djutils.draw.point.Point2d.intersectionOfLineSegments(Point2d, Point2d, Point2d, Point2d) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 347 | Medium |
Possible null pointer dereference of line1P2 in org.djutils.draw.point.Point2d.intersectionOfLineSegments(Point2d, Point2d, Point2d, Point2d) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 347 | Medium |
Possible null pointer dereference of line2P1 in org.djutils.draw.point.Point2d.intersectionOfLineSegments(Point2d, Point2d, Point2d, Point2d) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 347 | Medium |
Possible null pointer dereference of line1P1 in org.djutils.draw.point.Point2d.intersectionOfLines(Point2d, Point2d, Point2d, Point2d) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 326 | Medium |
Possible null pointer dereference of line1P2 in org.djutils.draw.point.Point2d.intersectionOfLines(Point2d, Point2d, Point2d, Point2d) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 326 | Medium |
Possible null pointer dereference of line2P1 in org.djutils.draw.point.Point2d.intersectionOfLines(Point2d, Point2d, Point2d, Point2d) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 326 | 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 | 347 | 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 | 326 | Medium |