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 17671778
EmptyControlStatement Empty if statement 19731984
EmptyControlStatement Empty if statement 19741984
EmptyControlStatement Empty if statement 19751984
EmptyControlStatement Empty if statement 19761984
EmptyControlStatement Empty if statement 19771984
EmptyControlStatement Empty if statement 19781984
org/sentrysoftware/jawk/ext/CoreExtension.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on method 'block': an anonymous class cannot be extended 219225
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 117125
UnnecessaryModifier Unnecessary modifier 'final' on method 'run': an anonymous class cannot be extended 137164
org/sentrysoftware/jawk/frontend/AwkParser.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 334338
EmptyControlStatement Empty if statement 30033008
UnusedFormalParameter Avoid unused constructor parameters such as 'offset'. 3975
UnnecessaryModifier Unnecessary modifier 'final' on method 'populateTuples': the method is already in a final class 39803982
UnnecessaryModifier Unnecessary modifier 'final' on method 'isArray': the method is already in a final class 40514053
UnnecessaryModifier Unnecessary modifier 'final' on method 'isScalar': the method is already in a final class 40564058
org/sentrysoftware/jawk/jrt/AssocArray.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 184
EmptyCatchBlock Avoid empty catch blocks 210211
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 8486
EmptyCatchBlock Avoid empty catch blocks 89
org/sentrysoftware/jawk/jrt/JRT.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 226228
EmptyCatchBlock Avoid empty catch blocks 370
EmptyCatchBlock Avoid empty catch blocks 378
EmptyControlStatement Empty if statement 709717

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 17671778
EmptyControlStatement Empty if statement 3 19731984
EmptyControlStatement Empty if statement 3 19741984
EmptyControlStatement Empty if statement 3 19751984
EmptyControlStatement Empty if statement 3 19761984
EmptyControlStatement Empty if statement 3 19771984
EmptyControlStatement Empty if statement 3 19781984

org/sentrysoftware/jawk/ext/CoreExtension.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on method 'block': an anonymous class cannot be extended 3 219225
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 117125
UnnecessaryModifier Unnecessary modifier 'final' on method 'run': an anonymous class cannot be extended 3 137164

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 334338
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 30033008
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 39803982
UnnecessaryModifier Unnecessary modifier 'final' on method 'isArray': the method is already in a final class 3 40514053
UnnecessaryModifier Unnecessary modifier 'final' on method 'isScalar': the method is already in a final class 3 40564058

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 210211
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 8486
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 226228
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 709717
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
No results.