Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.3.2.

Files

net/sourceforge/pmd/cpd/JavaTokenizer.java

Violation Line
Possible God class (WMC=47, ATFD=53, TCC=0.1794871794871795) 4181

net/sourceforge/pmd/lang/java/ast/DumpFacade.java

Violation Line
Possible God class (WMC=77, ATFD=23, TCC=0.16666666666666666) 4254

net/sourceforge/pmd/lang/java/dfa/StatementAndBraceFinder.java

Violation Line
Possible God class (WMC=86, ATFD=170, TCC=0.0) 4376

net/sourceforge/pmd/lang/java/rule/AbstractJavaRule.java

Violation Line
Possible God class (WMC=124, ATFD=7, TCC=0.0) 4529

net/sourceforge/pmd/lang/java/rule/comments/CommentContentRule.java

Violation Line
Perhaps 'wordsAreRegex' could be replaced by a local variable. 33

net/sourceforge/pmd/lang/java/rule/comments/CommentDefaultAccessModifierRule.java

Violation Line
Useless parentheses. 91

net/sourceforge/pmd/lang/java/rule/comments/CommentRequiredRule.java

Violation Line
Possible God class (WMC=48, ATFD=64, TCC=0.07142857142857142) 4280
Avoid unnecessary if..then..else statements when returning booleans 222226

net/sourceforge/pmd/lang/java/rule/coupling/LawOfDemeterRule.java

Violation Line
Possible God class (WMC=76, ATFD=51, TCC=0.043478260869565216) 4415

net/sourceforge/pmd/lang/java/rule/design/AccessorClassGenerationRule.java

Violation Line
Possible God class (WMC=48, ATFD=23, TCC=0.04411764705882353) 4321

net/sourceforge/pmd/lang/java/rule/design/CloseResourceRule.java

Violation Line
Possible God class (WMC=75, ATFD=57, TCC=0.0) 4373

net/sourceforge/pmd/lang/java/rule/design/ConstructorCallsOverridableMethodRule.java

Violation Line
Possible God class (WMC=156, ATFD=99, TCC=0.012477718360071301) 4972

net/sourceforge/pmd/lang/java/rule/design/GodClassRule.java

Violation Line
Possible God class (WMC=54, ATFD=32, TCC=0.0) 4367

net/sourceforge/pmd/lang/java/rule/design/SingletonClassReturningNewInstanceRule.java

Violation Line
Avoid declaring a variable if it is unreferenced before a possible exit point. 24
Avoid declaring a variable if it is unreferenced before a possible exit point. 25
Avoid declaring a variable if it is unreferenced before a possible exit point. 26
Variables should start with a lowercase character, 'ASTBlockStatements' starts with uppercase character. 62
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 64
Useless parentheses. 108
Useless parentheses. 108

net/sourceforge/pmd/lang/java/rule/imports/DuplicateImportsRule.java

Violation Line
Avoid unnecessary if..then..else statements when returning booleans 7880

net/sourceforge/pmd/lang/java/rule/imports/UnnecessaryFullyQualifiedNameRule.java

Violation Line
Avoid unnecessary if..then..else statements when returning booleans 170172

net/sourceforge/pmd/lang/java/rule/strings/ConsecutiveAppendsShouldReuseRule.java

Violation Line
Avoid unnecessary if..then..else statements when returning booleans 162164

net/sourceforge/pmd/lang/java/rule/strings/ConsecutiveLiteralAppendsRule.java

Violation Line
Possible God class (WMC=72, ATFD=48, TCC=0.01818181818181818) 4385

net/sourceforge/pmd/lang/java/rule/strings/InefficientStringBufferingRule.java

Violation Line
Avoid unnecessary if..then..else statements when returning booleans 124126

net/sourceforge/pmd/lang/java/rule/strings/InsufficientStringBufferDeclarationRule.java

Violation Line
Possible God class (WMC=82, ATFD=74, TCC=0.015151515151515152) 4390

net/sourceforge/pmd/lang/java/rule/strings/UselessStringValueOfRule.java

Violation Line
Use bitwise inversion to invert boolean values 58
Use bitwise inversion to invert boolean values 61
Use bitwise inversion to invert boolean values 86

net/sourceforge/pmd/lang/java/rule/unnecessary/UselessOverridingMethodRule.java

Violation Line
Possible God class (WMC=50, ATFD=24, TCC=0.047619047619047616) 4258

net/sourceforge/pmd/lang/java/symboltable/ClassScope.java

Violation Line
Possible God class (WMC=125, ATFD=134, TCC=0.013071895424836602) 4596

net/sourceforge/pmd/lang/java/symboltable/JavaNameOccurrence.java

Violation Line
Avoid unnecessary if..then..else statements when returning booleans 108110

net/sourceforge/pmd/lang/java/typeresolution/ClassTypeResolver.java

Violation Line
Possible God class (WMC=142, ATFD=77, TCC=0.0) 4755

net/sourceforge/pmd/lang/java/typeresolution/visitors/PMDASMVisitor.java

Violation Line
Possible God class (WMC=86, ATFD=27, TCC=7.25689404934688E-4) 4406