Compiler Report

Compiler: Eclipse Compiler for Java(TM) Version: 0.B76_R37x, 3.7.1

Number of source files: 139 Number of classfiles: 205

Problems: 106 (Errors: 0 Warnings: 106 )

Source File: org/eclipse/wst/jsdt/core/tests/compiler/parser/SourceUnit.java
1. WARNING: UnusedPrivateField

The value of the field SourceUnit.defaultConstructor is not used

SourceUnit.java :

39 : private String defaultConstructor;

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/AbstractRegressionTest.java
1. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.internal.compiler.lookup.Binding is never used

AbstractRegressionTest.java :

61 : import org.eclipse.wst.jsdt.internal.compiler.lookup.Binding;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable className is not used

AbstractRegressionTest.java :

801 : String className = sourceFile.substring(0,

3. WARNING: UnusedPrivateField

The value of the field AbstractRegressionTest.TypeRequestor.fOptions is not used

AbstractRegressionTest.java :

1817 : private CompilerOptions fOptions;

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicErrorTests.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicErrorTests.java :

22 : CompilationUnitDeclaration declaration = this.runParseTest(

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicErrorTests.java :

39 : CompilationUnitDeclaration declaration = this.runParseTest(

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicJsdocTests.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicJsdocTests.java :

22 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicJsdocTests.java :

40 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicJsdocTests.java :

75 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicJsdocTests.java :

92 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

5. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicJsdocTests.java :

109 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

6. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicJsdocTests.java :

127 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

7. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicJsdocTests.java :

145 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

8. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicJsdocTests.java :

163 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

9. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicJsdocTests.java :

181 : CompilationUnitDeclaration declaration = this.runJSDocParseTest(

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/BasicParserTests.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicParserTests.java :

22 : CompilationUnitDeclaration declaration = this.runParseTest(

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicParserTests.java :

32 : CompilationUnitDeclaration declaration = this.runParseTest(

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicParserTests.java :

45 : CompilationUnitDeclaration declaration = this.runParseTest(

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

BasicParserTests.java :

63 : CompilationUnitDeclaration declaration = this.runParseTest(

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/InferResolveTests.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable method is not used

InferResolveTests.java :

94 : InferredMethod method=type.addMethod(name, functionExpression.getMethodDeclaration(),field.getFieldName().sourceStart());

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/InferTypesTests.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

32 : CompilationUnitDeclaration declaration = this.runInferTest(

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

48 : CompilationUnitDeclaration declaration = this.runInferTest(

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

63 : CompilationUnitDeclaration declaration = this.runInferTest(

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

75 : CompilationUnitDeclaration declaration = this.runInferTest(

5. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

104 : CompilationUnitDeclaration declaration = this.runInferTest(

6. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

117 : CompilationUnitDeclaration declaration = this.runInferTest(

7. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

134 : CompilationUnitDeclaration declaration = this.runInferTest(

8. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

153 : CompilationUnitDeclaration declaration = this.runInferTest(

9. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

166 : CompilationUnitDeclaration declaration = this.runInferTest(

10. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

182 : CompilationUnitDeclaration declaration = this.runInferTest(

11. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

196 : CompilationUnitDeclaration declaration = this.runInferTest(

12. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

224 : CompilationUnitDeclaration declaration = this.runInferTest(

13. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

246 : CompilationUnitDeclaration declaration = this.runInferTest(

14. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

268 : CompilationUnitDeclaration declaration = this.runInferTest(

15. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

295 : CompilationUnitDeclaration declaration = this.runInferTest(

16. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

323 : CompilationUnitDeclaration declaration = this.runInferTest(

17. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

342 : CompilationUnitDeclaration declaration = this.runInferTest(

18. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

361 : CompilationUnitDeclaration declaration = this.runInferTest(

19. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

379 : CompilationUnitDeclaration declaration = this.runInferTest(

20. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

395 : CompilationUnitDeclaration declaration = this.runInferTest(

21. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

412 : CompilationUnitDeclaration declaration = this.runInferTest(

22. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

431 : CompilationUnitDeclaration declaration = this.runInferTest(

23. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

448 : CompilationUnitDeclaration declaration = this.runInferTest(

24. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

465 : CompilationUnitDeclaration declaration = this.runInferTest(

25. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

482 : CompilationUnitDeclaration declaration = this.runInferTest(

26. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

500 : CompilationUnitDeclaration declaration = this.runInferTest(

27. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

517 : CompilationUnitDeclaration declaration = this.runInferTest(

28. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

531 : CompilationUnitDeclaration declaration = this.runInferTest(

29. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

547 : CompilationUnitDeclaration declaration = this.runInferTest(

30. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

570 : CompilationUnitDeclaration declaration = this.runInferTest(

31. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

590 : CompilationUnitDeclaration declaration = this.runInferTest(

32. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

606 : CompilationUnitDeclaration declaration = this.runInferTest(

33. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

624 : CompilationUnitDeclaration declaration = this.runInferTest(

34. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

639 : CompilationUnitDeclaration declaration = this.runInferTest(

35. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

686 : CompilationUnitDeclaration declaration = this.runInferTest(

36. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

705 : CompilationUnitDeclaration declaration = this.runInferTest(

37. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

724 : CompilationUnitDeclaration declaration = this.runInferTest(

38. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

740 : CompilationUnitDeclaration declaration = this.runInferTest(

39. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

754 : CompilationUnitDeclaration declaration = this.runInferTest(

40. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

767 : CompilationUnitDeclaration declaration = this.runInferTest(

41. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

784 : CompilationUnitDeclaration declaration = this.runInferTest(

42. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

798 : CompilationUnitDeclaration declaration = this.runInferTest(

43. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

811 : CompilationUnitDeclaration declaration = this.runInferTest(

44. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

825 : CompilationUnitDeclaration declaration = this.runInferTest(

45. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

841 : CompilationUnitDeclaration declaration = this.runInferTest(

46. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

855 : CompilationUnitDeclaration declaration = this.runInferTest(

47. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

869 : CompilationUnitDeclaration declaration = this.runInferTest(

48. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

883 : CompilationUnitDeclaration declaration = this.runInferTest(

49. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

901 : CompilationUnitDeclaration declaration = this.runInferTest(

50. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

923 : CompilationUnitDeclaration declaration = this.runInferTest(

51. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

937 : CompilationUnitDeclaration declaration = this.runInferTest(

52. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

958 : CompilationUnitDeclaration declaration = this.runInferTest(

53. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

973 : CompilationUnitDeclaration declaration = this.runInferTest(

54. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

992 : CompilationUnitDeclaration declaration = this.runInferTest(

55. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1008 : CompilationUnitDeclaration declaration = this.runInferTest(

56. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1020 : CompilationUnitDeclaration declaration = this.runInferTest(

57. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1039 : CompilationUnitDeclaration declaration = this.runInferTest(

58. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1059 : CompilationUnitDeclaration declaration = this.runInferTest(

59. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1080 : CompilationUnitDeclaration declaration = this.runInferTest(

60. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1109 : CompilationUnitDeclaration declaration = this.runInferTest(

61. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1126 : CompilationUnitDeclaration declaration = this.runInferTest(

62. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1144 : CompilationUnitDeclaration declaration = this.runInferTest(

63. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1161 : CompilationUnitDeclaration declaration = this.runInferTest(

64. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1186 : CompilationUnitDeclaration declaration = this.runInferTest(

65. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1210 : CompilationUnitDeclaration declaration = this.runInferTest(

66. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1236 : CompilationUnitDeclaration declaration = this.runInferTest(

67. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1262 : CompilationUnitDeclaration declaration = this.runInferTest(

68. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1295 : CompilationUnitDeclaration declaration = this.runInferTest(

69. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1321 : CompilationUnitDeclaration declaration = this.runInferTest(

70. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1338 : CompilationUnitDeclaration declaration = this.runInferTest(

71. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1364 : CompilationUnitDeclaration declaration = this.runInferTest(

72. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1389 : CompilationUnitDeclaration declaration = this.runInferTest(

73. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1433 : CompilationUnitDeclaration declaration = this.runInferTest(

74. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1445 : CompilationUnitDeclaration declaration = this.runInferTest(

75. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1457 : CompilationUnitDeclaration declaration = this.runInferTest(

76. WARNING: LocalVariableIsNeverUsed

The value of the local variable declaration is not used

InferTypesTests.java :

1468 : CompilationUnitDeclaration declaration = this.runInferTest(

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/InnerEmulationTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable options is not used

InnerEmulationTest.java :

4788 : CompilerOptions options = new CompilerOptions(getCompilerOptions());

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/JavadocTest.java
1. WARNING: DeadCode

Dead code

JavadocTest.java :

538 : if (execProcess != null) execProcess.destroy();

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/NullReferenceImplTests.java
1. WARNING: DeadCode

Dead code

NullReferenceImplTests.java :

637 : if (combinationTestsloopsNb > 1) { start = System.currentTimeMillis(); }

2. WARNING: DeadCode

Dead code

NullReferenceImplTests.java :

712 : if (combinationTestsloopsNb > 1) { System.out.println("mergedWith\t\t\t" + combinationTestsloopsNb + "\t" + (System.currentTimeMillis() - start)); }

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/NullReferenceImplTransformations.java
1. WARNING: DeadCode

Dead code

NullReferenceImplTransformations.java :

2212 : if (false) { // checking row names boolean gotProblem = false; if (truthTableRowNames.length > State.statesNb) { System.out.println("row names table contains too many rows"); gotProblem = true; } else if (truthTableRowNames.length < State.statesNb) { System.out.println("row names table contains too few rows"); gotProblem = true; } Map check = new HashMap(State.statesNb); for (row = 0; row < truthTableRowNames.length; row++) { if (check.containsKey(truthTableRowNames[row])) { System.out.println("duplicate row: " + truthTableRowNames[row]); gotProblem = true; } else { check.put(truthTableRowNames[row], null); } if (row > 0 && !checkContiguity(truthTableRowNames[row - 1], truthTableRowNames[row])) { gotProblem = true; } } // assertFalse("invalid rows table", gotProblem); }

Source File: org/eclipse/wst/jsdt/core/tests/compiler/regression/Requestor.java
1. WARNING: UnusedPrivateField

The value of the field Requestor.generateOutput is not used

Requestor.java :

29 : private boolean generateOutput;

Source File: org/eclipse/wst/jsdt/core/tests/junit/extension/TestCase.java
1. WARNING: DeadCode

Dead code

TestCase.java :

565 : } else { System.err.println("Cannot open file " + logFile.getPath()); }

Source File: org/eclipse/wst/jsdt/core/tests/runtime/JRockitVMLauncher.java
1. WARNING: DeadCode

Dead code

JRockitVMLauncher.java :

184 : if (output != null) { try { output.close(); } catch (IOException e2) { // ignore } }

Source File: org/eclipse/wst/jsdt/core/tests/runtime/StandardVMLauncher.java
1. WARNING: DeadCode

Dead code

StandardVMLauncher.java :

212 : if (output != null) { try { output.close(); } catch (IOException e2) { // ignore } }

Source File: org/eclipse/wst/jsdt/core/tests/util/Util.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable resource is not used

Util.java :

689 : URL resource = clazz.getClassLoader().getResource(inputName);