PMD Results
The following document contains the results of PMD 7.7.0.
Violations By Priority
Priority 3
org/opentrafficsim/animation/TextWeight.java
| Rule |
Violation |
Line |
| UnnecessaryModifier |
Unnecessary modifier 'final' on method 'getValue': the method is already in a final class |
66 |
org/opentrafficsim/animation/TextWidth.java
| Rule |
Violation |
Line |
| UnnecessaryModifier |
Unnecessary modifier 'final' on method 'getValue': the method is already in a final class |
48 |
org/opentrafficsim/animation/egtf/Egtf.java
org/opentrafficsim/animation/graphs/AbstractPlot.java
org/opentrafficsim/animation/graphs/ContourPlotExtendedData.java
org/opentrafficsim/animation/graphs/FdDataSource.java
org/opentrafficsim/animation/graphs/OffsetTrajectory.java
org/opentrafficsim/animation/graphs/TrajectoryPlot.java
org/opentrafficsim/animation/gtu/DefaultCarAnimation.java
org/opentrafficsim/animation/network/NodeAnimation.java
Priority 4
org/opentrafficsim/animation/data/gis/CoordinateTransformLonLatToXy.java
org/opentrafficsim/animation/graphs/AbstractContourPlot.java
org/opentrafficsim/animation/graphs/AbstractPlot.java
org/opentrafficsim/animation/graphs/DistributionPlotExtendedData.java
| Rule |
Violation |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.graphs.AbstractPlot.PaintState' |
13 |
org/opentrafficsim/animation/graphs/FundamentalDiagram.java
| Rule |
Violation |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.graphs.AbstractPlot.PaintState' |
22 |
org/opentrafficsim/animation/graphs/TrajectoryPlot.java
org/opentrafficsim/animation/gtu/DefaultCarAnimation.java
| Rule |
Violation |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN1' is already in scope because it is inherited by an enclosing type |
239 |
org/opentrafficsim/animation/gtu/PerceptionAnimation.java
org/opentrafficsim/animation/network/LinkAnimation.java
| Rule |
Violation |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
144 |
org/opentrafficsim/animation/network/NodeAnimation.java
| Rule |
Violation |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
106 |
org/opentrafficsim/animation/road/BusStopAnimation.java
| Rule |
Violation |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.road.AbstractLineAnimation.LaneBasedObjectData' |
16 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
86 |
org/opentrafficsim/animation/road/ConflictAnimation.java
| Rule |
Violation |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.road.AbstractLineAnimation.LaneBasedObjectData' |
18 |
org/opentrafficsim/animation/road/GtuGeneratorPositionAnimation.java
| Rule |
Violation |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
102 |
org/opentrafficsim/animation/road/LaneAnimation.java
| Rule |
Violation |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.road.CrossSectionElementAnimation.CrossSectionElementData' |
19 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
222 |
org/opentrafficsim/animation/road/LaneDetectorAnimation.java
| Rule |
Violation |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.road.AbstractLineAnimation.LaneBasedObjectData' |
16 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
106 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
145 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
169 |
org/opentrafficsim/animation/road/TrafficLightAnimation.java
| Rule |
Violation |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.road.AbstractLineAnimation.LaneBasedObjectData' |
12 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
77 |
org/opentrafficsim/animation/road/TrafficLightDetectorAnimation.java
| Rule |
Violation |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
113 |
Files
org/opentrafficsim/animation/TextWeight.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryModifier |
Unnecessary modifier 'final' on method 'getValue': the method is already in a final class |
3 |
66 |
org/opentrafficsim/animation/TextWidth.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryModifier |
Unnecessary modifier 'final' on method 'getValue': the method is already in a final class |
3 |
48 |
org/opentrafficsim/animation/data/gis/CoordinateTransformLonLatToXy.java
org/opentrafficsim/animation/egtf/Egtf.java
org/opentrafficsim/animation/graphs/AbstractContourPlot.java
org/opentrafficsim/animation/graphs/AbstractPlot.java
org/opentrafficsim/animation/graphs/ContourPlotExtendedData.java
org/opentrafficsim/animation/graphs/DistributionPlotExtendedData.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.graphs.AbstractPlot.PaintState' |
4 |
13 |
org/opentrafficsim/animation/graphs/FdDataSource.java
org/opentrafficsim/animation/graphs/FundamentalDiagram.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.graphs.AbstractPlot.PaintState' |
4 |
22 |
org/opentrafficsim/animation/graphs/OffsetTrajectory.java
org/opentrafficsim/animation/graphs/TrajectoryPlot.java
org/opentrafficsim/animation/gtu/DefaultCarAnimation.java
org/opentrafficsim/animation/gtu/PerceptionAnimation.java
org/opentrafficsim/animation/network/LinkAnimation.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
4 |
144 |
org/opentrafficsim/animation/network/NodeAnimation.java
org/opentrafficsim/animation/road/BusStopAnimation.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.road.AbstractLineAnimation.LaneBasedObjectData' |
4 |
16 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
4 |
86 |
org/opentrafficsim/animation/road/ConflictAnimation.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.road.AbstractLineAnimation.LaneBasedObjectData' |
4 |
18 |
org/opentrafficsim/animation/road/GtuGeneratorPositionAnimation.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
4 |
102 |
org/opentrafficsim/animation/road/LaneAnimation.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.road.CrossSectionElementAnimation.CrossSectionElementData' |
4 |
19 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
4 |
222 |
org/opentrafficsim/animation/road/LaneDetectorAnimation.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.road.AbstractLineAnimation.LaneBasedObjectData' |
4 |
16 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
4 |
106 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
4 |
145 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
4 |
169 |
org/opentrafficsim/animation/road/TrafficLightAnimation.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryImport |
Unused import 'org.opentrafficsim.animation.road.AbstractLineAnimation.LaneBasedObjectData' |
4 |
12 |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
4 |
77 |
org/opentrafficsim/animation/road/TrafficLightDetectorAnimation.java
| Rule |
Violation |
Priority |
Line |
| UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'RenderableTextSource': 'RENDERWHEN10' is already in scope because it is inherited by an enclosing type |
4 |
113 |