The following document contains the results of PMD 6.21.0.
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 300–302 |
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'lane'. | 248 |
UnusedLocalVariable | Avoid unused local variables such as 'gtuClass'. | 249 |
UnusedLocalVariable | Avoid unused local variables such as 'rg'. | 255 |
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'linkDirection'. | 208 |
UnusedLocalVariable | Avoid unused local variables such as 'color'. | 219 |
UnusedLocalVariable | Avoid unused local variables such as 'color'. | 332 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 168–171 |
UnusedLocalVariable | Avoid unused local variables such as 'connectoTagValues'. | 211 |
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'started'. | 92 |
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 40–43 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 91 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 495 |
UselessParentheses | Useless parentheses. | 537 |
UselessParentheses | Useless parentheses. | 572 |
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 117 |
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.opentrafficsim.road.network.factory.vissim.xsd.ROUTE' due to existing same package import 'org.opentrafficsim.road.network.factory.vissim.xsd.*' | 126 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.opentrafficsim.road.network.factory.vissim.xsd.ROUTE' due to existing same package import 'org.opentrafficsim.road.network.factory.vissim.xsd.*' | 128 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.opentrafficsim.road.network.factory.vissim.xsd.GTU' due to existing same package import 'org.opentrafficsim.road.network.factory.vissim.xsd.*' | 198 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.opentrafficsim.road.network.factory.vissim.xsd.GTU' due to existing same package import 'org.opentrafficsim.road.network.factory.vissim.xsd.*' | 200 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.opentrafficsim.road.network.factory.vissim.xsd.SHORTESTROUTE' due to existing same package import 'org.opentrafficsim.road.network.factory.vissim.xsd.*' | 396 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.opentrafficsim.road.network.factory.vissim.xsd.SHORTESTROUTE' due to existing same package import 'org.opentrafficsim.road.network.factory.vissim.xsd.*' | 398 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 91 |
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyIfStmt | Avoid empty if statements | 3 | 300–302 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'lane'. | 3 | 248 |
UnusedLocalVariable | Avoid unused local variables such as 'gtuClass'. | 3 | 249 |
UnusedLocalVariable | Avoid unused local variables such as 'rg'. | 3 | 255 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 495 |
UselessParentheses | Useless parentheses. | 4 | 537 |
UselessParentheses | Useless parentheses. | 4 | 572 |
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 117 |
UnusedLocalVariable | Avoid unused local variables such as 'linkDirection'. | 3 | 208 |
UnusedLocalVariable | Avoid unused local variables such as 'color'. | 3 | 219 |
UnusedLocalVariable | Avoid unused local variables such as 'color'. | 3 | 332 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 168–171 |
UnusedLocalVariable | Avoid unused local variables such as 'connectoTagValues'. | 3 | 211 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'started'. | 3 | 92 |
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 40–43 |
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.opentrafficsim.road.network.factory.vissim.xsd.ROUTE' due to existing same package import 'org.opentrafficsim.road.network.factory.vissim.xsd.*' | 4 | 126 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.opentrafficsim.road.network.factory.vissim.xsd.ROUTE' due to existing same package import 'org.opentrafficsim.road.network.factory.vissim.xsd.*' | 4 | 128 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.opentrafficsim.road.network.factory.vissim.xsd.GTU' due to existing same package import 'org.opentrafficsim.road.network.factory.vissim.xsd.*' | 4 | 198 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.opentrafficsim.road.network.factory.vissim.xsd.GTU' due to existing same package import 'org.opentrafficsim.road.network.factory.vissim.xsd.*' | 4 | 200 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.opentrafficsim.road.network.factory.vissim.xsd.SHORTESTROUTE' due to existing same package import 'org.opentrafficsim.road.network.factory.vissim.xsd.*' | 4 | 396 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.opentrafficsim.road.network.factory.vissim.xsd.SHORTESTROUTE' due to existing same package import 'org.opentrafficsim.road.network.factory.vissim.xsd.*' | 4 | 398 |