Compiler: Eclipse Java Compiler Version: 0.868, 3.4.0 release candidate-2
Number of source files: 84 Number of classfiles: 105
Problems: 81 (Errors: 0 Warnings: 81 )
The local variable pInst1 is never read
DomComparitor.java :
129 : ProcessingInstruction pInst1 = (ProcessingInstruction) node1;
The local variable pInst2 is never read
DomComparitor.java :
130 : ProcessingInstruction pInst2 = (ProcessingInstruction) node2;
The local variable frag1 is never read
DomComparitor.java :
134 : DocumentFragment frag1 = (DocumentFragment) node1;
The local variable frag2 is never read
DomComparitor.java :
135 : DocumentFragment frag2 = (DocumentFragment) node2;
The local variable source1 is never read
DomComparitorTest.java :
67 : InputSource source1 = new InputSource(new FileReader(new File(testData + fileName1)));
The local variable source2 is never read
DomComparitorTest.java :
68 : InputSource source2 = new InputSource(new FileReader(new File(testData + fileName2)));
The local variable source1 is never read
DomComparitorTest.java :
81 : InputSource source1 = new InputSource(new FileReader(new File(testData + fileName1)));
The local variable source2 is never read
DomComparitorTest.java :
82 : InputSource source2 = new InputSource(new FileReader(new File(testData + fileName2)));
The method getOutputName() from the type MemoryUsageTestSuite is never used locally
MemoryUsageTestSuite.java :
63 : private String getOutputName() {
The method getMemoryName() from the type MemoryUsageTestSuite is never used locally
MemoryUsageTestSuite.java :
74 : private String getMemoryName() {
The local variable statusType is never read
BaseTestCase.java :
208 : String statusType;
The local variable parentStack is never read
OperationTestCase.java :
180 : StackTraceElement[] parentStack = stack;
The field ArtifactEditTest.artifactEditModelForWrite is never read locally
ArtifactEditTest.java :
44 : private ArtifactEditModel artifactEditModelForWrite;
The field ArtifactEditTest.artifactEditForWrite is never read locally
ArtifactEditTest.java :
46 : private ArtifactEdit artifactEditForWrite;
The local variable wbComponent is never read
ArtifactEditTest.java :
210 : WorkbenchComponent wbComponent = moduleCore.getComponent();
The local variable object is never read
ArtifactEditTest.java :
330 : Object object = edit.getContentModelRoot();
The local variable name is never read
IVirtualComponentAPITest.java :
29 : String name = component.getName();
The local variable properties is never read
IVirtualComponentAPITest.java :
42 : Properties properties = component.getMetaProperties() ;
The local variable metaresources is never read
IVirtualComponentAPITest.java :
46 : IPath[] metaresources = component.getMetaResources() ;
The local variable virtualResource is never read
IVirtualComponentAPITest.java :
61 : IVirtualResource[] virtualResource = rootFolder.getResources(resource) ;
The local variable exists is never read
IVirtualComponentAPITest.java :
66 : boolean exists = component.exists();
The local variable bRetValue is never read
IVirtualContainerTestAPI.java :
32 : boolean bRetValue = container.exists(path);
The local variable resource is never read
IVirtualContainerTestAPI.java :
38 : IVirtualResource resource= container.findMember(name);
The local variable resource is never read
IVirtualContainerTestAPI.java :
46 : IVirtualResource resource= container.findMember(name,searchFlags);
The local variable resource is never read
IVirtualContainerTestAPI.java :
52 : IVirtualResource resource= container.findMember(path);
The local variable resource is never read
IVirtualContainerTestAPI.java :
60 : IVirtualResource resource= container.findMember(path,searchFlags);
The local variable resource is never read
IVirtualContainerTestAPI.java :
68 : IVirtualResource resource= container.getFile(path);
The local variable resource is never read
IVirtualContainerTestAPI.java :
74 : IVirtualResource resource= container.getFolder(path);
The local variable resource is never read
IVirtualContainerTestAPI.java :
80 : IVirtualResource resource= container.getFile(name);
The local variable resource is never read
IVirtualContainerTestAPI.java :
86 : IVirtualResource resource= container.getFolder(name);
The local variable resource is never read
IVirtualContainerTestAPI.java :
91 : IVirtualResource[] resource= container.members();
The local variable resource is never read
IVirtualContainerTestAPI.java :
97 : IVirtualResource[] resource= container.members(memberFlags);
The local variable file is never read
IVirtualFileAPITest.java :
43 : IFile file = testFile1.getUnderlyingFile();
The local variable file is never read
IVirtualFileAPITest.java :
47 : IFile[] file = testFile1.getUnderlyingFiles();
The local variable path is never read
IVirtualReferenceAPITest.java :
29 : IPath path = reference.getRuntimePath();
The local variable dependencyType is never read
IVirtualReferenceAPITest.java :
40 : int dependencyType = 0;
The local variable exists is never read
IVirtualReferenceAPITest.java :
46 : boolean exists = reference.exists();
The local variable component is never read
IVirtualReferenceAPITest.java :
51 : IVirtualComponent component = reference.getEnclosingComponent();
The local variable component is never read
IVirtualReferenceAPITest.java :
56 : IVirtualComponent component = reference.getReferencedComponent();
The import org.eclipse.core.resources.IContainer is never used
ModuleCoreAPIFVTTest.java :
19 : import org.eclipse.core.resources.IContainer;
The import org.eclipse.core.resources.IProject is never used
ModuleCoreAPIFVTTest.java :
21 : import org.eclipse.core.resources.IProject;
The local variable root is never read
ModuleCoreAPIFVTTest.java :
218 : IVirtualFolder root = rootFolder.getFolder(new Path("/")); //$NON-NLS-1$
The method isDuplicated(WorkbenchComponent, IPath) from the type ModuleCoreAPIFVTTest is never used locally
ModuleCoreAPIFVTTest.java :
348 : private boolean isDuplicated(WorkbenchComponent wbComponent, IPath runtimePath) {
The local variable nature is never read
ModuleCoreNatureAPITest.java :
156 : ModuleCoreNature nature = ModuleCoreNature.getModuleCoreNature(project);
The local variable resultURI is never read
ModuleCoreURIConverterUnitTest.java :
42 : URI resultURI = converter.normalize(inputURI);
The local variable expectedURI is never read
ModuleCoreURIConverterUnitTest.java :
44 : URI expectedURI = URI.createURI("platform:/resource/WebModule1/WebModule1/WebContent/WEB-INF/web.xml"); //$NON-NLS-1$
The field StructureEditAPITest.zipFilePath is never read locally
StructureEditAPITest.java :
28 : private Path zipFilePath = new Path("TestData" + fileSep + "TestArtifactEdit.zip");
The local variable moduleCore is never read
StructureEditAPITest.java :
419 : StructureEdit moduleCore = null;
The field StructureEditStressTest.zipFilePath is never read locally
StructureEditStressTest.java :
32 : private Path zipFilePath = new Path("TestData" + fileSep + "TestArtifactEdit.zip");
The method getLocalPath() from the type DefectVerificationTests is never used locally
DefectVerificationTests.java :
65 : private static IPath getLocalPath() {
The local variable name is never read
IVirtualComponentAPITest.java :
62 : String name = virtualComponent.getName();
The local variable properties is never read
IVirtualComponentAPITest.java :
66 : Properties properties = virtualComponent.getMetaProperties() ;
The local variable metaresources is never read
IVirtualComponentAPITest.java :
70 : IPath[] metaresources = virtualComponent.getMetaResources() ;
The local variable virtualResource is never read
IVirtualComponentAPITest.java :
85 : IVirtualResource[] virtualResource = rootFolder.getResources(resource) ;
The local variable foundFolder is never read
IVirtualContainerAPITest.java :
104 : IVirtualFolder foundFolder = (IVirtualFolder) foundResource;
The local variable foundFile is never read
IVirtualContainerAPITest.java :
110 : IVirtualFile foundFile = (IVirtualFile) foundResource;
The local variable foundFolder is never read
IVirtualContainerAPITest.java :
121 : IVirtualFolder foundFolder = (IVirtualFolder) foundResource;
The local variable foundFile is never read
IVirtualContainerAPITest.java :
127 : IVirtualFile foundFile = (IVirtualFile) foundResource;
The local variable foundFolder is never read
IVirtualContainerAPITest.java :
138 : IVirtualFolder foundFolder = (IVirtualFolder) foundResource;
The local variable foundFile is never read
IVirtualContainerAPITest.java :
144 : IVirtualFile foundFile = (IVirtualFile) foundResource;
The local variable foundFolder is never read
IVirtualContainerAPITest.java :
154 : IVirtualFolder foundFolder = (IVirtualFolder) foundResource;
The local variable foundFile is never read
IVirtualContainerAPITest.java :
160 : IVirtualFile foundFile = (IVirtualFile) foundResource;
The local variable path is never read
IVirtualReferenceAPITest.java :
29 : IPath path = reference.getRuntimePath();
The local variable dependencyType is never read
IVirtualReferenceAPITest.java :
40 : int dependencyType = 0;
The local variable exists is never read
IVirtualReferenceAPITest.java :
46 : boolean exists = reference.exists();
The local variable component is never read
IVirtualReferenceAPITest.java :
51 : IVirtualComponent component = reference.getEnclosingComponent();
The local variable component is never read
IVirtualReferenceAPITest.java :
56 : IVirtualComponent component = reference.getReferencedComponent();
The field IVirtualResourceAPITest.PROJECT_NAME is never read locally
IVirtualResourceAPITest.java :
47 : private static final String PROJECT_NAME = null;
The local variable foundResources is never read
StructureEditTest.java :
42 : List foundResources = new ArrayList();
Null pointer access: The variable proj can only be null at this location
DataModelEnablementTest.java :
25 : proj.create(null);
Null pointer access: The variable proj can only be null at this location
DataModelEnablementTest.java :
34 : proj.create(null);
The local variable exception is never read
DataModelFactoryTest.java :
22 : Exception exception = null;
The local variable exception is never read
DataModelFactoryTest.java :
33 : Exception exception = null;
The local variable exception is never read
DataModelFactoryTest.java :
44 : Exception exception = null;
Discouraged access: The type ProjectDescription is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-M/eclipse/plugins/org.eclipse.core.resources_3.4.2.R34x_v20090126.jar
ProjectUnzipUtil.java :
13 : import org.eclipse.core.internal.resources.ProjectDescription;
Discouraged access: The type ProjectDescriptionReader is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-M/eclipse/plugins/org.eclipse.core.resources_3.4.2.R34x_v20090126.jar
ProjectUnzipUtil.java :
14 : import org.eclipse.core.internal.resources.ProjectDescriptionReader;
Discouraged access: The type ProjectDescriptionReader is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-M/eclipse/plugins/org.eclipse.core.resources_3.4.2.R34x_v20090126.jar
ProjectUnzipUtil.java :
119 : ProjectDescriptionReader pd = new ProjectDescriptionReader();
Discouraged access: The constructor ProjectDescriptionReader() is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-M/eclipse/plugins/org.eclipse.core.resources_3.4.2.R34x_v20090126.jar
ProjectUnzipUtil.java :
119 : ProjectDescriptionReader pd = new ProjectDescriptionReader();
Discouraged access: The type ProjectDescriptionReader is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-M/eclipse/plugins/org.eclipse.core.resources_3.4.2.R34x_v20090126.jar
ProjectUnzipUtil.java :
119 : ProjectDescriptionReader pd = new ProjectDescriptionReader();
Discouraged access: The type ProjectDescription is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-M/eclipse/plugins/org.eclipse.core.resources_3.4.2.R34x_v20090126.jar
ProjectUnzipUtil.java :
123 : ProjectDescription description;
Discouraged access: The method read(IPath) from the type ProjectDescriptionReader is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.0-M/eclipse/plugins/org.eclipse.core.resources_3.4.2.R34x_v20090126.jar
ProjectUnzipUtil.java :
125 : description = pd.read(path);