PMD Results
The following document contains the results of PMD 4.1.
Files
org/objectweb/fractal/task/core/composition/Interpreter.java
Violation | Line |
---|---|
Too many static imports may lead to messy code | 24 - 843 |
Avoid unused imports such as 'org.objectweb.fractal.julia.loader.Loader' | 59 |
These nested if statements could be combined | 475 - 479 |
org/objectweb/fractal/task/core/control/DebugBindingControllerMixin.java
Violation | Line |
---|---|
Avoid unused imports such as 'org.objectweb.fractal.julia.control.binding.TypeBindingMixin' | 32 |
org/objectweb/fractal/task/core/control/ExportedInterfaceBindingMixin.java
Violation | Line |
---|---|
These nested if statements could be combined | 58 - 83 |
org/objectweb/fractal/task/core/control/ExportedInterfaceController.java
Violation | Line |
---|---|
Avoid unused imports such as 'org.objectweb.fractal.api.control.LifeCycleController' | 30 |
org/objectweb/fractal/task/core/control/TaskContainerBindingControllerMixin.java
Violation | Line |
---|---|
Avoid unused imports such as 'org.objectweb.fractal.api.control.BindingController' | 38 |
Avoid unused imports such as 'org.objectweb.fractal.julia.control.binding.TypeBindingMixin' | 46 |
Avoid empty catch blocks | 192 - 194 |
Avoid empty catch blocks | 337 - 339 |
Avoid empty catch blocks | 349 - 351 |
Avoid empty catch blocks | 367 - 369 |
Avoid empty catch blocks | 392 - 394 |
Avoid empty catch blocks | 405 - 407 |
Avoid empty catch blocks | 451 - 453 |
Avoid empty catch blocks | 464 - 466 |
Avoid empty catch blocks | 486 - 488 |
org/objectweb/fractal/task/core/internal/TaskBootstrapFactory.java
Violation | Line |
---|---|
Avoid empty catch blocks | 193 - 194 |
org/objectweb/fractal/task/core/internal/TaskUtil.java
Violation | Line |
---|---|
Too many static imports may lead to messy code | 24 - 237 |
org/objectweb/fractal/task/core/primitive/BasicPrimitiveTaskFactory.java
Violation | Line |
---|---|
Too many static imports may lead to messy code | 24 - 533 |
These nested if statements could be combined | 176 - 182 |
org/objectweb/fractal/task/core/primitive/annotations/Debug.java
Violation | Line |
---|---|
Error while parsing /work1/leclercm/cecilia-framework/cecilia/target/checkout/toolchain/task-component/src/main/java/org/objectweb/fractal/task/core/primitive/annotations/Debug.java: ERROR: expecting enum | 0 |
Error while parsing /work1/leclercm/cecilia-framework/cecilia/target/checkout/toolchain/task-component/src/main/java/org/objectweb/fractal/task/core/primitive/annotations/Debug.java: ERROR: expecting enum | 0 |
Error while parsing /work1/leclercm/cecilia-framework/cecilia/target/checkout/toolchain/task-component/src/main/java/org/objectweb/fractal/task/core/primitive/annotations/Debug.java: ERROR: expecting enum | 0 |
org/objectweb/fractal/task/core/composition/parser/JavaCharStream.java
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'buffersize'. | 460 - 464 |
org/objectweb/fractal/task/core/composition/parser/TaskCompositionParser.java
Violation | Line |
---|---|
Avoid unused local variables such as 'importNode'. | 62 |
Avoid unused local variables such as 'instruction'. | 63 |
An empty statement (semicolon) not part of a loop | 68 |
An empty statement (semicolon) not part of a loop | 82 |
An empty statement (semicolon) not part of a loop | 99 |
Do not use if statements that are always true or always false | 109 |
An empty statement (semicolon) not part of a loop | 141 |
An empty statement (semicolon) not part of a loop | 156 |
An empty statement (semicolon) not part of a loop | 172 |
An empty statement (semicolon) not part of a loop | 206 |
An empty statement (semicolon) not part of a loop | 217 |
An empty statement (semicolon) not part of a loop | 245 |
Avoid unused local variables such as 'fieldValue'. | 252 |
An empty statement (semicolon) not part of a loop | 275 |
An empty statement (semicolon) not part of a loop | 289 |
An empty statement (semicolon) not part of a loop | 309 |
An empty statement (semicolon) not part of a loop | 338 |
An empty statement (semicolon) not part of a loop | 403 |
Do not use if statements that are always true or always false | 406 |
An empty statement (semicolon) not part of a loop | 416 |
Avoid unused local variables such as 't'. | 435 |
Do not use if statements that are always true or always false | 455 |
Do not use if statements that are always true or always false | 465 |
Do not use if statements that are always true or always false | 475 |
Do not use if statements that are always true or always false | 496 |
Do not use if statements that are always true or always false | 506 |
Do not use if statements that are always true or always false | 515 |
An empty statement (semicolon) not part of a loop | 539 |
Do not use if statements that are always true or always false | 558 |
Do not use if statements that are always true or always false | 565 |
An empty statement (semicolon) not part of a loop | 578 |
Do not use if statements that are always true or always false | 588 |
Avoid empty catch blocks | 896 |
org/objectweb/fractal/task/core/composition/parser/TaskCompositionParserTokenManager.java
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.ArrayList' | 3 |
Avoid unused imports such as 'java.util.List' | 4 |
Avoid unused imports such as 'org.objectweb.fractal.adl.xml.XMLNode' | 5 |
Avoid unused imports such as 'org.objectweb.fractal.adl.xml.XMLNodeFactory' | 6 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.Binding' | 7 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.DecorationHelper' | 8 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.Constant' | 9 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.Export' | 10 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.FunctionCall' | 11 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.Import' | 12 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.ImportContainer' | 13 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.Instruction' | 14 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.Pattern' | 15 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.RecordField' | 16 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.Task' | 17 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.TaskDefinition' | 18 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.ValueContainer' | 19 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.Variable' | 20 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.composition.ast.Constant.ConstantTypeEnum' | 21 |
Avoid unused imports such as 'org.objectweb.fractal.task.core.internal.TaskInternalError' | 22 |
Avoid unused imports such as 'org.xml.sax.SAXException' | 23 |
Do not start a literal by 0 unless it's an octal value | 756 |
Do not start a literal by 0 unless it's an octal value | 840 |
Do not start a literal by 0 unless it's an octal value | 842 |
These nested if statements could be combined | 936 - 937 |
Do not start a literal by 0 unless it's an octal value | 956 |
Avoid unused local variables such as 'l'. | 956 |
Avoid unused local variables such as 'i1'. | 968 |
Do not start a literal by 0 unless it's an octal value | 969 |
Avoid unused local variables such as 'l1'. | 969 |
Avoid unused local variables such as 'i2'. | 970 |
Do not start a literal by 0 unless it's an octal value | 971 |
Avoid unused local variables such as 'l2'. | 971 |
Avoid unused private fields such as 'lengthOfMatch'. | 1104 |
Do not start a literal by 0 unless it's an octal value | 1253 |
Do not start a literal by 0 unless it's an octal value | 1261 |
Do not start a literal by 0 unless it's an octal value | 1263 |
Avoid empty catch blocks | 1290 |