-
Home
- Project Documentation Project Reports 10
PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 2
org/sentrysoftware/jawk/ext/CoreExtension.java
Rule | Violation | Line |
---|---|---|
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 528 |
Priority 3
org/sentrysoftware/jawk/backend/AVM.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 1767–1778 |
EmptyControlStatement | Empty if statement | 1973–1984 |
EmptyControlStatement | Empty if statement | 1974–1984 |
EmptyControlStatement | Empty if statement | 1975–1984 |
EmptyControlStatement | Empty if statement | 1976–1984 |
EmptyControlStatement | Empty if statement | 1977–1984 |
EmptyControlStatement | Empty if statement | 1978–1984 |
org/sentrysoftware/jawk/ext/CoreExtension.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'block': an anonymous class cannot be extended | 219–225 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 395 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 446 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 494 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 551 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 619 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 641 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 714 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 733 |
org/sentrysoftware/jawk/ext/StdinExtension.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'block': an anonymous class cannot be extended | 117–125 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'run': an anonymous class cannot be extended | 137–164 |
org/sentrysoftware/jawk/frontend/AwkParser.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 334–338 |
EmptyControlStatement | Empty if statement | 3003–3008 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'offset'. | 3975 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'populateTuples': the method is already in a final class | 3980–3982 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isArray': the method is already in a final class | 4051–4053 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isScalar': the method is already in a final class | 4056–4058 |
org/sentrysoftware/jawk/jrt/AssocArray.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 184 |
EmptyCatchBlock | Avoid empty catch blocks | 210–211 |
org/sentrysoftware/jawk/jrt/BlockManager.java
Rule | Violation | Line |
---|---|---|
UselessQualifiedThis | Useless qualified this usage in the same class. | 92 |
UselessQualifiedThis | Useless qualified this usage in the same class. | 102 |
org/sentrysoftware/jawk/jrt/DataPump.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 84–86 |
EmptyCatchBlock | Avoid empty catch blocks | 89 |
org/sentrysoftware/jawk/jrt/JRT.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 226–228 |
EmptyCatchBlock | Avoid empty catch blocks | 370 |
EmptyCatchBlock | Avoid empty catch blocks | 378 |
EmptyControlStatement | Empty if statement | 709–717 |
Priority 4
org/sentrysoftware/jawk/backend/AVM.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 104 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.util.List' due to existing import 'java.util.List' | 113 |
UselessParentheses | Useless parentheses. | 496 |
org/sentrysoftware/jawk/ext/CoreExtension.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 286 |
UselessParentheses | Useless parentheses. | 286 |
org/sentrysoftware/jawk/frontend/AwkParser.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 286 |
UselessParentheses | Useless parentheses. | 295 |
UselessParentheses | Useless parentheses. | 381 |
UselessParentheses | Useless parentheses. | 1199 |
UselessParentheses | Useless parentheses. | 1305 |
UselessParentheses | Useless parentheses. | 1306 |
UselessParentheses | Useless parentheses. | 1307 |
UselessParentheses | Useless parentheses. | 1370 |
UselessParentheses | Useless parentheses. | 1421 |
UselessParentheses | Useless parentheses. | 1447 |
UselessParentheses | Useless parentheses. | 1473 |
UselessParentheses | Useless parentheses. | 1505 |
UselessParentheses | Useless parentheses. | 1841 |
UselessParentheses | Useless parentheses. | 1896 |
UselessParentheses | Useless parentheses. | 1918 |
UselessParentheses | Useless parentheses. | 1931 |
UselessParentheses | Useless parentheses. | 2013 |
UselessParentheses | Useless parentheses. | 2039 |
UselessParentheses | Useless parentheses. | 2518 |
UselessParentheses | Useless parentheses. | 2527 |
UselessParentheses | Useless parentheses. | 2742 |
UselessParentheses | Useless parentheses. | 2802 |
org/sentrysoftware/jawk/intermediate/AwkTuples.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 314 |
UselessParentheses | Useless parentheses. | 335 |
UselessParentheses | Useless parentheses. | 335 |
UselessParentheses | Useless parentheses. | 347 |
UselessParentheses | Useless parentheses. | 350 |
UselessParentheses | Useless parentheses. | 353 |
UselessParentheses | Useless parentheses. | 1887 |
UselessParentheses | Useless parentheses. | 1887 |
UselessParentheses | Useless parentheses. | 1887 |
UselessParentheses | Useless parentheses. | 1887 |
UselessParentheses | Useless parentheses. | 3179 |
org/sentrysoftware/jawk/jrt/AssocArray.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 279 |
UselessParentheses | Useless parentheses. | 280 |
UselessParentheses | Useless parentheses. | 283 |
UselessParentheses | Useless parentheses. | 284 |
org/sentrysoftware/jawk/jrt/JRT.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 96 |
UselessParentheses | Useless parentheses. | 187 |
UselessParentheses | Useless parentheses. | 382 |
UselessParentheses | Useless parentheses. | 382 |
UselessParentheses | Useless parentheses. | 384 |
UselessParentheses | Useless parentheses. | 386 |
UselessParentheses | Useless parentheses. | 388 |
UselessParentheses | Useless parentheses. | 418 |
UselessParentheses | Useless parentheses. | 494 |
UselessParentheses | Useless parentheses. | 1081 |
UselessParentheses | Useless parentheses. | 1357 |
UselessParentheses | Useless parentheses. | 1358 |
org/sentrysoftware/jawk/jrt/PartitioningReader.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 166 |
org/sentrysoftware/jawk/util/ScriptFileSource.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 71 |
UselessParentheses | Useless parentheses. | 86 |
Files
org/sentrysoftware/jawk/backend/AVM.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 104 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.util.List' due to existing import 'java.util.List' | 4 | 113 |
UselessParentheses | Useless parentheses. | 4 | 496 |
EmptyControlStatement | Empty if statement | 3 | 1767–1778 |
EmptyControlStatement | Empty if statement | 3 | 1973–1984 |
EmptyControlStatement | Empty if statement | 3 | 1974–1984 |
EmptyControlStatement | Empty if statement | 3 | 1975–1984 |
EmptyControlStatement | Empty if statement | 3 | 1976–1984 |
EmptyControlStatement | Empty if statement | 3 | 1977–1984 |
EmptyControlStatement | Empty if statement | 3 | 1978–1984 |
org/sentrysoftware/jawk/ext/CoreExtension.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'block': an anonymous class cannot be extended | 3 | 219–225 |
UselessParentheses | Useless parentheses. | 4 | 286 |
UselessParentheses | Useless parentheses. | 4 | 286 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 3 | 395 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 3 | 446 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 3 | 494 |
AvoidBranchingStatementAsLastInLoop | Avoid using a branching statement as the last in a loop. | 2 | 528 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 3 | 551 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 3 | 619 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 3 | 641 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 3 | 714 |
UnusedFormalParameter | Avoid unused method parameters such as 'vm'. | 3 | 733 |
org/sentrysoftware/jawk/ext/StdinExtension.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'block': an anonymous class cannot be extended | 3 | 117–125 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'run': an anonymous class cannot be extended | 3 | 137–164 |
org/sentrysoftware/jawk/frontend/AwkParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 286 |
UselessParentheses | Useless parentheses. | 4 | 295 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 334–338 |
UselessParentheses | Useless parentheses. | 4 | 381 |
UselessParentheses | Useless parentheses. | 4 | 1199 |
UselessParentheses | Useless parentheses. | 4 | 1305 |
UselessParentheses | Useless parentheses. | 4 | 1306 |
UselessParentheses | Useless parentheses. | 4 | 1307 |
UselessParentheses | Useless parentheses. | 4 | 1370 |
UselessParentheses | Useless parentheses. | 4 | 1421 |
UselessParentheses | Useless parentheses. | 4 | 1447 |
UselessParentheses | Useless parentheses. | 4 | 1473 |
UselessParentheses | Useless parentheses. | 4 | 1505 |
UselessParentheses | Useless parentheses. | 4 | 1841 |
UselessParentheses | Useless parentheses. | 4 | 1896 |
UselessParentheses | Useless parentheses. | 4 | 1918 |
UselessParentheses | Useless parentheses. | 4 | 1931 |
UselessParentheses | Useless parentheses. | 4 | 2013 |
UselessParentheses | Useless parentheses. | 4 | 2039 |
UselessParentheses | Useless parentheses. | 4 | 2518 |
UselessParentheses | Useless parentheses. | 4 | 2527 |
UselessParentheses | Useless parentheses. | 4 | 2742 |
UselessParentheses | Useless parentheses. | 4 | 2802 |
EmptyControlStatement | Empty if statement | 3 | 3003–3008 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'offset'. | 3 | 3975 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'populateTuples': the method is already in a final class | 3 | 3980–3982 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isArray': the method is already in a final class | 3 | 4051–4053 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'isScalar': the method is already in a final class | 3 | 4056–4058 |
org/sentrysoftware/jawk/intermediate/AwkTuples.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 314 |
UselessParentheses | Useless parentheses. | 4 | 335 |
UselessParentheses | Useless parentheses. | 4 | 335 |
UselessParentheses | Useless parentheses. | 4 | 347 |
UselessParentheses | Useless parentheses. | 4 | 350 |
UselessParentheses | Useless parentheses. | 4 | 353 |
UselessParentheses | Useless parentheses. | 4 | 1887 |
UselessParentheses | Useless parentheses. | 4 | 1887 |
UselessParentheses | Useless parentheses. | 4 | 1887 |
UselessParentheses | Useless parentheses. | 4 | 1887 |
UselessParentheses | Useless parentheses. | 4 | 3179 |
org/sentrysoftware/jawk/jrt/AssocArray.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 184 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 210–211 |
UselessParentheses | Useless parentheses. | 4 | 279 |
UselessParentheses | Useless parentheses. | 4 | 280 |
UselessParentheses | Useless parentheses. | 4 | 283 |
UselessParentheses | Useless parentheses. | 4 | 284 |
org/sentrysoftware/jawk/jrt/BlockManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 92 |
UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 102 |
org/sentrysoftware/jawk/jrt/DataPump.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 84–86 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 89 |
org/sentrysoftware/jawk/jrt/JRT.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 96 |
UselessParentheses | Useless parentheses. | 4 | 187 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 226–228 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 370 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 378 |
UselessParentheses | Useless parentheses. | 4 | 382 |
UselessParentheses | Useless parentheses. | 4 | 382 |
UselessParentheses | Useless parentheses. | 4 | 384 |
UselessParentheses | Useless parentheses. | 4 | 386 |
UselessParentheses | Useless parentheses. | 4 | 388 |
UselessParentheses | Useless parentheses. | 4 | 418 |
UselessParentheses | Useless parentheses. | 4 | 494 |
EmptyControlStatement | Empty if statement | 3 | 709–717 |
UselessParentheses | Useless parentheses. | 4 | 1081 |
UselessParentheses | Useless parentheses. | 4 | 1357 |
UselessParentheses | Useless parentheses. | 4 | 1358 |
org/sentrysoftware/jawk/jrt/PartitioningReader.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 166 |
org/sentrysoftware/jawk/util/ScriptFileSource.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 71 |
UselessParentheses | Useless parentheses. | 4 | 86 |
Suppressed Violations
Filename | Rule message | Suppression type | Reason |
---|---|---|---|
org/sentrysoftware/jawk/backend/AVM.java | Avoid unused private methods such as 'setFilelistVariable(String)'. | annotation | |
org/sentrysoftware/jawk/ext/CoreExtension.java | Avoid unused private methods such as 'toScalar(AssocArray)'. | annotation | |
org/sentrysoftware/jawk/ext/CoreExtension.java | Avoid unused private methods such as 'get(AssocArray,AssocArray,Object)'. | annotation | |
org/sentrysoftware/jawk/frontend/AwkParser.java | Avoid unused private methods such as 'isExtensionConditionRule(AST)'. | annotation | |
org/sentrysoftware/jawk/intermediate/AwkTuples.java | Avoid unused private methods such as 'setOpcode(int)'. | annotation | |
org/sentrysoftware/jawk/util/AwkSettings.java | Avoid unused private methods such as 'addInitialVariable(String)'. | annotation |
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.