PMD Results

The following document contains the results of PMD 5.3.2.

Files

de/fhdw/wtf/generator/database/tasks/AttributeGenerationTask.java

Violation Line
Avoid unused local variables such as 'classId'. 122
Unnecessary use of fully qualified name 'de.fhdw.wtf.common.token.DummyToken.getInstance' due to existing import 'de.fhdw.wtf.common.token.DummyToken' 134

de/fhdw/wtf/generator/java/generatorModel/GenVisibility.java

Violation Line
These nested if statements could be combined 7173
These nested if statements could be combined 7678

de/fhdw/wtf/generator/java/generatorModel/GeneratorModel.java

Violation Line
Avoid using a branching statement as the last in a loop. 123
Avoid unused method parameters such as 'type'. 413
Avoid unused method parameters such as 'type'. 480
Avoid unused method parameters such as 'type'. 562
Avoid unused method parameters such as 'type'. 649

de/fhdw/wtf/generator/transformer/clipper/ClipToFileTask.java

Violation Line
These nested if statements could be combined 122124
Avoid unused method parameters such as 'withoutcomments'. 250

de/fhdw/wtf/generator/transformer/clipper/ClipperUtils.java

Violation Line
Useless parentheses. 358

de/fhdw/wtf/generator/transformer/clipper/ConvertSimpleOperationsToFullParsedTask.java

Violation Line
Avoid empty catch blocks 7072

de/fhdw/wtf/generator/transformer/clipper/LinkToGenClassTask.java

Violation Line
Avoid empty if statements 169174

de/fhdw/wtf/generator/transformer/clipper/internal/ClipperJavaFileShadowCopy.java

Violation Line
Avoid unused private methods such as 'getWhitespaces(int)'. 50

de/fhdw/wtf/generator/transformer/transformers/classTransformer/ConstructorSymmetricAttribute.java

Violation Line
Useless parentheses. 33
These nested if statements could be combined 5658

de/fhdw/wtf/generator/transformer/transformers/classTransformer/CreateSetterForSymmetricAttributeTransformer.java

Violation Line
Avoid unused private methods such as 'createRemove(String)'. 31

de/fhdw/wtf/generator/transformer/transformers/classTransformer/InnerClassCreatorForSymmetricAttributesTransformer.java

Violation Line
Avoid empty catch blocks 117119

de/fhdw/wtf/generator/transformer/transformers/classTransformer/OperationAttributeTransformer.java

Violation Line
Avoid unused method parameters such as 'attribute'. 811
Avoid unused method parameters such as 'attribute'. 842

de/fhdw/wtf/generator/transformer/transformers/classTransformer/SuperGenerationTransformer.java

Violation Line
Avoid unused method parameters such as 'interfaceClass'. 332

de/fhdw/wtf/generator/transformer/visitorTransformation/VisitorTypeTransformer.java

Violation Line
Unnecessary use of fully qualified name 'de.fhdw.wtf.common.ast.type.ListType' due to existing import 'de.fhdw.wtf.common.ast.type.ListType' 734
These nested if statements could be combined 13311339
Unnecessary use of fully qualified name 'de.fhdw.wtf.common.ast.type.ListType' due to existing import 'de.fhdw.wtf.common.ast.type.ListType' 1419

de/fhdw/wtf/generator/writer/writer/ClassFileWriter.java

Violation Line
Avoid unused private fields such as 'PACKAGE_KEY'. 65
Avoid unused private fields such as 'ABSTRACT_KEY'. 73
Avoid unused private fields such as 'IMPORTS_KEY'. 85