PMD Results

The following document contains the results of PMD 7.3.0.

Violations By Priority

Priority 4

nl/tudelft/simulation/language/concurrent/Monitor.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'lock' is already in scope 41
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'locks' is already in scope because it is declared in an enclosing type 51
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'get' is already in scope 53
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'locks' is already in scope because it is declared in an enclosing type 55
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'get' is already in scope 59
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'locks' is already in scope because it is declared in an enclosing type 69
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'unlock' is already in scope 82
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'locks' is already in scope because it is declared in an enclosing type 92
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'get' is already in scope 94
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'locks' is already in scope because it is declared in an enclosing type 107

nl/tudelft/simulation/language/concurrent/WorkerThread.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'NORM_PRIORITY' is already in scope because it is inherited by an enclosing type 42
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'interrupted' is already in scope 93

nl/tudelft/simulation/language/d2/Circle.java

Rule Violation Line
UselessParentheses Useless parentheses. 50
UselessParentheses Useless parentheses. 51

nl/tudelft/simulation/language/d2/DirectionalLine.java

Rule Violation Line
UselessParentheses Useless parentheses. 156
UselessParentheses Useless parentheses. 169

nl/tudelft/simulation/language/d2/Shape.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Shape': 'contains' is already in scope 61
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Shape': 'contains' is already in scope 61
UselessParentheses Useless parentheses. 7273

nl/tudelft/simulation/language/d2/Shape2d.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Shape2d': 'contains' is already in scope 61
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Shape2d': 'contains' is already in scope 61
UselessParentheses Useless parentheses. 7273

nl/tudelft/simulation/language/d3/CartesianPoint.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'CartesianPoint': 'toSphericalPoint' is already in scope 67

nl/tudelft/simulation/language/d3/SphericalPoint.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SphericalPoint': 'toCartesianPoint' is already in scope 75

nl/tudelft/simulation/language/util/BitUtil.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BitUtil': 'fromInteger' is already in scope 63
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BitUtil': 'fromByteArray' is already in scope 77
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BitUtil': 'toByteArray' is already in scope 91

Files

nl/tudelft/simulation/language/concurrent/Monitor.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'lock' is already in scope 4 41
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'locks' is already in scope because it is declared in an enclosing type 4 51
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'get' is already in scope 4 53
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'locks' is already in scope because it is declared in an enclosing type 4 55
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'get' is already in scope 4 59
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'locks' is already in scope because it is declared in an enclosing type 4 69
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'unlock' is already in scope 4 82
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'locks' is already in scope because it is declared in an enclosing type 4 92
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'get' is already in scope 4 94
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Monitor': 'locks' is already in scope because it is declared in an enclosing type 4 107

nl/tudelft/simulation/language/concurrent/WorkerThread.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'NORM_PRIORITY' is already in scope because it is inherited by an enclosing type 4 42
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Thread': 'interrupted' is already in scope 4 93

nl/tudelft/simulation/language/d2/Circle.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 50
UselessParentheses Useless parentheses. 4 51

nl/tudelft/simulation/language/d2/DirectionalLine.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 156
UselessParentheses Useless parentheses. 4 169

nl/tudelft/simulation/language/d2/Shape.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Shape': 'contains' is already in scope 4 61
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Shape': 'contains' is already in scope 4 61
UselessParentheses Useless parentheses. 4 7273

nl/tudelft/simulation/language/d2/Shape2d.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Shape2d': 'contains' is already in scope 4 61
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Shape2d': 'contains' is already in scope 4 61
UselessParentheses Useless parentheses. 4 7273

nl/tudelft/simulation/language/d3/CartesianPoint.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'CartesianPoint': 'toSphericalPoint' is already in scope 4 67

nl/tudelft/simulation/language/d3/SphericalPoint.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SphericalPoint': 'toCartesianPoint' is already in scope 4 75

nl/tudelft/simulation/language/util/BitUtil.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BitUtil': 'fromInteger' is already in scope 4 63
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BitUtil': 'fromByteArray' is already in scope 4 77
UnnecessaryFullyQualifiedName Unnecessary qualifier 'BitUtil': 'toByteArray' is already in scope 4 91