PMD Results

The following document contains the results of PMD 4.2.2.

Files

KS Contract Documentation Generator - org/kuali/student/contract/model/Dictionary.java

ViolationLine
Avoid unused imports such as 'java.util.Stack'20

KS Contract Documentation Generator - org/kuali/student/contract/model/SearchRow.java

ViolationLine
Overriding method merely calls super407 - 411

KS Contract Documentation Generator - org/kuali/student/contract/model/TypeStateCaseConstraint.java

ViolationLine
No need to import a type that lives in the same package18

KS Contract Documentation Generator - org/kuali/student/contract/model/TypeStateConstraint.java

ViolationLine
No need to import a type that lives in the same package18

KS Contract Documentation Generator - org/kuali/student/contract/model/impl/ServiceContractModelQDoxLoader.java

ViolationLine
Avoid unused private methods such as 'dump(DocletTag)'.121
Avoid unused method parameters such as 'javaClass'.273 - 342
These nested if statements could be combined351 - 354
These nested if statements could be combined367 - 370
These nested if statements could be combined529 - 538
These nested if statements could be combined531 - 537
These nested if statements could be combined533 - 536
Avoid unnecessary return statements554
These nested if statements could be combined940 - 943
Avoid unused private methods such as 'calcTypeOfSetterMethodFirstParam(JavaMethod)'.1057
Avoid unused private methods such as 'calcRealJavaClassOfSetterFirstParam(JavaMethod)'.1138

KS Contract Documentation Generator - org/kuali/student/contract/model/util/DateUtility.java

ViolationLine
Avoid unused imports such as 'org.kuali.student.contract.exception.DictionaryExecutionException'23

KS Contract Documentation Generator - org/kuali/student/contract/model/util/DictionaryMainTypeExpander.java

ViolationLine
No need to import a type that lives in the same package20
Avoid unnecessary return statements67

KS Contract Documentation Generator - org/kuali/student/contract/model/util/DictionaryParentSetter.java

ViolationLine
These nested if statements could be combined98 - 102

KS Contract Documentation Generator - org/kuali/student/contract/model/util/GroupTypeStatePatternMatcher.java

ViolationLine
These nested if statements could be combined42 - 46

KS Contract Documentation Generator - org/kuali/student/contract/model/util/HtmlContractServiceWriter.java

ViolationLine
These nested if statements could be combined145 - 148
These nested if statements could be combined153 - 156
These nested if statements could be combined164 - 167

KS Contract Documentation Generator - org/kuali/student/contract/model/util/MessageStructureHierarchyDumper.java

ViolationLine
Avoid unused private fields such as 'model'.21
These nested if statements could be combined130 - 138

KS Contract Documentation Generator - org/kuali/student/contract/model/util/ModelFinder.java

ViolationLine
These nested if statements could be combined103 - 106
These nested if statements could be combined134 - 137
These nested if statements could be combined295 - 306
These nested if statements could be combined345 - 356
These nested if statements could be combined455 - 458

KS Contract Documentation Generator - org/kuali/student/contract/model/validation/ConstraintValidator.java

ViolationLine
Avoid unused imports such as 'java.util.List'22

KS Contract Documentation Generator - org/kuali/student/contract/model/validation/DictionaryModelValidator.java

ViolationLine
Avoid unused imports such as 'org.kuali.student.contract.model.XmlType'22

KS Contract Documentation Generator - org/kuali/student/contract/model/validation/DictionaryValidator.java

ViolationLine
These nested if statements could be combined214 - 217

KS Contract Documentation Generator - org/kuali/student/contract/model/validation/OrchObjValidator.java

ViolationLine
Avoid unused imports such as 'java.util.List'22

KS Contract Documentation Generator - org/kuali/student/contract/model/validation/OrchestrationModelValidator.java

ViolationLine
Avoid unused private fields such as 'finder'.34

KS Contract Documentation Generator - org/kuali/student/contract/model/validation/SearchTypeValidator.java

ViolationLine
These nested if statements could be combined95 - 99

KS Contract Documentation Generator - org/kuali/student/contract/model/validation/ServiceMethodValidator.java

ViolationLine
Avoid unused imports such as 'org.kuali.student.contract.model.DictionaryModel'18

KS Contract Documentation Generator - org/kuali/student/contract/model/validation/XmlTypesValidator.java

ViolationLine
Avoid unused private fields such as 'model'.32

KS Contract Documentation Generator - org/kuali/student/contract/mojo/KSContractDocMojo.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'6

KS Contract Documentation Generator - org/kuali/student/contract/writer/HtmlWriter.java

ViolationLine
These nested if statements could be combined82 - 86

KS Contract Documentation Generator - org/kuali/student/contract/writer/JavaClassWriter.java

ViolationLine
These nested if statements could be combined134 - 137
These nested if statements could be combined152 - 156

KS Contract Documentation Generator - org/kuali/student/contract/writer/search/SearchModelWriter.java

ViolationLine
Avoid unused local variables such as 'keys'.349

KS Contract Documentation Generator - org/kuali/student/contract/writer/service/GetterSetterNameCalculator.java

ViolationLine
These nested if statements could be combined59 - 62

KS Contract Documentation Generator - org/kuali/student/contract/writer/service/PureJavaInfcBeanWriter.java

ViolationLine
Avoid unused private fields such as 'directory'.36

KS Contract Documentation Generator - org/kuali/student/contract/writer/service/PureJavaInfcInfcWriter.java

ViolationLine
Avoid unused private fields such as 'directory'.36
Avoid unused private fields such as 'service'.38

KS Contract Documentation Generator - org/kuali/student/contract/writer/service/PureJavaInfcServiceWriter.java

ViolationLine
Avoid unused private fields such as 'directory'.37

KS Contract Documentation Generator - org/kuali/student/contract/writer/service/PureJavaInfcWriter.java

ViolationLine
These nested if statements could be combined98 - 102
Avoid unused private methods such as 'getServiceMethodErrors()'.108

KS Contract Documentation Generator - org/kuali/student/contract/writer/service/PureJavaInfcWriterForOneService.java

ViolationLine
These nested if statements could be combined97 - 100
Avoid unused private methods such as 'getXmlTypesUsedByService(List)'.106
These nested if statements could be combined146 - 149

KS Contract Documentation Generator - org/kuali/student/contract/writer/service/ServiceExceptionWriter.java

ViolationLine
Avoid unused private fields such as 'model'.31
Avoid unused private fields such as 'directory'.32
Avoid unused private fields such as 'rootPackage'.33