PMD Results
The following document contains the results of PMD 7.3.0.
Violations By Priority
Priority 3
org/opentrafficsim/road/network/factory/xml/parser/DemandParser.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 265–268 |
EmptyCatchBlock | Avoid empty catch blocks | 282–285 |
org/opentrafficsim/road/network/factory/xml/parser/ModelParser.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'Factory': member interfaces are implicitly static | 856 |
org/opentrafficsim/road/network/factory/xml/parser/NetworkParser.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 378–382 |
org/opentrafficsim/road/network/factory/xml/parser/ScenarioParser.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'ScenariosWrapper': member interfaces are implicitly static | 255 |
UnnecessaryModifier | Unnecessary modifier 'static' on record 'ParameterWrapper': records are implicitly static | 281 |
org/opentrafficsim/road/network/factory/xml/parser/XmlParser.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'buildConflicts'. | 238 |
org/opentrafficsim/road/network/factory/xml/utils/RoadLayoutOffsets.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on record 'OffsetElement': records are implicitly static | 264 |
org/opentrafficsim/xml/bindings/types/EncodingType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Encoding': nested enums are implicitly static | 42 |
org/opentrafficsim/xml/bindings/types/GraphicsTypeType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'GraphicsType': nested enums are implicitly static | 43 |
Priority 4
org/opentrafficsim/road/network/factory/xml/parser/ControlParser.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is imported in this file | 127 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is imported in this file | 136 |
org/opentrafficsim/road/network/factory/xml/parser/DefinitionsParser.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'GtuTemplate' is already in scope because it is imported in this file | 90 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'GtuTemplate' is already in scope because it is imported in this file | 94 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'RoadLayout' is already in scope because it is imported in this file | 102 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'RoadLayout' is already in scope because it is imported in this file | 106 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'GtuTemplate' is already in scope because it is imported in this file | 134 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'RoadLayout' is already in scope because it is imported in this file | 136 |
org/opentrafficsim/road/network/factory/xml/parser/DemandParser.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 210 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'GtuTemplateMix' is already in scope because it is imported in this file | 517 |
org/opentrafficsim/road/network/factory/xml/parser/ModelParser.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 172 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 174 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 175 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 179 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 181 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 182 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 194 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 196 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 197 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 201 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 203 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 204 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 208 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 210 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 211 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 228 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 230 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 231 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 243 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 245 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 246 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 258 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 260 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 261 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 272 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 274 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 275 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 287 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 289 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 290 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 305 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 307 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 308 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 329 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 557 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'PerceptionType' is already in scope because it is imported in this file | 947 |
org/opentrafficsim/road/network/factory/xml/parser/OdParser.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 340–341 |
UselessParentheses | Useless parentheses. | 345–346 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'OdParser': 'getModelId' is already in scope | 551 |
org/opentrafficsim/road/network/factory/xml/parser/ScenarioParser.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 124 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 126 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 127 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 130 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 132 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 133 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 136 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 138 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 139 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 142 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 144 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 145 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 148 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 150 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 151 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 154 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 156 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 157 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 160 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 162 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 163 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 166 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 168 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 169 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 172 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 174 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 175 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 178 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 180 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 181 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 184 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 186 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 187 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 190 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 192 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 193 |
org/opentrafficsim/xml/bindings/StaticFieldNameAdapter.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 48 |
org/opentrafficsim/xml/generated/AccelerationDistType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 43 |
org/opentrafficsim/xml/generated/BasicRoadLayout.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 58 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'RoadLayout' is already in scope because it is declared in the same package | 59 |
org/opentrafficsim/xml/generated/ConstantDistType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 211 |
org/opentrafficsim/xml/generated/ControlType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 74 |
org/opentrafficsim/xml/generated/DiscreteDistType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 127 |
org/opentrafficsim/xml/generated/DurationDistType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 43 |
org/opentrafficsim/xml/generated/FrequencyDistType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 43 |
org/opentrafficsim/xml/generated/LengthDistType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 43 |
org/opentrafficsim/xml/generated/LinearDensityDistType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 43 |
org/opentrafficsim/xml/generated/ModelType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 451 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 548 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 561 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 3110 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 3114 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 3118 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 3122 |
org/opentrafficsim/xml/generated/ObjectFactory.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 66 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 67 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 74 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 75 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Od' is already in scope because it is declared in the same package | 90 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Od' is already in scope because it is declared in the same package | 91 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ShortestRoute' is already in scope because it is declared in the same package | 114 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ShortestRoute' is already in scope because it is declared in the same package | 115 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ShortestRoute' is already in scope because it is declared in the same package | 226 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ShortestRoute' is already in scope because it is declared in the same package | 227 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 314 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 315 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 322 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 323 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 330 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 331 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'GtuTemplate' is already in scope because it is declared in the same package | 410 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'GtuTemplate' is already in scope because it is declared in the same package | 411 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'LaneBiases' is already in scope because it is declared in the same package | 490 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'LaneBiases' is already in scope because it is declared in the same package | 491 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'RoadLayout' is already in scope because it is declared in the same package | 546 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'RoadLayout' is already in scope because it is declared in the same package | 547 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 794 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 795 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 802 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 803 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 810 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 811 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 818 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 819 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 826 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 827 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 834 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 835 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Od' is already in scope because it is declared in the same package | 874 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Od' is already in scope because it is declared in the same package | 875 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Route' is already in scope because it is declared in the same package | 898 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Route' is already in scope because it is declared in the same package | 899 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ShortestRoute' is already in scope because it is declared in the same package | 1362 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ShortestRoute' is already in scope because it is declared in the same package | 1363 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 1634 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 1635 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 1642 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 1643 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 1650 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 1651 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 1889 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 1889 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 1890 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 1890 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 1902 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 1902 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 1903 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 1903 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 1928 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 1930 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 1941 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 1944 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 1955 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 1958 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 1969 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 1972 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 1983 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 1986 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 1997 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 1999 |
org/opentrafficsim/xml/generated/ParseType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ParseType': 'values' is already in scope | 51 |
org/opentrafficsim/xml/generated/ResponsiveControlType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 94 |
org/opentrafficsim/xml/generated/SpeedDistType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 43 |
Files
org/opentrafficsim/road/network/factory/xml/parser/ControlParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is imported in this file | 4 | 127 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is imported in this file | 4 | 136 |
org/opentrafficsim/road/network/factory/xml/parser/DefinitionsParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'GtuTemplate' is already in scope because it is imported in this file | 4 | 90 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'GtuTemplate' is already in scope because it is imported in this file | 4 | 94 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'RoadLayout' is already in scope because it is imported in this file | 4 | 102 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'RoadLayout' is already in scope because it is imported in this file | 4 | 106 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'GtuTemplate' is already in scope because it is imported in this file | 4 | 134 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'RoadLayout' is already in scope because it is imported in this file | 4 | 136 |
org/opentrafficsim/road/network/factory/xml/parser/DemandParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 210 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 265–268 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 282–285 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'GtuTemplateMix' is already in scope because it is imported in this file | 4 | 517 |
org/opentrafficsim/road/network/factory/xml/parser/ModelParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 172 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 174 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 175 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 179 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 181 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 182 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 194 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 196 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 197 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 201 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 203 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 204 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 208 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 210 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 211 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 228 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 230 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 231 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 243 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 245 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 246 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 258 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 260 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 261 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 272 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 274 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 275 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 287 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 289 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 290 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 305 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 307 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 308 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 329 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is imported in this file | 4 | 557 |
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'Factory': member interfaces are implicitly static | 3 | 856 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'PerceptionType' is already in scope because it is imported in this file | 4 | 947 |
org/opentrafficsim/road/network/factory/xml/parser/NetworkParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 378–382 |
org/opentrafficsim/road/network/factory/xml/parser/OdParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 340–341 |
UselessParentheses | Useless parentheses. | 4 | 345–346 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'OdParser': 'getModelId' is already in scope | 4 | 551 |
org/opentrafficsim/road/network/factory/xml/parser/ScenarioParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 124 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 126 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 127 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 130 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 132 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 133 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 136 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 138 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 139 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 142 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 144 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 145 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 148 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 150 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 151 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 154 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 156 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 157 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 160 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 162 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 163 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 166 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 168 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 169 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 172 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 174 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 175 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 178 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 180 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 181 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 184 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 186 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 187 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 190 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 192 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'InputParameters' is already in scope because it is imported in this file | 4 | 193 |
UnnecessaryModifier | Unnecessary modifier 'static' on interface 'ScenariosWrapper': member interfaces are implicitly static | 3 | 255 |
UnnecessaryModifier | Unnecessary modifier 'static' on record 'ParameterWrapper': records are implicitly static | 3 | 281 |
org/opentrafficsim/road/network/factory/xml/parser/XmlParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'buildConflicts'. | 3 | 238 |
org/opentrafficsim/road/network/factory/xml/utils/RoadLayoutOffsets.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on record 'OffsetElement': records are implicitly static | 3 | 264 |
org/opentrafficsim/xml/bindings/StaticFieldNameAdapter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 48 |
org/opentrafficsim/xml/bindings/types/EncodingType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'Encoding': nested enums are implicitly static | 3 | 42 |
org/opentrafficsim/xml/bindings/types/GraphicsTypeType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'static' on enum 'GraphicsType': nested enums are implicitly static | 3 | 43 |
org/opentrafficsim/xml/generated/AccelerationDistType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 4 | 43 |
org/opentrafficsim/xml/generated/BasicRoadLayout.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 58 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'RoadLayout' is already in scope because it is declared in the same package | 4 | 59 |
org/opentrafficsim/xml/generated/ConstantDistType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 4 | 211 |
org/opentrafficsim/xml/generated/ControlType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 74 |
org/opentrafficsim/xml/generated/DiscreteDistType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 4 | 127 |
org/opentrafficsim/xml/generated/DurationDistType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 4 | 43 |
org/opentrafficsim/xml/generated/FrequencyDistType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 4 | 43 |
org/opentrafficsim/xml/generated/LengthDistType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 4 | 43 |
org/opentrafficsim/xml/generated/LinearDensityDistType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 4 | 43 |
org/opentrafficsim/xml/generated/ModelType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 451 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 548 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 561 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 3110 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 3114 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 3118 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 3122 |
org/opentrafficsim/xml/generated/ObjectFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 66 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 67 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 74 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 75 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Od' is already in scope because it is declared in the same package | 4 | 90 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Od' is already in scope because it is declared in the same package | 4 | 91 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ShortestRoute' is already in scope because it is declared in the same package | 4 | 114 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ShortestRoute' is already in scope because it is declared in the same package | 4 | 115 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ShortestRoute' is already in scope because it is declared in the same package | 4 | 226 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ShortestRoute' is already in scope because it is declared in the same package | 4 | 227 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 314 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 315 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 322 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 323 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 330 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 331 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'GtuTemplate' is already in scope because it is declared in the same package | 4 | 410 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'GtuTemplate' is already in scope because it is declared in the same package | 4 | 411 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'LaneBiases' is already in scope because it is declared in the same package | 4 | 490 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'LaneBiases' is already in scope because it is declared in the same package | 4 | 491 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'RoadLayout' is already in scope because it is declared in the same package | 4 | 546 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'RoadLayout' is already in scope because it is declared in the same package | 4 | 547 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 794 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 795 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 802 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 803 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 810 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 811 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 818 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 819 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 826 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 827 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 834 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 835 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Od' is already in scope because it is declared in the same package | 4 | 874 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Od' is already in scope because it is declared in the same package | 4 | 875 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Route' is already in scope because it is declared in the same package | 4 | 898 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Route' is already in scope because it is declared in the same package | 4 | 899 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ShortestRoute' is already in scope because it is declared in the same package | 4 | 1362 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ShortestRoute' is already in scope because it is declared in the same package | 4 | 1363 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 1634 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 1635 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 1642 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 1643 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 1650 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 1651 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 1889 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 1889 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 1890 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 1890 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 1902 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 1902 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 1903 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang | 4 | 1903 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 1928 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 1930 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 1941 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 1944 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 1955 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 1958 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 1969 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 1972 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 1983 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 1986 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 1997 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Link' is already in scope because it is declared in the same package | 4 | 1999 |
org/opentrafficsim/xml/generated/ParseType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ParseType': 'values' is already in scope | 4 | 51 |
org/opentrafficsim/xml/generated/ResponsiveControlType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'Control' is already in scope because it is declared in the same package | 4 | 94 |
org/opentrafficsim/xml/generated/SpeedDistType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.opentrafficsim.xml.generated': 'ModelType' is already in scope because it is declared in the same package | 4 | 43 |