PMD Results
The following document contains the results of PMD 4.1.
Files
org/objectweb/fractal/adl/VisitorDispatcher.java
Violation |
Line |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.CompositeTaskFactory' |
39 |
org/objectweb/fractal/cecilia/adl/CeciliaFactory.java
Violation |
Line |
Avoid unused imports such as 'org.objectweb.fractal.adl.Compiler' |
32 |
Avoid unused imports such as 'org.objectweb.fractal.adl.ComponentVisitor' |
34 |
org/objectweb/fractal/cecilia/adl/Launcher.java
Violation |
Line |
Avoid unused imports such as 'java.util.Arrays' |
30 |
Avoid unused imports such as 'java.util.Collections' |
32 |
Avoid unused imports such as 'java.util.Iterator' |
34 |
org/objectweb/fractal/cecilia/adl/attributes/AbstractAttributeVisitor.java
Violation |
Line |
Avoid unused imports such as 'org.objectweb.fractal.api.factory.InstantiationException' |
36 |
org/objectweb/fractal/cecilia/adl/bindings/BindingResolverLoader.java
Violation |
Line |
Too many static imports may lead to messy code |
25 - 316 |
These nested if statements could be combined |
147 - 150 |
org/objectweb/fractal/cecilia/adl/bindings/BoundedCollectionBindingFlattenerLoader.java
Violation |
Line |
Avoid unused imports such as 'org.objectweb.fractal.adl.AbstractLoader' |
31 |
Avoid unused local variables such as 'itfName'. |
83 |
org/objectweb/fractal/cecilia/adl/compiler/gnu/GnuCompilationTaskFactory.java
Violation |
Line |
Avoid unused imports such as 'java.util.ArrayList' |
27 |
org/objectweb/fractal/cecilia/adl/controllers/AbstractControllerChecker.java
Violation |
Line |
Too many static imports may lead to messy code |
25 - 322 |
org/objectweb/fractal/cecilia/adl/idl/BasicIDLLoader.java
Violation |
Line |
Too many static imports may lead to messy code |
26 - 659 |
Avoid empty if statements |
378 - 380 |
org/objectweb/fractal/cecilia/adl/idl/util/CUtil.java
Violation |
Line |
Too many static imports may lead to messy code |
25 - 413 |
These nested if statements could be combined |
262 - 269 |
These nested if statements could be combined |
265 - 268 |
These nested if statements could be combined |
317 - 324 |
These nested if statements could be combined |
320 - 323 |
org/objectweb/fractal/cecilia/adl/implementations/GlobalInitVisitor.java
Violation |
Line |
Avoid unused imports such as 'org.objectweb.fractal.adl.components.ComponentContainer' |
40 |
org/objectweb/fractal/cecilia/adl/implementations/ImplementationErrors.java
Violation |
Line |
Avoid unused imports such as 'org.objectweb.fractal.adl.implementations.ImplementationCodeLoader' |
29 |
org/objectweb/fractal/cecilia/adl/interfaces/AbstractClientInterfaceVisitor.java
Violation |
Line |
Avoid unused imports such as 'org.objectweb.fractal.api.factory.InstantiationException' |
41 |
org/objectweb/fractal/cecilia/adl/interfaces/AbstractInterfaceVisitor.java
Violation |
Line |
Avoid unused imports such as 'org.objectweb.fractal.api.factory.InstantiationException' |
40 |
org/objectweb/fractal/cecilia/adl/interfaces/AbstractServerInterfaceVisitor.java
Violation |
Line |
Avoid unused imports such as 'org.objectweb.fractal.api.factory.InstantiationException' |
41 |
org/objectweb/fractal/cecilia/adl/interfaces/BoundedCollectionInterfaceFlattenerLoader.java
Violation |
Line |
Avoid empty catch blocks |
107 - 109 |
org/objectweb/fractal/cecilia/adl/interfaces/InterfaceLoader.java
Violation |
Line |
Avoid unused imports such as 'org.objectweb.fractal.adl.Loader' |
35 |
org/objectweb/fractal/cecilia/adl/types/ComponentTypeDesc.java
Violation |
Line |
These nested if statements could be combined |
102 - 103 |
These nested if statements could be combined |
158 - 159 |
These nested if statements could be combined |
178 - 179 |
org/objectweb/fractal/cecilia/composite/c/controllers/CompositeControllerLoader.java
Violation |
Line |
Too many static imports may lead to messy code |
25 - 145 |
org/objectweb/fractal/cecilia/primitive/thinkMC/attributes/AttributeInstantiationVisitor.java
Violation |
Line |
Avoid unused imports such as 'org.objectweb.fractal.cecilia.adl.idl.ast.ArrayOf' |
40 |
Avoid unused imports such as 'org.objectweb.fractal.cecilia.adl.idl.ast.ComplexType' |
45 |
Avoid unused imports such as 'org.objectweb.fractal.cecilia.adl.idl.ast.PointerOf' |
46 |
Avoid unused imports such as 'org.objectweb.fractal.cecilia.adl.idl.ast.PrimitiveType' |
47 |
org/objectweb/fractal/cecilia/primitive/thinkMC/controllers/PrimitiveControllerLoader.java
Violation |
Line |
Too many static imports may lead to messy code |
25 - 244 |
org/objectweb/fractal/cecilia/primitive/thinkMC/implementations/FactoryImplementationVisitor.java
Violation |
Line |
Too many static imports may lead to messy code |
24 - 208 |
Avoid unused imports such as 'org.objectweb.fractal.cecilia.adl.SourceCodeHelper.appendSortedSourceCodes' |
27 |
org/objectweb/fractal/cecilia/primitive/thinkMC/source/CompilationVisitor.java
Violation |
Line |
Avoid unused imports such as 'org.objectweb.fractal.cecilia.adl.file.FileCollectionProvider' |
58 |
Avoid unused imports such as 'org.objectweb.fractal.cecilia.adl.file.FileProvider' |
59 |
org/objectweb/fractal/cecilia/primitive/thinkMC/types/ClientInterfaceInstantiationVisitor.java
Violation |
Line |
Too many static imports may lead to messy code |
24 - 290 |