Compiler Report

Compiler: Eclipse Java Compiler Version: 0.959, 3.5.0 rc1

Number of source files: 178 Number of classfiles: 632

Problems: 54 (Errors: 0 Warnings: 54 )

Source File: org/eclipse/wst/jsdt/core/tests/dom/ASTConverterJavadocTest.java
1. WARNING: DeadCode

Dead code

ASTConverterJavadocTest.java :

149 : COPY_DIR = false;

Source File: org/eclipse/wst/jsdt/core/tests/dom/ASTConverterTest.java
1. WARNING: LocalVariableIsNeverUsed

The local variable variableBinding is never read

ASTConverterTest.java :

4319 : IVariableBinding variableBinding = fragment.resolveBinding();

2. WARNING: LocalVariableIsNeverUsed

The local variable source is never read

ASTConverterTest.java :

7839 : char[] source = sourceUnit.getSource().toCharArray();

3. WARNING: LocalVariableIsNeverUsed

The local variable expression is never read

ASTConverterTest.java :

7942 : Expression expression = assignment.getRightHandSide();

Source File: org/eclipse/wst/jsdt/core/tests/model/AbstractJavaModelTests.java
1. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.tests.junit.extension.TestCase is never used

AbstractJavaModelTests.java :

30 : import org.eclipse.wst.jsdt.core.tests.junit.extension.TestCase;

Source File: org/eclipse/wst/jsdt/core/tests/model/CompilationUnitTests.java
1. WARNING: UnusedPrivateMethod

The method createWorkingCopy(String) from the type CompilationUnitTests is never used locally

CompilationUnitTests.java :

84 : private IJavaScriptUnit createWorkingCopy(String source) throws JavaScriptModelException {

2. WARNING: LocalVariableIsNeverUsed

The local variable flags is never read

CompilationUnitTests.java :

751 : String[] flags = new String[] {"public", "protected", "private", "", "", "", "", ""};

3. WARNING: LocalVariableIsNeverUsed

The local variable signatures is never read

CompilationUnitTests.java :

752 : String[] signatures = new String[] {"I", "QObject;", "QX;", "Qjava.lang.String;", "I", "I", "I", "I"};

4. WARNING: LocalVariableIsNeverUsed

The local variable flags is never read

CompilationUnitTests.java :

906 : String[] flags = new String[] {"public", "protected static", "private", "private"};

5. WARNING: LocalVariableIsNeverUsed

The local variable modifiers is never read

CompilationUnitTests.java :

910 : int modifiers = methods[i].getFlags() & ~Flags.AccVarargs;

Source File: org/eclipse/wst/jsdt/core/tests/model/CompletionTests2.java
1. WARNING: UnusedImport

The import java.util.Hashtable is never used

CompletionTests2.java :

17 : import java.util.Hashtable;

2. WARNING: UnusedImport

The import org.eclipse.core.resources.IResource is never used

CompletionTests2.java :

23 : import org.eclipse.core.resources.IResource;

3. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.internal.core.JavaModelManager is never used

CompletionTests2.java :

37 : import org.eclipse.wst.jsdt.internal.core.JavaModelManager;

4. WARNING: LocalVariableIsNeverUsed

The local variable pz is never read

CompletionTests2.java :

449 : File pz = this.createDirectory(src, "pz");

Source File: org/eclipse/wst/jsdt/core/tests/model/JavaConventionTests.java
1. WARNING: UnusedImport

The import org.eclipse.core.resources.IResource is never used

JavaConventionTests.java :

15 : import org.eclipse.core.resources.IResource;

Source File: org/eclipse/wst/jsdt/core/tests/model/ReconcilerTests.java
1. WARNING: UnusedImport

The import java.io.File is never used

ReconcilerTests.java :

14 : import java.io.File;

2. WARNING: UnusedImport

The import org.eclipse.core.resources.IResource is never used

ReconcilerTests.java :

19 : import org.eclipse.core.resources.IResource;

3. WARNING: UnusedImport

The import org.eclipse.core.runtime.ILogListener is never used

ReconcilerTests.java :

22 : import org.eclipse.core.runtime.ILogListener;

4. WARNING: UnusedImport

The import org.eclipse.core.runtime.IStatus is never used

ReconcilerTests.java :

24 : import org.eclipse.core.runtime.IStatus;

5. WARNING: UnusedImport

The import org.eclipse.core.runtime.Path is never used

ReconcilerTests.java :

26 : import org.eclipse.core.runtime.Path;

6. WARNING: UnusedImport

The import org.eclipse.core.runtime.Platform is never used

ReconcilerTests.java :

27 : import org.eclipse.core.runtime.Platform;

7. WARNING: LocalVariableIsNeverUsed

The local variable project15 is never read

ReconcilerTests.java :

179 : IJavaScriptProject project15 = createJavaProject("Reconciler15", new String[] {"src"}, new String[] {"JCL15_LIB"}, "bin", "1.5");

8. WARNING: UnusedPrivateMethod

The method setUp15WorkingCopy() from the type ReconcilerTests is never used locally

ReconcilerTests.java :

216 : private void setUp15WorkingCopy() throws JavaScriptModelException {

Source File: org/eclipse/wst/jsdt/core/tests/model/ResolveTests.java
1. WARNING: UnusedImport

The import java.io.IOException is never used

ResolveTests.java :

13 : import java.io.IOException;

2. WARNING: UnusedImport

The import org.eclipse.core.runtime.CoreException is never used

ResolveTests.java :

15 : import org.eclipse.core.runtime.CoreException;

3. WARNING: UnusedPrivateMethod

The method select(String, String, String) from the type ResolveTests is never used locally

ResolveTests.java :

37 : private IJavaScriptElement[] select(String path, String source, String selection) throws JavaScriptModelException {

Source File: org/eclipse/wst/jsdt/core/tests/model/RunCompletionModelTests.java
1. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

29 : if(false) COMPLETION_SUITES.add(CompletionTests.class);

2. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

32 : if(false) COMPLETION_SUITES.add(CompletionContextTests.class);

3. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

34 : if(false) COMPLETION_SUITES.add(CompletionWithMissingTypesTests.class);

4. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

35 : if(false) COMPLETION_SUITES.add(CompletionWithMissingTypesTests2.class);

5. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

37 : if(false) COMPLETION_SUITES.add(SnippetCompletionContextTests.class);

6. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

39 : if(false) COMPLETION_SUITES.add(JavadocTypeCompletionModelTest.class);

7. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

40 : if(false) COMPLETION_SUITES.add(JavadocFieldCompletionModelTest.class);

8. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

41 : if(false) COMPLETION_SUITES.add(JavadocMethodCompletionModelTest.class);

9. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

42 : if(false) COMPLETION_SUITES.add(JavadocPackageCompletionModelTest.class);

10. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

43 : if(false) COMPLETION_SUITES.add(JavadocTextCompletionModelTest.class);

11. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

44 : if(false) COMPLETION_SUITES.add(JavadocBugsCompletionModelTest.class);

12. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

45 : if(false) COMPLETION_SUITES.add(JavadocCompletionContextTests.class);

13. WARNING: DeadCode

Dead code

RunCompletionModelTests.java :

46 : if(false) COMPLETION_SUITES.add(JavadocCompletionContextTests_1_5.class);

Source File: org/eclipse/wst/jsdt/core/tests/model/WorkingCopyTests.java
1. WARNING: UnusedImport

The import java.io.IOException is never used

WorkingCopyTests.java :

13 : import java.io.IOException;

2. WARNING: UnusedImport

The import java.util.Vector is never used

WorkingCopyTests.java :

14 : import java.util.Vector;

Source File: org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingExpressionsTest.java
1. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.dom.rewrite.ListRewrite is never used

ASTRewritingExpressionsTest.java :

22 : import org.eclipse.wst.jsdt.core.dom.rewrite.ListRewrite;

2. WARNING: DeadCode

Dead code

ASTRewritingExpressionsTest.java :

1009 : IPackageFragment pack1= this.sourceFolder.createPackageFragment("test1", false, null);

Source File: org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingGroupNodeTest.java
1. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.dom.TypeDeclaration is never used

ASTRewritingGroupNodeTest.java :

28 : import org.eclipse.wst.jsdt.core.dom.TypeDeclaration;

Source File: org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingInsertBoundTest.java
1. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.dom.PrimitiveType is never used

ASTRewritingInsertBoundTest.java :

28 : import org.eclipse.wst.jsdt.core.dom.PrimitiveType;

2. WARNING: UnusedImport

The import org.eclipse.wst.jsdt.core.dom.TypeDeclaration is never used

ASTRewritingInsertBoundTest.java :

29 : import org.eclipse.wst.jsdt.core.dom.TypeDeclaration;

Source File: org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingStatementsTest.java
1. WARNING: DeadCode

Dead code

ASTRewritingStatementsTest.java :

744 : IPackageFragment pack1= this.sourceFolder.createPackageFragment("test1", false, null);

Source File: org/eclipse/wst/jsdt/core/tests/rewrite/describing/ASTRewritingTypeDeclTest.java
1. WARNING: DeadCode

Dead code

ASTRewritingTypeDeclTest.java :

70 : return setUpTest(new ASTRewritingTypeDeclTest("testEnumDeclaration"));

Source File: org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingCopyTest.java
1. WARNING: DeadCode

Dead code

ASTRewritingModifyingCopyTest.java :

39 : TestSuite suite= new Suite("one test");

Source File: org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingInsertTest.java
1. WARNING: DeadCode

Dead code

ASTRewritingModifyingInsertTest.java :

37 : TestSuite suite= new Suite("one test");

Source File: org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingMoveTest.java
1. WARNING: DeadCode

Dead code

ASTRewritingModifyingMoveTest.java :

38 : TestSuite suite= new Suite("one test");

Source File: org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingOtherTest.java
1. WARNING: DeadCode

Dead code

ASTRewritingModifyingOtherTest.java :

38 : TestSuite suite= new Suite("one test");

Source File: org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingRemoveTest.java
1. WARNING: DeadCode

Dead code

ASTRewritingModifyingRemoveTest.java :

38 : TestSuite suite= new Suite("one test");

Source File: org/eclipse/wst/jsdt/core/tests/rewrite/modifying/ASTRewritingModifyingReplaceTest.java
1. WARNING: DeadCode

Dead code

ASTRewritingModifyingReplaceTest.java :

38 : TestSuite suite= new Suite("one test");