Compiler: Eclipse Compiler for Java(TM) Version: 0.C58, 3.8.0
Number of source files: 88 Number of classfiles: 112
Problems: 75 (Errors: 0 Warnings: 75 )
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 value of the field BaseTestCase.fFailOnLoggedStatus is not used
BaseTestCase.java :
9 : private static boolean fFailOnLoggedStatus = true;
The method statusTypeToString(int) from the type BaseTestCase is never used locally
BaseTestCase.java :
243 : private String statusTypeToString(int statusType) {
The value of the local variable parentStack is not used
OperationTestCase.java :
180 : StackTraceElement[] parentStack = stack;
The value of the local variable pInst1 is not used
DomComparitor.java :
123 : ProcessingInstruction pInst1 = (ProcessingInstruction) node1;
The value of the local variable pInst2 is not used
DomComparitor.java :
124 : ProcessingInstruction pInst2 = (ProcessingInstruction) node2;
The value of the local variable frag1 is not used
DomComparitor.java :
128 : DocumentFragment frag1 = (DocumentFragment) node1;
The value of the local variable frag2 is not used
DomComparitor.java :
129 : DocumentFragment frag2 = (DocumentFragment) node2;
The value of the local variable source1 is not used
DomComparitorTest.java :
66 : InputSource source1 = new InputSource(new FileReader(new File(testData + fileName1)));
The value of the local variable source2 is not used
DomComparitorTest.java :
67 : InputSource source2 = new InputSource(new FileReader(new File(testData + fileName2)));
The value of the local variable source1 is not used
DomComparitorTest.java :
80 : InputSource source1 = new InputSource(new FileReader(new File(testData + fileName1)));
The value of the local variable source2 is not used
DomComparitorTest.java :
81 : InputSource source2 = new InputSource(new FileReader(new File(testData + fileName2)));
The value of the field ArtifactEditTest.artifactEditModelForWrite is not used
ArtifactEditTest.java :
44 : private ArtifactEditModel artifactEditModelForWrite;
The value of the field ArtifactEditTest.artifactEditForWrite is not used
ArtifactEditTest.java :
46 : private ArtifactEdit artifactEditForWrite;
The value of the local variable wbComponent is not used
ArtifactEditTest.java :
209 : WorkbenchComponent wbComponent = moduleCore.getComponent();
The value of the local variable object is not used
ArtifactEditTest.java :
329 : Object object = edit.getContentModelRoot();
The value of the local variable name is not used
IVirtualComponentAPITest.java :
28 : String name = component.getName();
The value of the local variable properties is not used
IVirtualComponentAPITest.java :
41 : Properties properties = component.getMetaProperties() ;
The value of the local variable metaresources is not used
IVirtualComponentAPITest.java :
45 : IPath[] metaresources = component.getMetaResources() ;
The value of the local variable virtualResource is not used
IVirtualComponentAPITest.java :
60 : IVirtualResource[] virtualResource = rootFolder.getResources(resource) ;
The value of the local variable exists is not used
IVirtualComponentAPITest.java :
65 : boolean exists = component.exists();
The value of the local variable bRetValue is not used
IVirtualContainerTestAPI.java :
32 : boolean bRetValue = container.exists(path);
The value of the local variable resource is not used
IVirtualContainerTestAPI.java :
38 : IVirtualResource resource= container.findMember(name);
The value of the local variable resource is not used
IVirtualContainerTestAPI.java :
46 : IVirtualResource resource= container.findMember(name,searchFlags);
The value of the local variable resource is not used
IVirtualContainerTestAPI.java :
52 : IVirtualResource resource= container.findMember(path);
The value of the local variable resource is not used
IVirtualContainerTestAPI.java :
60 : IVirtualResource resource= container.findMember(path,searchFlags);
The value of the local variable resource is not used
IVirtualContainerTestAPI.java :
68 : IVirtualResource resource= container.getFile(path);
The value of the local variable resource is not used
IVirtualContainerTestAPI.java :
74 : IVirtualResource resource= container.getFolder(path);
The value of the local variable resource is not used
IVirtualContainerTestAPI.java :
80 : IVirtualResource resource= container.getFile(name);
The value of the local variable resource is not used
IVirtualContainerTestAPI.java :
86 : IVirtualResource resource= container.getFolder(name);
The value of the local variable resource is not used
IVirtualContainerTestAPI.java :
91 : IVirtualResource[] resource= container.members();
The value of the local variable resource is not used
IVirtualContainerTestAPI.java :
97 : IVirtualResource[] resource= container.members(memberFlags);
The value of the local variable file is not used
IVirtualFileAPITest.java :
42 : IFile file = testFile1.getUnderlyingFile();
The value of the local variable file is not used
IVirtualFileAPITest.java :
46 : IFile[] file = testFile1.getUnderlyingFiles();
The value of the local variable path is not used
IVirtualReferenceAPITest.java :
29 : IPath path = reference.getRuntimePath();
The value of the local variable dependencyType is not used
IVirtualReferenceAPITest.java :
40 : int dependencyType = 0;
The value of the local variable exists is not used
IVirtualReferenceAPITest.java :
46 : boolean exists = reference.exists();
The value of the local variable component is not used
IVirtualReferenceAPITest.java :
51 : IVirtualComponent component = reference.getEnclosingComponent();
The value of the local variable component is not used
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 value of the local variable root is not used
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 value of the local variable nature is not used
ModuleCoreNatureAPITest.java :
156 : ModuleCoreNature nature = ModuleCoreNature.getModuleCoreNature(project);
The value of the local variable resultURI is not used
ModuleCoreURIConverterUnitTest.java :
42 : URI resultURI = converter.normalize(inputURI);
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$
The value of the field StructureEditAPITest.zipFilePath is not used
StructureEditAPITest.java :
28 : private Path zipFilePath = new Path("TestData" + fileSep + "TestArtifactEdit.zip");
The value of the local variable moduleCore is not used
StructureEditAPITest.java :
419 : StructureEdit moduleCore = null;
The value of the field StructureEditStressTest.zipFilePath is not used
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 value of the local variable name is not used
IVirtualComponentAPITest.java :
62 : String name = virtualComponent.getName();
The value of the local variable properties is not used
IVirtualComponentAPITest.java :
66 : Properties properties = virtualComponent.getMetaProperties() ;
The value of the local variable metaresources is not used
IVirtualComponentAPITest.java :
70 : IPath[] metaresources = virtualComponent.getMetaResources() ;
The value of the local variable virtualResource is not used
IVirtualComponentAPITest.java :
85 : IVirtualResource[] virtualResource = rootFolder.getResources(resource) ;
The value of the local variable foundFolder is not used
IVirtualContainerAPITest.java :
104 : IVirtualFolder foundFolder = (IVirtualFolder) foundResource;
The value of the local variable foundFile is not used
IVirtualContainerAPITest.java :
110 : IVirtualFile foundFile = (IVirtualFile) foundResource;
The value of the local variable foundFolder is not used
IVirtualContainerAPITest.java :
121 : IVirtualFolder foundFolder = (IVirtualFolder) foundResource;
The value of the local variable foundFile is not used
IVirtualContainerAPITest.java :
127 : IVirtualFile foundFile = (IVirtualFile) foundResource;
The value of the local variable foundFolder is not used
IVirtualContainerAPITest.java :
138 : IVirtualFolder foundFolder = (IVirtualFolder) foundResource;
The value of the local variable foundFile is not used
IVirtualContainerAPITest.java :
144 : IVirtualFile foundFile = (IVirtualFile) foundResource;
The value of the local variable foundFolder is not used
IVirtualContainerAPITest.java :
154 : IVirtualFolder foundFolder = (IVirtualFolder) foundResource;
The value of the local variable foundFile is not used
IVirtualContainerAPITest.java :
160 : IVirtualFile foundFile = (IVirtualFile) foundResource;
The value of the local variable path is not used
IVirtualReferenceAPITest.java :
29 : IPath path = reference.getRuntimePath();
The value of the local variable dependencyType is not used
IVirtualReferenceAPITest.java :
40 : int dependencyType = 0;
The value of the local variable exists is not used
IVirtualReferenceAPITest.java :
46 : boolean exists = reference.exists();
The value of the local variable component is not used
IVirtualReferenceAPITest.java :
51 : IVirtualComponent component = reference.getEnclosingComponent();
The value of the local variable component is not used
IVirtualReferenceAPITest.java :
56 : IVirtualComponent component = reference.getReferencedComponent();
The value of the field IVirtualResourceAPITest.PROJECT_NAME is not used
IVirtualResourceAPITest.java :
47 : private static final String PROJECT_NAME = null;
The value of the local variable foundResources is not used
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 value of the local variable exception is not used
DataModelFactoryTest.java :
22 : Exception exception = null;
The value of the local variable exception is not used
DataModelFactoryTest.java :
33 : Exception exception = null;
The value of the local variable exception is not used
DataModelFactoryTest.java :
44 : Exception exception = null;