##### Problems found :: Version: 6.53.0 @ 2023-01-24T10:02:08.431

File # | Issue # | File | Line | Priority | Category | Problem
--- | --- | --- | --- | --- | --- | ---
1 | 1 | net/sourceforge/pmd/PMD.java | 154 | 2 | Best Practices | GuardLogStatement
1 | 2 | net/sourceforge/pmd/PMD.java | 249 | 2 | Best Practices | GuardLogStatement
1 | 3 | net/sourceforge/pmd/PMD.java | 459 | 2 | Best Practices | GuardLogStatement
1 | 4 | net/sourceforge/pmd/PMD.java | 460 | 2 | Best Practices | GuardLogStatement
2 | 1 | net/sourceforge/pmd/PmdAnalysis.java | 294 | 2 | Best Practices | GuardLogStatement
3 | 1 | net/sourceforge/pmd/RuleSet.java | 230 | 2 | Best Practices | GuardLogStatement
3 | 2 | net/sourceforge/pmd/RuleSet.java | 559 | 2 | Best Practices | GuardLogStatement
4 | 1 | net/sourceforge/pmd/RuleSetFactory.java | 436 | 2 | Best Practices | GuardLogStatement
4 | 2 | net/sourceforge/pmd/RuleSetFactory.java | 572 | 2 | Best Practices | GuardLogStatement
4 | 3 | net/sourceforge/pmd/RuleSetFactory.java | 593 | 2 | Best Practices | GuardLogStatement
4 | 4 | net/sourceforge/pmd/RuleSetFactory.java | 602 | 2 | Best Practices | GuardLogStatement
4 | 5 | net/sourceforge/pmd/RuleSetFactory.java | 605 | 2 | Best Practices | GuardLogStatement
4 | 6 | net/sourceforge/pmd/RuleSetFactory.java | 636 | 2 | Best Practices | GuardLogStatement
4 | 7 | net/sourceforge/pmd/RuleSetFactory.java | 746 | 2 | Best Practices | GuardLogStatement
5 | 1 | net/sourceforge/pmd/RuleSetLoader.java | 217 | 2 | Best Practices | GuardLogStatement
6 | 1 | net/sourceforge/pmd/RuleSetReferenceId.java | 199 | 2 | Best Practices | GuardLogStatement
7 | 1 | net/sourceforge/pmd/SourceCodeProcessor.java | 122 | 2 | Best Practices | GuardLogStatement
8 | 1 | net/sourceforge/pmd/ant/Formatter.java | 189 | 3 | Error Prone | CloseResource
9 | 1 | net/sourceforge/pmd/benchmark/Benchmarker.java | 59 | 3 | Best Practices | ForLoopCanBeForeach
10 | 1 | net/sourceforge/pmd/benchmark/StringBuilderCR.java | 17 | 3 | Best Practices | AvoidStringBufferField
11 | 1 | net/sourceforge/pmd/cache/AbstractAnalysisCache.java | 84 | 2 | Best Practices | GuardLogStatement
12 | 1 | net/sourceforge/pmd/cache/FileAnalysisCache.java | 94 | 2 | Best Practices | GuardLogStatement
12 | 2 | net/sourceforge/pmd/cache/FileAnalysisCache.java | 96 | 2 | Best Practices | GuardLogStatement
12 | 3 | net/sourceforge/pmd/cache/FileAnalysisCache.java | 149 | 2 | Best Practices | GuardLogStatement
13 | 1 | net/sourceforge/pmd/cache/internal/RawFileFingerprinter.java | 43 | 3 | Code Style | EmptyControlStatement
13 | 2 | net/sourceforge/pmd/cache/internal/RawFileFingerprinter.java | 47 | 2 | Best Practices | GuardLogStatement
14 | 1 | net/sourceforge/pmd/cache/internal/ZipFileFingerprinter.java | 83 | 2 | Best Practices | GuardLogStatement
15 | 1 | net/sourceforge/pmd/cli/PMDCommandLineInterface.java | 120 | 1 | Code Style | LocalVariableNamingConventions
15 | 2 | net/sourceforge/pmd/cli/PMDCommandLineInterface.java | 127 | 1 | Code Style | LocalVariableNamingConventions
16 | 1 | net/sourceforge/pmd/cpd/AntlrTokenizer.java | 44 | 3 | Best Practices | PreserveStackTrace
17 | 1 | net/sourceforge/pmd/cpd/CPD.java | 63 | 2 | Best Practices | GuardLogStatement
17 | 2 | net/sourceforge/pmd/cpd/CPD.java | 66 | 2 | Best Practices | GuardLogStatement
17 | 3 | net/sourceforge/pmd/cpd/CPD.java | 91 | 2 | Best Practices | GuardLogStatement
17 | 4 | net/sourceforge/pmd/cpd/CPD.java | 130 | 2 | Best Practices | GuardLogStatement
17 | 5 | net/sourceforge/pmd/cpd/CPD.java | 157 | 2 | Best Practices | GuardLogStatement
17 | 6 | net/sourceforge/pmd/cpd/CPD.java | 251 | 2 | Best Practices | GuardLogStatement
18 | 1 | net/sourceforge/pmd/cpd/CPDCommandLineInterface.java | 101 | 2 | Best Practices | GuardLogStatement
18 | 2 | net/sourceforge/pmd/cpd/CPDCommandLineInterface.java | 102 | 2 | Best Practices | GuardLogStatement
18 | 3 | net/sourceforge/pmd/cpd/CPDCommandLineInterface.java | 200 | 2 | Best Practices | GuardLogStatement
18 | 4 | net/sourceforge/pmd/cpd/CPDCommandLineInterface.java | 202 | 2 | Best Practices | GuardLogStatement
18 | 5 | net/sourceforge/pmd/cpd/CPDCommandLineInterface.java | 203 | 2 | Best Practices | GuardLogStatement
19 | 1 | net/sourceforge/pmd/cpd/CPDTask.java | 100 | 2 | Best Practices | GuardLogStatement
19 | 2 | net/sourceforge/pmd/cpd/CPDTask.java | 104 | 2 | Best Practices | GuardLogStatement
19 | 3 | net/sourceforge/pmd/cpd/CPDTask.java | 164 | 3 | Best Practices | ForLoopCanBeForeach
20 | 1 | net/sourceforge/pmd/cpd/GUI.java | 228 | 3 | Best Practices | ForLoopCanBeForeach
20 | 2 | net/sourceforge/pmd/cpd/GUI.java | 285 | 2 | Best Practices | GuardLogStatement
20 | 3 | net/sourceforge/pmd/cpd/GUI.java | 288 | 2 | Best Practices | GuardLogStatement
20 | 4 | net/sourceforge/pmd/cpd/GUI.java | 451 | 3 | Best Practices | ForLoopCanBeForeach
20 | 5 | net/sourceforge/pmd/cpd/GUI.java | 546 | 3 | Best Practices | ForLoopCanBeForeach
20 | 6 | net/sourceforge/pmd/cpd/GUI.java | 631 | 3 | Best Practices | ForLoopCanBeForeach
20 | 7 | net/sourceforge/pmd/cpd/GUI.java | 642 | 3 | Best Practices | ForLoopCanBeForeach
20 | 8 | net/sourceforge/pmd/cpd/GUI.java | 715 | 3 | Best Practices | ForLoopCanBeForeach
21 | 1 | net/sourceforge/pmd/cpd/SimpleRenderer.java | 41 | 3 | Best Practices | ForLoopCanBeForeach
22 | 1 | net/sourceforge/pmd/cpd/SourceCode.java | 67 | 3 | Best Practices | PreserveStackTrace
22 | 2 | net/sourceforge/pmd/cpd/SourceCode.java | 98 | 3 | Best Practices | PreserveStackTrace
23 | 1 | net/sourceforge/pmd/cpd/VSRenderer.java | 33 | 3 | Best Practices | ForLoopCanBeForeach
24 | 1 | net/sourceforge/pmd/cpd/XMLRenderer.java | 139 | 3 | Best Practices | ForLoopCanBeForeach
25 | 1 | net/sourceforge/pmd/cpd/internal/JavaCCTokenizer.java | 44 | 3 | Best Practices | PreserveStackTrace
26 | 1 | net/sourceforge/pmd/dcd/ClassLoaderUtil.java | 67 | 3 | Best Practices | PreserveStackTrace
26 | 2 | net/sourceforge/pmd/dcd/ClassLoaderUtil.java | 115 | 3 | Best Practices | PreserveStackTrace
27 | 1 | net/sourceforge/pmd/dcd/UsageNodeVisitor.java | 196 | 4 | Code Style | UnnecessaryFullyQualifiedName
27 | 2 | net/sourceforge/pmd/dcd/UsageNodeVisitor.java | 210 | 4 | Code Style | UnnecessaryFullyQualifiedName
28 | 1 | net/sourceforge/pmd/document/DocumentFile.java | 83 | 2 | Best Practices | GuardLogStatement
28 | 2 | net/sourceforge/pmd/document/DocumentFile.java | 117 | 2 | Best Practices | GuardLogStatement
28 | 3 | net/sourceforge/pmd/document/DocumentFile.java | 140 | 2 | Best Practices | GuardLogStatement
29 | 1 | net/sourceforge/pmd/lang/ast/AbstractNode.java | 442 | 3 | Best Practices | ForLoopCanBeForeach
29 | 2 | net/sourceforge/pmd/lang/ast/AbstractNode.java | 446 | 3 | Best Practices | ForLoopCanBeForeach
29 | 3 | net/sourceforge/pmd/lang/ast/AbstractNode.java | 675 | 2 | Best Practices | GuardLogStatement
30 | 1 | net/sourceforge/pmd/lang/ast/TokenMgrError.java | 102 | 1 | Code Style | MethodNamingConventions
31 | 1 | net/sourceforge/pmd/lang/dfa/SequenceChecker.java | 202 | 2 | Best Practices | GuardLogStatement
32 | 1 | net/sourceforge/pmd/lang/dfa/report/AbstractReportNode.java | 95 | 3 | Best Practices | ForLoopCanBeForeach
33 | 1 | net/sourceforge/pmd/lang/dfa/report/ReportHTMLPrintVisitor.java | 125 | 3 | Best Practices | PreserveStackTrace
33 | 2 | net/sourceforge/pmd/lang/dfa/report/ReportHTMLPrintVisitor.java | 169 | 3 | Best Practices | PreserveStackTrace
34 | 1 | net/sourceforge/pmd/lang/document/FileCollector.java | 199 | 2 | Best Practices | GuardLogStatement
34 | 2 | net/sourceforge/pmd/lang/document/FileCollector.java | 230 | 2 | Best Practices | GuardLogStatement
34 | 3 | net/sourceforge/pmd/lang/document/FileCollector.java | 368 | 2 | Best Practices | GuardLogStatement
34 | 4 | net/sourceforge/pmd/lang/document/FileCollector.java | 383 | 2 | Best Practices | GuardLogStatement
35 | 1 | net/sourceforge/pmd/lang/rule/AbstractRuleChainVisitor.java | 93 | 3 | Best Practices | ForLoopCanBeForeach
36 | 1 | net/sourceforge/pmd/lang/symboltable/Applier.java | 18 | 3 | Code Style | EmptyControlStatement
37 | 1 | net/sourceforge/pmd/lang/xpath/PMDFunctions.java | 95 | 2 | Best Practices | GuardLogStatement
38 | 1 | net/sourceforge/pmd/processor/MultiThreadProcessor.java | 61 | 3 | Best Practices | PreserveStackTrace
39 | 1 | net/sourceforge/pmd/properties/BooleanMultiProperty.java | 78 | 4 | Code Style | UnnecessaryFullyQualifiedName
40 | 1 | net/sourceforge/pmd/properties/BooleanProperty.java | 75 | 4 | Code Style | UnnecessaryFullyQualifiedName
41 | 1 | net/sourceforge/pmd/properties/CharacterMultiProperty.java | 97 | 3 | Best Practices | ForLoopCanBeForeach
42 | 1 | net/sourceforge/pmd/properties/CharacterProperty.java | 88 | 4 | Code Style | UnnecessaryFullyQualifiedName
43 | 1 | net/sourceforge/pmd/properties/DoubleProperty.java | 99 | 4 | Code Style | UnnecessaryFullyQualifiedName
44 | 1 | net/sourceforge/pmd/properties/FloatProperty.java | 86 | 4 | Code Style | UnnecessaryFullyQualifiedName
45 | 1 | net/sourceforge/pmd/properties/IntegerProperty.java | 66 | 4 | Code Style | UnnecessaryFullyQualifiedName
46 | 1 | net/sourceforge/pmd/properties/MethodMultiProperty.java | 123 | 4 | Code Style | UnnecessaryFullyQualifiedName
47 | 1 | net/sourceforge/pmd/properties/MethodProperty.java | 93 | 4 | Code Style | UnnecessaryFullyQualifiedName
48 | 1 | net/sourceforge/pmd/properties/ValueParserConstants.java | 233 | 3 | Best Practices | PreserveStackTrace
49 | 1 | net/sourceforge/pmd/properties/modules/PackagedPropertyModule.java | 131 | 3 | Best Practices | ForLoopCanBeForeach
50 | 1 | net/sourceforge/pmd/renderers/AbstractIncrementingRenderer.java | 66 | 3 | Best Practices | ForLoopCanBeForeach
50 | 2 | net/sourceforge/pmd/renderers/AbstractIncrementingRenderer.java | 70 | 3 | Best Practices | ForLoopCanBeForeach
51 | 1 | net/sourceforge/pmd/renderers/CodeClimateRenderer.java | 47 | 1 | Code Style | LocalVariableNamingConventions
52 | 1 | net/sourceforge/pmd/renderers/RendererFactory.java | 118 | 3 | Best Practices | PreserveStackTrace
53 | 1 | net/sourceforge/pmd/util/ClassUtil.java | 154 | 3 | Best Practices | ForLoopCanBeForeach
54 | 1 | net/sourceforge/pmd/util/FileUtil.java | 123 | 3 | Best Practices | PreserveStackTrace
55 | 1 | net/sourceforge/pmd/util/StringUtil.java | 591 | 3 | Best Practices | ForLoopCanBeForeach
55 | 2 | net/sourceforge/pmd/util/StringUtil.java | 619 | 3 | Best Practices | ForLoopCanBeForeach
56 | 1 | net/sourceforge/pmd/util/database/DBMSMetadata.java | 418 | 2 | Best Practices | GuardLogStatement
56 | 2 | net/sourceforge/pmd/util/database/DBMSMetadata.java | 488 | 2 | Best Practices | GuardLogStatement
56 | 3 | net/sourceforge/pmd/util/database/DBMSMetadata.java | 508 | 2 | Best Practices | GuardLogStatement
56 | 4 | net/sourceforge/pmd/util/database/DBMSMetadata.java | 538 | 2 | Best Practices | GuardLogStatement
57 | 1 | net/sourceforge/pmd/util/database/DBType.java | 207 | 3 | Best Practices | PreserveStackTrace
57 | 2 | net/sourceforge/pmd/util/database/DBType.java | 207 | 3 | Best Practices | PreserveStackTrace
57 | 3 | net/sourceforge/pmd/util/database/DBType.java | 207 | 3 | Best Practices | PreserveStackTrace
58 | 1 | net/sourceforge/pmd/util/database/DBURI.java | 319 | 2 | Best Practices | GuardLogStatement
58 | 2 | net/sourceforge/pmd/util/database/DBURI.java | 447 | 2 | Best Practices | GuardLogStatement
58 | 3 | net/sourceforge/pmd/util/database/DBURI.java | 480 | 2 | Best Practices | GuardLogStatement
59 | 1 | net/sourceforge/pmd/util/designer/Designer.java | 654 | 3 | Best Practices | ForLoopCanBeForeach
60 | 1 | net/sourceforge/pmd/util/log/AntLogHandler.java | 114 | 2 | Best Practices | GuardLogStatement
60 | 2 | net/sourceforge/pmd/util/log/AntLogHandler.java | 119 | 2 | Best Practices | GuardLogStatement
61 | 1 | net/sourceforge/pmd/util/log/internal/MessageReporterScope.java | 29 | 2 | Best Practices | GuardLogStatement
62 | 1 | net/sourceforge/pmd/util/log/internal/SimpleMessageReporter.java | 34 | 2 | Best Practices | GuardLogStatement
63 | 1 | net/sourceforge/pmd/util/treeexport/TreeExportCli.java | 230 | 3 | Design | DoNotExtendJavaLangError
64 | 1 | net/sourceforge/pmd/util/viewer/gui/SourceCodePanel.java | 81 | 3 | Best Practices | PreserveStackTrace
65 | 1 | net/sourceforge/pmd/util/viewer/model/ViewerModel.java | 137 | 3 | Best Practices | ForLoopCanBeForeach