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
194 87 0 0

Files

Class Bugs
org.opentrafficsim.draw.BoundsPaintScale 2
org.opentrafficsim.draw.Colors 6
org.opentrafficsim.draw.RenderableTextSource 4
org.opentrafficsim.draw.TextProperties 1
org.opentrafficsim.draw.colorer.AccelerationColorer 1
org.opentrafficsim.draw.colorer.NumberFormatUnit 1
org.opentrafficsim.draw.colorer.SpeedColorer 1
org.opentrafficsim.draw.egtf.Egtf 3
org.opentrafficsim.draw.egtf.Egtf$DualWeightedMean 1
org.opentrafficsim.draw.egtf.Egtf$WeightedMean 1
org.opentrafficsim.draw.egtf.EgtfParallelListener 3
org.opentrafficsim.draw.egtf.FilterDouble 2
org.opentrafficsim.draw.graphs.AbstractContourPlot 4
org.opentrafficsim.draw.graphs.AbstractGraphSpace 1
org.opentrafficsim.draw.graphs.AbstractPlot 7
org.opentrafficsim.draw.graphs.AbstractSamplerPlot 1
org.opentrafficsim.draw.graphs.AbstractSpaceTimePlot 1
org.opentrafficsim.draw.graphs.ContourDataSource 13
org.opentrafficsim.draw.graphs.FundamentalDiagram 7
org.opentrafficsim.draw.graphs.FundamentalDiagram$AbstractSpaceSamplerFdSource 3
org.opentrafficsim.draw.graphs.FundamentalDiagram$MultiFdSource 2
org.opentrafficsim.draw.graphs.GraphCrossSection 1
org.opentrafficsim.draw.graphs.GraphPath 3
org.opentrafficsim.draw.graphs.GraphPath$Section 6
org.opentrafficsim.draw.graphs.GraphUpdater 2
org.opentrafficsim.draw.graphs.TrajectoryPlot 3
org.opentrafficsim.draw.graphs.XyInterpolatedBlockRenderer 1
org.opentrafficsim.draw.graphs.XyInterpolatedBlockRenderer$1$1 1
org.opentrafficsim.draw.gtu.DefaultCarAnimation$GtuData$GtuMarker 1
org.opentrafficsim.draw.road.BusStopAnimation 1
org.opentrafficsim.draw.road.LaneAnimation 1
org.opentrafficsim.draw.road.LaneDetectorAnimation 1
org.opentrafficsim.draw.road.TrafficLightAnimation 1

org.opentrafficsim.draw.BoundsPaintScale

Bug Category Details Line Priority
Exception thrown in class org.opentrafficsim.draw.BoundsPaintScale at new org.opentrafficsim.draw.BoundsPaintScale(double[], Color[]) 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
Exception thrown in class org.opentrafficsim.draw.BoundsPaintScale at new org.opentrafficsim.draw.BoundsPaintScale(double[], Color[], Color) 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

org.opentrafficsim.draw.Colors

Bug Category Details Line Priority
org.opentrafficsim.draw.Colors.ENUMERATE is a mutable array MALICIOUS_CODE MS_MUTABLE_ARRAY 29 High
org.opentrafficsim.draw.Colors.ENUMERATE_NAMES is a mutable array MALICIOUS_CODE MS_MUTABLE_ARRAY 33 High
org.opentrafficsim.draw.Colors.GREEN_RED is a mutable array MALICIOUS_CODE MS_MUTABLE_ARRAY 18 High
org.opentrafficsim.draw.Colors.GREEN_RED_DARK is a mutable array MALICIOUS_CODE MS_MUTABLE_ARRAY 22 High
org.opentrafficsim.draw.Colors.ULTRA is a mutable array MALICIOUS_CODE MS_MUTABLE_ARRAY 25 High
Bad attempt to compute absolute value of signed 32-bit hashcode in org.opentrafficsim.draw.Colors.getIdColor(String, Color[]) CORRECTNESS RV_ABSOLUTE_VALUE_OF_HASHCODE 115 High

org.opentrafficsim.draw.RenderableTextSource

Bug Category Details Line Priority
Shared primitive variable "dynamic" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 179 Medium
Shared primitive variable "dx" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 358 Medium
Shared primitive variable "dy" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 359 Medium
instanceof will always return true for all non-null values in org.opentrafficsim.draw.RenderableTextSource.getLocation(), since all org.djutils.draw.point.DirectedPoint2d are instances of org.djutils.draw.Directed STYLE BC_VACUOUS_INSTANCEOF 189 Medium

org.opentrafficsim.draw.TextProperties

Bug Category Details Line Priority
org.opentrafficsim.draw.TextProperties.getTextAttributes() may expose internal representation by returning TextProperties.textAttributes MALICIOUS_CODE EI_EXPOSE_REP 106 Medium

org.opentrafficsim.draw.colorer.AccelerationColorer

Bug Category Details Line Priority
org.opentrafficsim.draw.colorer.AccelerationColorer.getNumberFormat() may expose internal representation by returning AccelerationColorer.FORMAT MALICIOUS_CODE EI_EXPOSE_REP 67 Medium

org.opentrafficsim.draw.colorer.NumberFormatUnit

Bug Category Details Line Priority
Exception thrown in class org.opentrafficsim.draw.colorer.NumberFormatUnit at new org.opentrafficsim.draw.colorer.NumberFormatUnit(String, int) 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.opentrafficsim.draw.colorer.SpeedColorer

Bug Category Details Line Priority
org.opentrafficsim.draw.colorer.SpeedColorer.getNumberFormat() may expose internal representation by returning SpeedColorer.FORMAT MALICIOUS_CODE EI_EXPOSE_REP 63 Medium

org.opentrafficsim.draw.egtf.Egtf

Bug Category Details Line Priority
Shared primitive variable "interrupted" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 1027 Medium
Possible null pointer dereference of wMean in org.opentrafficsim.draw.egtf.Egtf.filterSI(double[], double[], Quantity[]) CORRECTNESS NP_NULL_ON_SOME_PATH 669 Medium
org.opentrafficsim.draw.egtf.Egtf.filterFastSI(double, double, double, double, double, double, Quantity[]) has Optional return type and returns explicit null CORRECTNESS NP_OPTIONAL_RETURN_NULL 824 High

org.opentrafficsim.draw.egtf.Egtf$DualWeightedMean

Bug Category Details Line Priority
Should org.opentrafficsim.draw.egtf.Egtf$DualWeightedMean be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 1073-1148 Medium

org.opentrafficsim.draw.egtf.Egtf$WeightedMean

Bug Category Details Line Priority
Should org.opentrafficsim.draw.egtf.Egtf$WeightedMean be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 1157-1188 Medium

org.opentrafficsim.draw.egtf.EgtfParallelListener

Bug Category Details Line Priority
This write of the 64-bit primitive variable "progress" may not atomic MT_CORRECTNESS AT_NONATOMIC_64BIT_PRIMITIVE 90 Medium
This write of the 64-bit primitive variable "progress" may not atomic MT_CORRECTNESS AT_NONATOMIC_64BIT_PRIMITIVE 64 Medium
Shared primitive variable "interrupted" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 108 Medium

org.opentrafficsim.draw.egtf.FilterDouble

Bug Category Details Line Priority
org.opentrafficsim.draw.egtf.FilterDouble.getLocation() may expose internal representation by returning FilterDouble.location MALICIOUS_CODE EI_EXPOSE_REP 42 Medium
org.opentrafficsim.draw.egtf.FilterDouble.getTime() may expose internal representation by returning FilterDouble.time MALICIOUS_CODE EI_EXPOSE_REP 48 Medium

org.opentrafficsim.draw.graphs.AbstractContourPlot

Bug Category Details Line Priority
Exception thrown in class org.opentrafficsim.draw.graphs.AbstractContourPlot at new org.opentrafficsim.draw.graphs.AbstractContourPlot(String, PlotScheduler, ContourDataSource, ContourDataSource$ContourDataType, Number, String, Number, Number, String) 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
org.opentrafficsim.draw.graphs.AbstractContourPlot.getBlockRenderer() may expose internal representation by returning AbstractContourPlot.blockRenderer MALICIOUS_CODE EI_EXPOSE_REP 344 Medium
org.opentrafficsim.draw.graphs.AbstractContourPlot.getDataPool() may expose internal representation by returning AbstractContourPlot.dataPool MALICIOUS_CODE EI_EXPOSE_REP 206 Medium
new org.opentrafficsim.draw.graphs.AbstractContourPlot(String, PlotScheduler, ContourDataSource, ContourDataSource$ContourDataType, BoundsPaintScale, Number, String, String) may expose internal representation by storing an externally mutable object into AbstractContourPlot.dataPool MALICIOUS_CODE EI_EXPOSE_REP2 72 Medium

org.opentrafficsim.draw.graphs.AbstractGraphSpace

Bug Category Details Line Priority
new org.opentrafficsim.draw.graphs.AbstractGraphSpace(List) may expose internal representation by storing an externally mutable object into AbstractGraphSpace.seriesNames MALICIOUS_CODE EI_EXPOSE_REP2 29 Medium

org.opentrafficsim.draw.graphs.AbstractPlot

Bug Category Details Line Priority
org.opentrafficsim.draw.graphs.AbstractPlot.getChart() may expose internal representation by returning AbstractPlot.chart MALICIOUS_CODE EI_EXPOSE_REP 234 Medium
org.opentrafficsim.draw.graphs.AbstractPlot.getUpdateTime() may expose internal representation by returning AbstractPlot.updateTime MALICIOUS_CODE EI_EXPOSE_REP 293 Medium
new org.opentrafficsim.draw.graphs.AbstractPlot(PlotScheduler, String, Duration, Duration) may expose internal representation by storing an externally mutable object into AbstractPlot.delay MALICIOUS_CODE EI_EXPOSE_REP2 106 Medium
new org.opentrafficsim.draw.graphs.AbstractPlot(PlotScheduler, String, Duration, Duration) may expose internal representation by storing an externally mutable object into AbstractPlot.updateInterval MALICIOUS_CODE EI_EXPOSE_REP2 105 Medium
org.opentrafficsim.draw.graphs.AbstractPlot.offerUpdateInterval(Duration) may expose internal representation by storing an externally mutable object into AbstractPlot.offeredUpdateInterval MALICIOUS_CODE EI_EXPOSE_REP2 278 Medium
org.opentrafficsim.draw.graphs.AbstractPlot.setUpdateInterval(Duration) may expose internal representation by storing an externally mutable object into AbstractPlot.updateInterval MALICIOUS_CODE EI_EXPOSE_REP2 263 Medium
Inconsistent synchronization of org.opentrafficsim.draw.graphs.AbstractPlot.inUpdate; locked 66% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 275 Medium

org.opentrafficsim.draw.graphs.AbstractSamplerPlot

Bug Category Details Line Priority
new org.opentrafficsim.draw.graphs.AbstractSamplerPlot(String, Duration, PlotScheduler, SamplerData, GraphPath, Duration) may expose internal representation by storing an externally mutable object into AbstractSamplerPlot.samplerData MALICIOUS_CODE EI_EXPOSE_REP2 54 Medium

org.opentrafficsim.draw.graphs.AbstractSpaceTimePlot

Bug Category Details Line Priority
new org.opentrafficsim.draw.graphs.AbstractSpaceTimePlot(String, Duration, PlotScheduler, Duration, Time) may expose internal representation by storing an externally mutable object into AbstractSpaceTimePlot.initialEnd MALICIOUS_CODE EI_EXPOSE_REP2 49 Medium

org.opentrafficsim.draw.graphs.ContourDataSource

Bug Category Details Line Priority
Operation on the "readyItems" shared variable in "ContourDataSource" class is not atomic MT_CORRECTNESS AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE 706 Medium
Shared primitive variable "readyItems" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 620 Medium
org.opentrafficsim.draw.graphs.ContourDataSource.getSamplerData() may expose internal representation by returning ContourDataSource.samplerData MALICIOUS_CODE EI_EXPOSE_REP 260 Medium
new org.opentrafficsim.draw.graphs.ContourDataSource(SamplerData, Duration, GraphPath, double[], int, double[], int, Time, Time) may expose internal representation by storing an externally mutable object into ContourDataSource.delay MALICIOUS_CODE EI_EXPOSE_REP2 237 Medium
new org.opentrafficsim.draw.graphs.ContourDataSource(SamplerData, Duration, GraphPath, double[], int, double[], int, Time, Time) may expose internal representation by storing an externally mutable object into ContourDataSource.samplerData MALICIOUS_CODE EI_EXPOSE_REP2 235 Medium
Inconsistent synchronization of org.opentrafficsim.draw.graphs.ContourDataSource.redo; locked 60% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 659 Medium
Inconsistent synchronization of org.opentrafficsim.draw.graphs.ContourDataSource.smooth; locked 66% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 473 Medium
Inconsistent synchronization of org.opentrafficsim.draw.graphs.ContourDataSource.toTime; locked 42% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 537 Medium
org.opentrafficsim.draw.graphs.ContourDataSource.DEFAULT_SPACE_GRANULARITIES should be package protected MALICIOUS_CODE MS_PKGPROTECT 75 Medium
org.opentrafficsim.draw.graphs.ContourDataSource.DEFAULT_TIME_GRANULARITIES should be package protected MALICIOUS_CODE MS_PKGPROTECT 81 Medium
org.opentrafficsim.draw.graphs.ContourDataSource.getGranularity(ContourDataSource$Dimension) is unsynchronized, org.opentrafficsim.draw.graphs.ContourDataSource.setGranularity(ContourDataSource$Dimension, double) is synchronized MT_CORRECTNESS UG_SYNC_SET_UNSYNC_GET 376 Medium
org.opentrafficsim.draw.graphs.ContourDataSource.setDataInEgtf(double, double, double, double, int, int) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 892 Medium
org.opentrafficsim.draw.graphs.ContourDataSource.update(Duration) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 805 Medium

org.opentrafficsim.draw.graphs.FundamentalDiagram

Bug Category Details Line Priority
Exception thrown in class org.opentrafficsim.draw.graphs.FundamentalDiagram at new org.opentrafficsim.draw.graphs.FundamentalDiagram(String, FundamentalDiagram$Quantity, FundamentalDiagram$Quantity, PlotScheduler, FundamentalDiagram$FdSource, FundamentalDiagram$FdLine) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 98 Medium
org.opentrafficsim.draw.graphs.FundamentalDiagram.getLaneVisible() may expose internal representation by returning FundamentalDiagram.laneVisible MALICIOUS_CODE EI_EXPOSE_REP 1360 Medium
org.opentrafficsim.draw.graphs.FundamentalDiagram.getLegend() may expose internal representation by returning FundamentalDiagram.legend MALICIOUS_CODE EI_EXPOSE_REP 1351 Medium
org.opentrafficsim.draw.graphs.FundamentalDiagram.getSource() may expose internal representation by returning FundamentalDiagram.source MALICIOUS_CODE EI_EXPOSE_REP 1342 Medium
new org.opentrafficsim.draw.graphs.FundamentalDiagram(String, FundamentalDiagram$Quantity, FundamentalDiagram$Quantity, PlotScheduler, FundamentalDiagram$FdSource, FundamentalDiagram$FdLine) may expose internal representation by storing an externally mutable object into FundamentalDiagram.source MALICIOUS_CODE EI_EXPOSE_REP2 107 Medium
org.opentrafficsim.draw.graphs.FundamentalDiagram.DEFAULT_PERIODS should be package protected MALICIOUS_CODE MS_PKGPROTECT 50 Medium
org.opentrafficsim.draw.graphs.FundamentalDiagram.DEFAULT_UPDATE_FREQUENCIES should be package protected MALICIOUS_CODE MS_PKGPROTECT 53 Medium

org.opentrafficsim.draw.graphs.FundamentalDiagram$AbstractSpaceSamplerFdSource

Bug Category Details Line Priority
Shared primitive variable "invalid" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 1046 Medium
Inconsistent synchronization of org.opentrafficsim.draw.graphs.FundamentalDiagram$AbstractSpaceSamplerFdSource.firstMeasurement; locked 75% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 1096 Medium
Inconsistent synchronization of org.opentrafficsim.draw.graphs.FundamentalDiagram$AbstractSpaceSamplerFdSource.secondMeasurement; locked 71% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 1096 Medium

org.opentrafficsim.draw.graphs.FundamentalDiagram$MultiFdSource

Bug Category Details Line Priority
Exception thrown in class org.opentrafficsim.draw.graphs.FundamentalDiagram$MultiFdSource at new org.opentrafficsim.draw.graphs.FundamentalDiagram$MultiFdSource(Map) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 1163 Medium
Possible null pointer dereference of sources in new org.opentrafficsim.draw.graphs.FundamentalDiagram$MultiFdSource(Map) CORRECTNESS NP_NULL_ON_SOME_PATH 1165 Medium

org.opentrafficsim.draw.graphs.GraphCrossSection

Bug Category Details Line Priority
new org.opentrafficsim.draw.graphs.GraphCrossSection(List, GraphPath$Section, List) may expose internal representation by storing an externally mutable object into GraphCrossSection.positions MALICIOUS_CODE EI_EXPOSE_REP2 69 Medium

org.opentrafficsim.draw.graphs.GraphPath

Bug Category Details Line Priority
org.opentrafficsim.draw.graphs.GraphPath.getSpeedLimit() may expose internal representation by returning GraphPath.speedLimit MALICIOUS_CODE EI_EXPOSE_REP 140 Medium
org.opentrafficsim.draw.graphs.GraphPath.getTotalLength() may expose internal representation by returning GraphPath.totalLength MALICIOUS_CODE EI_EXPOSE_REP 131 Medium
new org.opentrafficsim.draw.graphs.GraphPath(List, List) may expose internal representation by storing an externally mutable object into GraphPath.sections MALICIOUS_CODE EI_EXPOSE_REP2 76 Medium

org.opentrafficsim.draw.graphs.GraphPath$Section

Bug Category Details Line Priority
org.opentrafficsim.draw.graphs.GraphPath$Section.length() may expose internal representation by returning GraphPath$Section.length MALICIOUS_CODE EI_EXPOSE_REP 254 Medium
org.opentrafficsim.draw.graphs.GraphPath$Section.sections() may expose internal representation by returning GraphPath$Section.sections MALICIOUS_CODE EI_EXPOSE_REP 254 Medium
org.opentrafficsim.draw.graphs.GraphPath$Section.speedLimit() may expose internal representation by returning GraphPath$Section.speedLimit MALICIOUS_CODE EI_EXPOSE_REP 254 Medium
new org.opentrafficsim.draw.graphs.GraphPath$Section(Length, Speed, List) may expose internal representation by storing an externally mutable object into GraphPath$Section.length MALICIOUS_CODE EI_EXPOSE_REP2 254 Medium
new org.opentrafficsim.draw.graphs.GraphPath$Section(Length, Speed, List) may expose internal representation by storing an externally mutable object into GraphPath$Section.sections MALICIOUS_CODE EI_EXPOSE_REP2 254 Medium
new org.opentrafficsim.draw.graphs.GraphPath$Section(Length, Speed, List) may expose internal representation by storing an externally mutable object into GraphPath$Section.speedLimit MALICIOUS_CODE EI_EXPOSE_REP2 254 Medium

org.opentrafficsim.draw.graphs.GraphUpdater

Bug Category Details Line Priority
Exceptional return value of java.util.concurrent.BlockingQueue.offer(Object) ignored in org.opentrafficsim.draw.graphs.GraphUpdater.offer(Object) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 70 Medium
Exceptional return value of java.util.concurrent.BlockingQueue.offer(Object) ignored in org.opentrafficsim.draw.graphs.GraphUpdater.offer(Runnable) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 79 Medium

org.opentrafficsim.draw.graphs.TrajectoryPlot

Bug Category Details Line Priority
Exception thrown in class org.opentrafficsim.draw.graphs.TrajectoryPlot at new org.opentrafficsim.draw.graphs.TrajectoryPlot(String, Duration, PlotScheduler, SamplerData, GraphPath) 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
org.opentrafficsim.draw.graphs.TrajectoryPlot.getLaneVisible() may expose internal representation by returning TrajectoryPlot.laneVisible MALICIOUS_CODE EI_EXPOSE_REP 503 Medium
org.opentrafficsim.draw.graphs.TrajectoryPlot.getLegend() may expose internal representation by returning TrajectoryPlot.legend MALICIOUS_CODE EI_EXPOSE_REP 494 Medium

org.opentrafficsim.draw.graphs.XyInterpolatedBlockRenderer

Bug Category Details Line Priority
org.opentrafficsim.draw.graphs.XyInterpolatedBlockRenderer doesn't override org.jfree.chart.renderer.xy.XYBlockRenderer.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.opentrafficsim.draw.graphs.XyInterpolatedBlockRenderer$1$1

Bug Category Details Line Priority
Integral division result cast to double or float in org.opentrafficsim.draw.graphs.XyInterpolatedBlockRenderer$1$1.getRaster(int, int, int, int) STYLE ICAST_IDIV_CAST_TO_DOUBLE 178 Medium

org.opentrafficsim.draw.gtu.DefaultCarAnimation$GtuData$GtuMarker

Bug Category Details Line Priority
org.opentrafficsim.draw.gtu.DefaultCarAnimation$GtuData$GtuMarker.getShape() may expose internal representation by returning DefaultCarAnimation$GtuData$GtuMarker.shape MALICIOUS_CODE EI_EXPOSE_REP 407 Medium

org.opentrafficsim.draw.road.BusStopAnimation

Bug Category Details Line Priority
org.opentrafficsim.draw.road.BusStopAnimation.getText() may expose internal representation by returning BusStopAnimation.text MALICIOUS_CODE EI_EXPOSE_REP 59 Medium

org.opentrafficsim.draw.road.LaneAnimation

Bug Category Details Line Priority
org.opentrafficsim.draw.road.LaneAnimation.getText() may expose internal representation by returning LaneAnimation.text MALICIOUS_CODE EI_EXPOSE_REP 66 Medium

org.opentrafficsim.draw.road.LaneDetectorAnimation

Bug Category Details Line Priority
org.opentrafficsim.draw.road.LaneDetectorAnimation.getText() may expose internal representation by returning LaneDetectorAnimation.text MALICIOUS_CODE EI_EXPOSE_REP 103 Medium

org.opentrafficsim.draw.road.TrafficLightAnimation

Bug Category Details Line Priority
org.opentrafficsim.draw.road.TrafficLightAnimation.getText() may expose internal representation by returning TrafficLightAnimation.text MALICIOUS_CODE EI_EXPOSE_REP 58 Medium