Compiler Report

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

Number of source files: 84 Number of classfiles: 105

Problems: 75 (Errors: 0 Warnings: 75 )

Source File: org/eclipse/wst/common/extras/MemoryUsageTestSuite.java
1. WARNING: UnusedPrivateMethod

The method getOutputName() from the type MemoryUsageTestSuite is never used locally

MemoryUsageTestSuite.java :

63 : private String getOutputName() {

2. WARNING: UnusedPrivateMethod

The method getMemoryName() from the type MemoryUsageTestSuite is never used locally

MemoryUsageTestSuite.java :

74 : private String getMemoryName() {

Source File: org/eclipse/wst/common/tests/BaseTestCase.java
1. WARNING: UnusedPrivateField

The value of the field BaseTestCase.fFailOnLoggedStatus is not used

BaseTestCase.java :

9 : private static boolean fFailOnLoggedStatus = true;

2. WARNING: UnusedPrivateMethod

The method statusTypeToString(int) from the type BaseTestCase is never used locally

BaseTestCase.java :

243 : private String statusTypeToString(int statusType) {

Source File: org/eclipse/wst/common/tests/OperationTestCase.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable parentStack is not used

OperationTestCase.java :

180 : StackTraceElement[] parentStack = stack;

Source File: org/eclipse/wst/common/tests/xml/DomComparitor.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable pInst1 is not used

DomComparitor.java :

123 : ProcessingInstruction pInst1 = (ProcessingInstruction) node1;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable pInst2 is not used

DomComparitor.java :

124 : ProcessingInstruction pInst2 = (ProcessingInstruction) node2;

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable frag1 is not used

DomComparitor.java :

128 : DocumentFragment frag1 = (DocumentFragment) node1;

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable frag2 is not used

DomComparitor.java :

129 : DocumentFragment frag2 = (DocumentFragment) node2;

Source File: org/eclipse/wst/common/tests/xml/DomComparitorTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable source1 is not used

DomComparitorTest.java :

66 : InputSource source1 = new InputSource(new FileReader(new File(testData + fileName1)));

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable source2 is not used

DomComparitorTest.java :

67 : InputSource source2 = new InputSource(new FileReader(new File(testData + fileName2)));

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable source1 is not used

DomComparitorTest.java :

80 : InputSource source1 = new InputSource(new FileReader(new File(testData + fileName1)));

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable source2 is not used

DomComparitorTest.java :

81 : InputSource source2 = new InputSource(new FileReader(new File(testData + fileName2)));

Source File: org/eclipse/wst/common/frameworks/artifactedit/tests/ArtifactEditTest.java
1. WARNING: UnusedPrivateField

The value of the field ArtifactEditTest.artifactEditModelForWrite is not used

ArtifactEditTest.java :

44 : private ArtifactEditModel artifactEditModelForWrite;

2. WARNING: UnusedPrivateField

The value of the field ArtifactEditTest.artifactEditForWrite is not used

ArtifactEditTest.java :

46 : private ArtifactEdit artifactEditForWrite;

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable wbComponent is not used

ArtifactEditTest.java :

209 : WorkbenchComponent wbComponent = moduleCore.getComponent();

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable object is not used

ArtifactEditTest.java :

329 : Object object = edit.getContentModelRoot();

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/IVirtualComponentAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable name is not used

IVirtualComponentAPITest.java :

28 : String name = component.getName();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable properties is not used

IVirtualComponentAPITest.java :

41 : Properties properties = component.getMetaProperties() ;

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable metaresources is not used

IVirtualComponentAPITest.java :

45 : IPath[] metaresources = component.getMetaResources() ;

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable virtualResource is not used

IVirtualComponentAPITest.java :

60 : IVirtualResource[] virtualResource = rootFolder.getResources(resource) ;

5. WARNING: LocalVariableIsNeverUsed

The value of the local variable exists is not used

IVirtualComponentAPITest.java :

65 : boolean exists = component.exists();

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/IVirtualContainerTestAPI.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable bRetValue is not used

IVirtualContainerTestAPI.java :

32 : boolean bRetValue = container.exists(path);

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable resource is not used

IVirtualContainerTestAPI.java :

38 : IVirtualResource resource= container.findMember(name);

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable resource is not used

IVirtualContainerTestAPI.java :

46 : IVirtualResource resource= container.findMember(name,searchFlags);

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable resource is not used

IVirtualContainerTestAPI.java :

52 : IVirtualResource resource= container.findMember(path);

5. WARNING: LocalVariableIsNeverUsed

The value of the local variable resource is not used

IVirtualContainerTestAPI.java :

60 : IVirtualResource resource= container.findMember(path,searchFlags);

6. WARNING: LocalVariableIsNeverUsed

The value of the local variable resource is not used

IVirtualContainerTestAPI.java :

68 : IVirtualResource resource= container.getFile(path);

7. WARNING: LocalVariableIsNeverUsed

The value of the local variable resource is not used

IVirtualContainerTestAPI.java :

74 : IVirtualResource resource= container.getFolder(path);

8. WARNING: LocalVariableIsNeverUsed

The value of the local variable resource is not used

IVirtualContainerTestAPI.java :

80 : IVirtualResource resource= container.getFile(name);

9. WARNING: LocalVariableIsNeverUsed

The value of the local variable resource is not used

IVirtualContainerTestAPI.java :

86 : IVirtualResource resource= container.getFolder(name);

10. WARNING: LocalVariableIsNeverUsed

The value of the local variable resource is not used

IVirtualContainerTestAPI.java :

91 : IVirtualResource[] resource= container.members();

11. WARNING: LocalVariableIsNeverUsed

The value of the local variable resource is not used

IVirtualContainerTestAPI.java :

97 : IVirtualResource[] resource= container.members(memberFlags);

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/IVirtualFileAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable file is not used

IVirtualFileAPITest.java :

42 : IFile file = testFile1.getUnderlyingFile();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable file is not used

IVirtualFileAPITest.java :

46 : IFile[] file = testFile1.getUnderlyingFiles();

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/IVirtualReferenceAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable path is not used

IVirtualReferenceAPITest.java :

29 : IPath path = reference.getRuntimePath();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable dependencyType is not used

IVirtualReferenceAPITest.java :

40 : int dependencyType = 0;

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable exists is not used

IVirtualReferenceAPITest.java :

46 : boolean exists = reference.exists();

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable component is not used

IVirtualReferenceAPITest.java :

51 : IVirtualComponent component = reference.getEnclosingComponent();

5. WARNING: LocalVariableIsNeverUsed

The value of the local variable component is not used

IVirtualReferenceAPITest.java :

56 : IVirtualComponent component = reference.getReferencedComponent();

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/ModuleCoreAPIFVTTest.java
1. WARNING: UnusedImport

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

ModuleCoreAPIFVTTest.java :

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

2. WARNING: UnusedImport

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

ModuleCoreAPIFVTTest.java :

21 : import org.eclipse.core.resources.IProject;

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable root is not used

ModuleCoreAPIFVTTest.java :

218 : IVirtualFolder root = rootFolder.getFolder(new Path("/")); //$NON-NLS-1$

4. WARNING: UnusedPrivateMethod

The method isDuplicated(WorkbenchComponent, IPath) from the type ModuleCoreAPIFVTTest is never used locally

ModuleCoreAPIFVTTest.java :

348 : private boolean isDuplicated(WorkbenchComponent wbComponent, IPath runtimePath) {

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/ModuleCoreNatureAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable nature is not used

ModuleCoreNatureAPITest.java :

156 : ModuleCoreNature nature = ModuleCoreNature.getModuleCoreNature(project);

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/ModuleCoreURIConverterUnitTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable resultURI is not used

ModuleCoreURIConverterUnitTest.java :

42 : URI resultURI = converter.normalize(inputURI);

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable expectedURI is not used

ModuleCoreURIConverterUnitTest.java :

44 : URI expectedURI = URI.createURI("platform:/resource/WebModule1/WebModule1/WebContent/WEB-INF/web.xml"); //$NON-NLS-1$

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/StructureEditAPITest.java
1. WARNING: UnusedPrivateField

The value of the field StructureEditAPITest.zipFilePath is not used

StructureEditAPITest.java :

28 : private Path zipFilePath = new Path("TestData" + fileSep + "TestArtifactEdit.zip");

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable moduleCore is not used

StructureEditAPITest.java :

419 : StructureEdit moduleCore = null;

Source File: org/eclipse/wst/common/frameworks/componentcore/tests/StructureEditStressTest.java
1. WARNING: UnusedPrivateField

The value of the field StructureEditStressTest.zipFilePath is not used

StructureEditStressTest.java :

32 : private Path zipFilePath = new Path("TestData" + fileSep + "TestArtifactEdit.zip");

Source File: org/eclipse/wst/common/frameworks/componentcore/virtualpath/tests/DefectVerificationTests.java
1. WARNING: UnusedPrivateMethod

The method getLocalPath() from the type DefectVerificationTests is never used locally

DefectVerificationTests.java :

65 : private static IPath getLocalPath() {

Source File: org/eclipse/wst/common/frameworks/componentcore/virtualpath/tests/IVirtualComponentAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable name is not used

IVirtualComponentAPITest.java :

62 : String name = virtualComponent.getName();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable properties is not used

IVirtualComponentAPITest.java :

66 : Properties properties = virtualComponent.getMetaProperties() ;

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable metaresources is not used

IVirtualComponentAPITest.java :

70 : IPath[] metaresources = virtualComponent.getMetaResources() ;

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable virtualResource is not used

IVirtualComponentAPITest.java :

85 : IVirtualResource[] virtualResource = rootFolder.getResources(resource) ;

Source File: org/eclipse/wst/common/frameworks/componentcore/virtualpath/tests/IVirtualContainerAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable foundFolder is not used

IVirtualContainerAPITest.java :

104 : IVirtualFolder foundFolder = (IVirtualFolder) foundResource;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable foundFile is not used

IVirtualContainerAPITest.java :

110 : IVirtualFile foundFile = (IVirtualFile) foundResource;

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable foundFolder is not used

IVirtualContainerAPITest.java :

121 : IVirtualFolder foundFolder = (IVirtualFolder) foundResource;

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable foundFile is not used

IVirtualContainerAPITest.java :

127 : IVirtualFile foundFile = (IVirtualFile) foundResource;

5. WARNING: LocalVariableIsNeverUsed

The value of the local variable foundFolder is not used

IVirtualContainerAPITest.java :

138 : IVirtualFolder foundFolder = (IVirtualFolder) foundResource;

6. WARNING: LocalVariableIsNeverUsed

The value of the local variable foundFile is not used

IVirtualContainerAPITest.java :

144 : IVirtualFile foundFile = (IVirtualFile) foundResource;

7. WARNING: LocalVariableIsNeverUsed

The value of the local variable foundFolder is not used

IVirtualContainerAPITest.java :

154 : IVirtualFolder foundFolder = (IVirtualFolder) foundResource;

8. WARNING: LocalVariableIsNeverUsed

The value of the local variable foundFile is not used

IVirtualContainerAPITest.java :

160 : IVirtualFile foundFile = (IVirtualFile) foundResource;

Source File: org/eclipse/wst/common/frameworks/componentcore/virtualpath/tests/IVirtualReferenceAPITest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable path is not used

IVirtualReferenceAPITest.java :

29 : IPath path = reference.getRuntimePath();

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable dependencyType is not used

IVirtualReferenceAPITest.java :

40 : int dependencyType = 0;

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable exists is not used

IVirtualReferenceAPITest.java :

46 : boolean exists = reference.exists();

4. WARNING: LocalVariableIsNeverUsed

The value of the local variable component is not used

IVirtualReferenceAPITest.java :

51 : IVirtualComponent component = reference.getEnclosingComponent();

5. WARNING: LocalVariableIsNeverUsed

The value of the local variable component is not used

IVirtualReferenceAPITest.java :

56 : IVirtualComponent component = reference.getReferencedComponent();

Source File: org/eclipse/wst/common/frameworks/componentcore/virtualpath/tests/IVirtualResourceAPITest.java
1. WARNING: UnusedPrivateField

The value of the field IVirtualResourceAPITest.PROJECT_NAME is not used

IVirtualResourceAPITest.java :

47 : private static final String PROJECT_NAME = null;

Source File: org/eclipse/wst/common/frameworks/componentcore/virtualpath/tests/StructureEditTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable foundResources is not used

StructureEditTest.java :

42 : List foundResources = new ArrayList();

Source File: org/eclipse/wst/common/frameworks/datamodel/tests/DataModelEnablementTest.java
1. WARNING: NullLocalVariableReference

Null pointer access: The variable proj can only be null at this location

DataModelEnablementTest.java :

25 : proj.create(null);

2. WARNING: NullLocalVariableReference

Null pointer access: The variable proj can only be null at this location

DataModelEnablementTest.java :

34 : proj.create(null);

Source File: org/eclipse/wst/common/frameworks/datamodel/tests/DataModelFactoryTest.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable exception is not used

DataModelFactoryTest.java :

22 : Exception exception = null;

2. WARNING: LocalVariableIsNeverUsed

The value of the local variable exception is not used

DataModelFactoryTest.java :

33 : Exception exception = null;

3. WARNING: LocalVariableIsNeverUsed

The value of the local variable exception is not used

DataModelFactoryTest.java :

44 : Exception exception = null;