PMD Results

The following document contains the results of PMD 7.3.0.

Violations By Priority

Priority 3

org/opentrafficsim/animation/DefaultAnimationFactory.java

Rule Violation Line
UnnecessaryReturn Unnecessary return statement 329

Priority 4

org/opentrafficsim/animation/gis/CoordinateTransformLonLatToXy.java

Rule Violation Line
UselessParentheses Useless parentheses. 83

org/opentrafficsim/animation/gtu/colorer/DefaultSwitchableGtuColorer.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DefaultSwitchableGtuColorer': 'COLORERS' is already in scope because it is declared in an enclosing type 40

Files

org/opentrafficsim/animation/DefaultAnimationFactory.java

Rule Violation Priority Line
UnnecessaryReturn Unnecessary return statement 3 329

org/opentrafficsim/animation/gis/CoordinateTransformLonLatToXy.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 83

org/opentrafficsim/animation/gtu/colorer/DefaultSwitchableGtuColorer.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'DefaultSwitchableGtuColorer': 'COLORERS' is already in scope because it is declared in an enclosing type 4 40