Compiler: Eclipse Compiler for Java(TM) Version: 0.B76_R37x, 3.7.1
Number of source files: 159 Number of classfiles: 586
Problems: 144 (Errors: 0 Warnings: 144 )
The value of the local variable totalTime is not used
ASTConverterBindingsTest.java :
458 : long totalTime = 0;
Dead code
ASTConverterJavadocTest.java :
149 : COPY_DIR = false;
The value of the local variable counter is not used
ASTConverterTest2.java :
303 : int counter = 0;
The value of the local variable pbRequestor is not used
ASTConverterTest2.java :
4149 : ReconcilerTests.ProblemRequestor pbRequestor = new ReconcilerTests.ProblemRequestor();
The value of the local variable pbRequestor is not used
ASTConverterTest2.java :
4179 : ReconcilerTests.ProblemRequestor pbRequestor = new ReconcilerTests.ProblemRequestor();
The value of the local variable pbRequestor is not used
ASTConverterTest2.java :
4203 : ReconcilerTests.ProblemRequestor pbRequestor = new ReconcilerTests.ProblemRequestor();
The value of the local variable pbRequestor is not used
ASTConverterTest2.java :
4233 : ReconcilerTests.ProblemRequestor pbRequestor = new ReconcilerTests.ProblemRequestor();
The value of the local variable pbRequestor is not used
ASTConverterTest2.java :
4263 : ReconcilerTests.ProblemRequestor pbRequestor = new ReconcilerTests.ProblemRequestor() {
The value of the local variable counter is not used
ASTConverterTestAST3_2.java :
369 : int counter = 0;
The value of the local variable pbRequestor is not used
ASTConverterTestAST3_2.java :
4238 : ReconcilerTests.ProblemRequestor pbRequestor = new ReconcilerTests.ProblemRequestor();
The value of the local variable pbRequestor is not used
ASTConverterTestAST3_2.java :
4262 : ReconcilerTests.ProblemRequestor pbRequestor = new ReconcilerTests.ProblemRequestor();
The value of the local variable pbRequestor is not used
ASTConverterTestAST3_2.java :
4292 : ReconcilerTests.ProblemRequestor pbRequestor = new ReconcilerTests.ProblemRequestor();
The value of the local variable pbRequestor is not used
ASTConverterTestAST3_2.java :
4322 : ReconcilerTests.ProblemRequestor pbRequestor = new ReconcilerTests.ProblemRequestor() {
Comparing identical expressions
ASTParserTest.java :
77 : assertTrue(ASTParser.K_EXPRESSION == 1);
Comparing identical expressions
ASTParserTest.java :
78 : assertTrue(ASTParser.K_STATEMENTS == 2);
Comparing identical expressions
ASTParserTest.java :
79 : assertTrue(ASTParser.K_CLASS_BODY_DECLARATIONS == 4);
Comparing identical expressions
ASTParserTest.java :
80 : assertTrue(ASTParser.K_COMPILATION_UNIT == 8);
Comparing identical expressions
ASTTest.java :
1249 : assertTrue(AST.JLS2 == 2);
Comparing identical expressions
ASTTest.java :
1250 : assertTrue(AST.JLS3 == 3);
Comparing identical expressions
ASTTest.java :
6836 : assertTrue(Modifier.ABSTRACT == 0x0400);
Comparing identical expressions
ASTTest.java :
6837 : assertTrue(Modifier.FINAL == 0x0010);
Comparing identical expressions
ASTTest.java :
6838 : assertTrue(Modifier.NATIVE == 0x0100);
Comparing identical expressions
ASTTest.java :
6839 : assertTrue(Modifier.NONE == 0x0000);
Comparing identical expressions
ASTTest.java :
6840 : assertTrue(Modifier.PRIVATE == 0x0002);
Comparing identical expressions
ASTTest.java :
6841 : assertTrue(Modifier.PROTECTED == 0x0004);
Comparing identical expressions
ASTTest.java :
6842 : assertTrue(Modifier.PUBLIC == 0x0001);
Comparing identical expressions
ASTTest.java :
6843 : assertTrue(Modifier.STATIC == 0x0008);
Comparing identical expressions
ASTTest.java :
6844 : assertTrue(Modifier.STRICTFP == 0x0800);
Comparing identical expressions
ASTTest.java :
6845 : assertTrue(Modifier.SYNCHRONIZED == 0x0020);
Comparing identical expressions
ASTTest.java :
6846 : assertTrue(Modifier.TRANSIENT == 0x0080);
Comparing identical expressions
ASTTest.java :
6847 : assertTrue(Modifier.VOLATILE == 0x0040);
Comparing identical expressions
ASTTest.java :
7036 : assertTrue(ASTNode.ANONYMOUS_CLASS_DECLARATION == 1);
Comparing identical expressions
ASTTest.java :
7037 : assertTrue(ASTNode.ARRAY_ACCESS == 2);
Comparing identical expressions
ASTTest.java :
7038 : assertTrue(ASTNode.ARRAY_CREATION == 3);
Comparing identical expressions
ASTTest.java :
7039 : assertTrue(ASTNode.ARRAY_INITIALIZER == 4);
Comparing identical expressions
ASTTest.java :
7040 : assertTrue(ASTNode.ARRAY_TYPE == 5);
Comparing identical expressions
ASTTest.java :
7041 : assertTrue(ASTNode.ASSIGNMENT == 7);
Comparing identical expressions
ASTTest.java :
7042 : assertTrue(ASTNode.BLOCK == 8);
Comparing identical expressions
ASTTest.java :
7043 : assertTrue(ASTNode.BOOLEAN_LITERAL == 9);
Comparing identical expressions
ASTTest.java :
7044 : assertTrue(ASTNode.BREAK_STATEMENT == 10);
Comparing identical expressions
ASTTest.java :
7045 : assertTrue(ASTNode.CATCH_CLAUSE == 12);
Comparing identical expressions
ASTTest.java :
7046 : assertTrue(ASTNode.CHARACTER_LITERAL == 13);
Comparing identical expressions
ASTTest.java :
7047 : assertTrue(ASTNode.CLASS_INSTANCE_CREATION == 14);
Comparing identical expressions
ASTTest.java :
7048 : assertTrue(ASTNode.JAVASCRIPT_UNIT == 15);
Comparing identical expressions
ASTTest.java :
7049 : assertTrue(ASTNode.CONDITIONAL_EXPRESSION == 16);
Comparing identical expressions
ASTTest.java :
7050 : assertTrue(ASTNode.CONSTRUCTOR_INVOCATION == 17);
Comparing identical expressions
ASTTest.java :
7051 : assertTrue(ASTNode.CONTINUE_STATEMENT == 18);
Comparing identical expressions
ASTTest.java :
7052 : assertTrue(ASTNode.DO_STATEMENT == 19);
Comparing identical expressions
ASTTest.java :
7053 : assertTrue(ASTNode.EMPTY_STATEMENT == 20);
Comparing identical expressions
ASTTest.java :
7054 : assertTrue(ASTNode.EXPRESSION_STATEMENT == 21);
Comparing identical expressions
ASTTest.java :
7055 : assertTrue(ASTNode.FIELD_ACCESS == 22);
Comparing identical expressions
ASTTest.java :
7056 : assertTrue(ASTNode.FIELD_DECLARATION == 23);
Comparing identical expressions
ASTTest.java :
7057 : assertTrue(ASTNode.FOR_STATEMENT == 24);
Comparing identical expressions
ASTTest.java :
7058 : assertTrue(ASTNode.IF_STATEMENT == 25);
Comparing identical expressions
ASTTest.java :
7059 : assertTrue(ASTNode.IMPORT_DECLARATION == 26);
Comparing identical expressions
ASTTest.java :
7060 : assertTrue(ASTNode.INFIX_EXPRESSION == 27);
Comparing identical expressions
ASTTest.java :
7061 : assertTrue(ASTNode.INITIALIZER == 28);
Comparing identical expressions
ASTTest.java :
7062 : assertTrue(ASTNode.JSDOC == 29);
Comparing identical expressions
ASTTest.java :
7063 : assertTrue(ASTNode.LABELED_STATEMENT == 30);
Comparing identical expressions
ASTTest.java :
7064 : assertTrue(ASTNode.FUNCTION_DECLARATION == 31);
Comparing identical expressions
ASTTest.java :
7065 : assertTrue(ASTNode.FUNCTION_INVOCATION == 32);
Comparing identical expressions
ASTTest.java :
7066 : assertTrue(ASTNode.NULL_LITERAL == 33);
Comparing identical expressions
ASTTest.java :
7067 : assertTrue(ASTNode.NUMBER_LITERAL == 34);
Comparing identical expressions
ASTTest.java :
7068 : assertTrue(ASTNode.PACKAGE_DECLARATION == 35);
Comparing identical expressions
ASTTest.java :
7069 : assertTrue(ASTNode.PARENTHESIZED_EXPRESSION == 36);
Comparing identical expressions
ASTTest.java :
7070 : assertTrue(ASTNode.POSTFIX_EXPRESSION == 37);
Comparing identical expressions
ASTTest.java :
7071 : assertTrue(ASTNode.PREFIX_EXPRESSION == 38);
Comparing identical expressions
ASTTest.java :
7072 : assertTrue(ASTNode.PRIMITIVE_TYPE == 39);
Comparing identical expressions
ASTTest.java :
7073 : assertTrue(ASTNode.QUALIFIED_NAME == 40);
Comparing identical expressions
ASTTest.java :
7074 : assertTrue(ASTNode.RETURN_STATEMENT == 41);
Comparing identical expressions
ASTTest.java :
7075 : assertTrue(ASTNode.SIMPLE_NAME == 42);
Comparing identical expressions
ASTTest.java :
7076 : assertTrue(ASTNode.SIMPLE_TYPE == 43);
Comparing identical expressions
ASTTest.java :
7077 : assertTrue(ASTNode.SINGLE_VARIABLE_DECLARATION == 44);
Comparing identical expressions
ASTTest.java :
7078 : assertTrue(ASTNode.STRING_LITERAL == 45);
Comparing identical expressions
ASTTest.java :
7079 : assertTrue(ASTNode.SUPER_CONSTRUCTOR_INVOCATION == 46);
Comparing identical expressions
ASTTest.java :
7080 : assertTrue(ASTNode.SUPER_FIELD_ACCESS == 47);
Comparing identical expressions
ASTTest.java :
7081 : assertTrue(ASTNode.SUPER_METHOD_INVOCATION == 48);
Comparing identical expressions
ASTTest.java :
7082 : assertTrue(ASTNode.SWITCH_CASE == 49);
Comparing identical expressions
ASTTest.java :
7083 : assertTrue(ASTNode.SWITCH_STATEMENT == 50);
Comparing identical expressions
ASTTest.java :
7084 : assertTrue(ASTNode.THIS_EXPRESSION == 52);
Comparing identical expressions
ASTTest.java :
7085 : assertTrue(ASTNode.THROW_STATEMENT == 53);
Comparing identical expressions
ASTTest.java :
7086 : assertTrue(ASTNode.TRY_STATEMENT == 54);
Comparing identical expressions
ASTTest.java :
7087 : assertTrue(ASTNode.TYPE_DECLARATION == 55);
Comparing identical expressions
ASTTest.java :
7088 : assertTrue(ASTNode.TYPE_DECLARATION_STATEMENT == 56);
Comparing identical expressions
ASTTest.java :
7089 : assertTrue(ASTNode.TYPE_LITERAL == 57);
Comparing identical expressions
ASTTest.java :
7090 : assertTrue(ASTNode.VARIABLE_DECLARATION_EXPRESSION == 58);
Comparing identical expressions
ASTTest.java :
7091 : assertTrue(ASTNode.VARIABLE_DECLARATION_FRAGMENT == 59);
Comparing identical expressions
ASTTest.java :
7092 : assertTrue(ASTNode.VARIABLE_DECLARATION_STATEMENT == 60);
Comparing identical expressions
ASTTest.java :
7093 : assertTrue(ASTNode.WHILE_STATEMENT == 61);
Comparing identical expressions
ASTTest.java :
7094 : assertTrue(ASTNode.INSTANCEOF_EXPRESSION == 62);
Comparing identical expressions
ASTTest.java :
7095 : assertTrue(ASTNode.LINE_COMMENT == 63);
Comparing identical expressions
ASTTest.java :
7096 : assertTrue(ASTNode.BLOCK_COMMENT == 64);
Comparing identical expressions
ASTTest.java :
7097 : assertTrue(ASTNode.TAG_ELEMENT == 65);
Comparing identical expressions
ASTTest.java :
7098 : assertTrue(ASTNode.TEXT_ELEMENT == 66);
Comparing identical expressions
ASTTest.java :
7099 : assertTrue(ASTNode.MEMBER_REF == 67);
Comparing identical expressions
ASTTest.java :
7100 : assertTrue(ASTNode.FUNCTION_REF == 68);
Comparing identical expressions
ASTTest.java :
7101 : assertTrue(ASTNode.FUNCTION_REF_PARAMETER == 69);
Comparing identical expressions
ASTTest.java :
7102 : assertTrue(ASTNode.ENHANCED_FOR_STATEMENT == 70);
Comparing identical expressions
ASTTest.java :
7103 : assertTrue(ASTNode.QUALIFIED_TYPE == 75);
Comparing identical expressions
ASTTest.java :
7104 : assertTrue(ASTNode.MODIFIER == 100);
The value of the local variable totalTime is not used
ProfilingASTConvertionTest.java :
240 : long totalTime = 0;
The value of the local variable qt is not used
SampleASTs.java :
134 : QualifiedType qt = target.newQualifiedType(st, target.newSimpleName("x")); //$NON-NLS-1$
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;
The value of the local variable methRef is not used
AbstractJavaSearchTests.java :
193 : MethodReferenceMatch methRef = (MethodReferenceMatch) match;
The method getClasspathEntries() from the type LocalTestContainer is never used locally
ClasspathTests.java :
2181 : public IIncludePathEntry[] getClasspathEntries() {
The value of the local variable flags is not used
CompilationUnitTests.java :
744 : String[] flags = new String[] {"public", "protected", "private", "", "", "", "", ""};
The value of the local variable signatures is not used
CompilationUnitTests.java :
745 : String[] signatures = new String[] {"I", "QObject;", "QX;", "Qjava.lang.String;", "I", "I", "I", "I"};
The value of the local variable flags is not used
CompilationUnitTests.java :
899 : String[] flags = new String[] {"public", "protected static", "private", "private"};
The value of the local variable modifiers is not used
CompilationUnitTests.java :
903 : int modifiers = methods[i].getFlags() & ~Flags.AccVarargs;
The value of the local variable pz is not used
CompletionTests2.java :
442 : File pz = this.createDirectory(src, "pz");
The method getConstantField(String) from the type GetSourceTests is never used locally
GetSourceTests.java :
240 : private IField getConstantField(String fieldName) {
The import org.eclipse.wst.jsdt.core.search.TypeNameMatchRequestor is never used
JavaSearchBugsTests.java :
42 : import org.eclipse.wst.jsdt.core.search.TypeNameMatchRequestor;
The value of the local variable project15 is not used
ReconcilerTests.java :
180 : IJavaScriptProject project15 = createJavaProject("Reconciler15", new String[] {"src"}, new String[] {"JCL15_LIB"}, "bin", "1.5");
The method setUp15WorkingCopy() from the type ReconcilerTests is never used locally
ReconcilerTests.java :
217 : private void setUp15WorkingCopy() throws JavaScriptModelException {
The method select(String, String, String) from the type ResolveTests is never used locally
ResolveTests.java :
38 : private IJavaScriptElement[] select(String path, String source, String selection) throws JavaScriptModelException {
Dead code
RunCompletionModelTests.java :
29 : if(false) COMPLETION_SUITES.add(CompletionTests.class);
Dead code
RunCompletionModelTests.java :
31 : if(false) COMPLETION_SUITES.add(CompletionContextTests.class);
Dead code
RunCompletionModelTests.java :
32 : if(false) COMPLETION_SUITES.add(CompletionWithMissingTypesTests.class);
Dead code
RunCompletionModelTests.java :
33 : if(false) COMPLETION_SUITES.add(CompletionWithMissingTypesTests2.class);
Dead code
RunCompletionModelTests.java :
34 : if(false) COMPLETION_SUITES.add(SnippetCompletionContextTests.class);
Dead code
RunCompletionModelTests.java :
36 : if(false) COMPLETION_SUITES.add(JavadocTypeCompletionModelTest.class);
Dead code
RunCompletionModelTests.java :
37 : if(false) COMPLETION_SUITES.add(JavadocFieldCompletionModelTest.class);
Dead code
RunCompletionModelTests.java :
38 : if(false) COMPLETION_SUITES.add(JavadocMethodCompletionModelTest.class);
Dead code
RunCompletionModelTests.java :
39 : if(false) COMPLETION_SUITES.add(JavadocPackageCompletionModelTest.class);
Dead code
RunCompletionModelTests.java :
40 : if(false) COMPLETION_SUITES.add(JavadocTextCompletionModelTest.class);
Dead code
RunCompletionModelTests.java :
41 : if(false) COMPLETION_SUITES.add(JavadocBugsCompletionModelTest.class);
Dead code
RunCompletionModelTests.java :
42 : if(false) COMPLETION_SUITES.add(JavadocCompletionContextTests.class);
The value of the local variable flags is not used
TypeHierarchyTests.java :
1016 : int flags = hierarchy.getCachedFlags(type2);
The value of the local variable pbRequestor is not used
WorkingCopyNotInClasspathTests.java :
167 : ReconcilerTests.ProblemRequestor pbRequestor = new ReconcilerTests.ProblemRequestor();
The value of the local variable pbRequestor is not used
WorkingCopyNotInClasspathTests.java :
189 : ReconcilerTests.ProblemRequestor pbRequestor = new ReconcilerTests.ProblemRequestor();
The value of the local variable type is not used
WorkingCopyOwnerTests.java :
1064 : TypeDeclaration type = (TypeDeclaration)types.get(0);
Dead code
ASTRewritingExpressionsTest.java :
697 : IPackageFragment pack1= this.sourceFolder.createPackageFragment("test1", false, null);
The value of the local variable ast is not used
ASTRewritingMoveCodeTest.java :
1873 : AST ast= astRoot.getAST();
Dead code
ASTRewritingStatementsTest.java :
588 : IPackageFragment pack1= this.sourceFolder.createPackageFragment("test1", false, null);
The value of the local variable returnStatement is not used
ASTRewritingTrackingTest.java :
496 : ReturnStatement returnStatement= (ReturnStatement) method.getBody().statements().get(0);
Dead code
ASTRewritingTypeDeclTest.java :
67 : return setUpTest(new ASTRewritingTypeDeclTest("testEnumDeclaration"));
The value of the local variable ast is not used
LineCommentOffsetsTest.java :
234 : AST ast= astRoot.getAST();
The value of the local variable type is not used
LineCommentOffsetsTest.java :
237 : TypeDeclaration type= findTypeDeclaration(astRoot, "E");
Dead code
ASTRewritingModifyingCopyTest.java :
39 : TestSuite suite= new Suite("one test");
Dead code
ASTRewritingModifyingInsertTest.java :
37 : TestSuite suite= new Suite("one test");
Dead code
ASTRewritingModifyingMoveTest.java :
38 : TestSuite suite= new Suite("one test");
Dead code
ASTRewritingModifyingOtherTest.java :
39 : TestSuite suite= new Suite("one test");
Dead code
ASTRewritingModifyingRemoveTest.java :
41 : TestSuite suite= new Suite("one test");
Dead code
ASTRewritingModifyingReplaceTest.java :
40 : TestSuite suite= new Suite("one test");