Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.3.2.

Files

net/sourceforge/pmd/PMD.java

Violation Line
Possible God class (WMC=51, ATFD=66, TCC=0.08771929824561403) 4510

net/sourceforge/pmd/Report.java

Violation Line
Possible God class (WMC=61, ATFD=18, TCC=0.018893387314439947) 4511

net/sourceforge/pmd/RuleSet.java

Violation Line
Possible God class (WMC=85, ATFD=31, TCC=0.06951871657754011) 4537

net/sourceforge/pmd/RuleSetFactory.java

Violation Line
Possible God class (WMC=128, ATFD=137, TCC=0.05194805194805195) 4797

net/sourceforge/pmd/RuleSetReferenceId.java

Violation Line
Possible God class (WMC=57, ATFD=13, TCC=0.09090909090909091) 4439
Avoid unnecessary if..then..else statements when returning booleans 297299

net/sourceforge/pmd/RuleSetWriter.java

Violation Line
Possible God class (WMC=61, ATFD=59, TCC=0.0718954248366013) 4370

net/sourceforge/pmd/ant/PMDTask.java

Violation Line
Possible God class (WMC=49, ATFD=6, TCC=0.014844804318488529) 4239

net/sourceforge/pmd/benchmark/BenchmarkReport.java

Violation Line
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 21
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 28

net/sourceforge/pmd/benchmark/BenchmarkResult.java

Violation Line
Useless parentheses. 36

net/sourceforge/pmd/benchmark/StringBuilderCR.java

Violation Line
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 15

net/sourceforge/pmd/benchmark/TextReport.java

Violation Line
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 34
Avoid prefixing parameters by in, out or inOut. Uses Javadoc to document this behavior. 66

net/sourceforge/pmd/cpd/CPDConfiguration.java

Violation Line
Possible God class (WMC=72, ATFD=45, TCC=0.03515263644773358) 4421

net/sourceforge/pmd/cpd/GUI.java

Violation Line
Possible God class (WMC=124, ATFD=156, TCC=0.00725689404934688) 4801

net/sourceforge/pmd/dcd/UsageNodeVisitor.java

Violation Line
Possible God class (WMC=51, ATFD=21, TCC=0.04678362573099415) 4231

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

Violation Line
Possible God class (WMC=82, ATFD=19, TCC=0.015151515151515152) 4419
No need to import a type that lives in the same package 17

net/sourceforge/pmd/lang/ast/xpath/saxon/AbstractNodeInfo.java

Violation Line
Ensure you override both equals() and hashCode() 108

net/sourceforge/pmd/lang/dfa/pathfinder/DAAPathFinder.java

Violation Line
Possible God class (WMC=66, ATFD=54, TCC=0.0) 4339

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

Violation Line
Possible God class (WMC=49, ATFD=34, TCC=8.865248226950354E-4) 4228

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

Violation Line
Possible God class (WMC=58, ATFD=25, TCC=0.05204872646733112) 4447

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

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

net/sourceforge/pmd/lang/rule/properties/AbstractProperty.java

Violation Line
Possible God class (WMC=67, ATFD=7, TCC=0.04497354497354497) 4423

net/sourceforge/pmd/lang/rule/properties/factories/BasicPropertyDescriptorFactory.java

Violation Line
Too many static imports may lead to messy code 4266

net/sourceforge/pmd/renderers/CodeClimateIssue.java

Violation Line
This final field could be made static 13
Only variables that are final should contain underscores (except for underscores in standard prefix/suffix), 'check_name' is not final. 14

net/sourceforge/pmd/renderers/CodeClimateRenderer.java

Violation Line
Switch statements should have a default label 5264

net/sourceforge/pmd/renderers/XMLRenderer.java

Violation Line
Position literals first in String comparisons for EqualsIgnoreCase 50

net/sourceforge/pmd/util/CollectionUtil.java

Violation Line
Possible God class (WMC=49, ATFD=41, TCC=0.0) 4318

net/sourceforge/pmd/util/StringUtil.java

Violation Line
Possible God class (WMC=87, ATFD=14, TCC=0.0) 4557

net/sourceforge/pmd/util/database/DBType.java

Violation Line
Possible God class (WMC=71, ATFD=40, TCC=0.2761904761904762) 4420

net/sourceforge/pmd/util/database/DBURI.java

Violation Line
Possible God class (WMC=60, ATFD=42, TCC=0.059770114942528735) 4568

net/sourceforge/pmd/util/designer/Designer.java

Violation Line
Possible God class (WMC=157, ATFD=168, TCC=0.021176470588235293) 41039