Compiler: Eclipse Java Compiler Version: 0.959, 3.5.0 rc1
Number of source files: 174 Number of classfiles: 228
Problems: 116 (Errors: 0 Warnings: 116 )
The local variable output is never read
ClasspathDependencyEARTests.java :
364 : IFolder output = util.getFolder("build").getFolder("classes");
The local variable utilComp is never read
ClasspathDependencyEARTests.java :
371 : final IVirtualComponent utilComp = ComponentCore.createComponent(util);
The local variable webJavaProject is never read
ClasspathDependencyValidationTests.java :
190 : final IJavaProject webJavaProject = JavaCore.create(webProject);
The local variable earLibContainer is never read
ClasspathDependencyValidationTests.java :
295 : IClasspathEntry earLibContainer = null;
The local variable webAppLibContainer is never read
ClasspathDependencyValidationTests.java :
296 : IClasspathEntry webAppLibContainer = null;
The local variable jreContainer is never read
ClasspathDependencyValidationTests.java :
297 : IClasspathEntry jreContainer = null;
The method testInvalidContainer(IJavaProject, IClasspathEntry) from the type ClasspathDependencyValidationTests is never used locally
ClasspathDependencyValidationTests.java :
326 : private void testInvalidContainer(final IJavaProject javaProject, final IClasspathEntry entry) throws Exception {
The local variable utilComp is never read
ClasspathDependencyWebTests.java :
234 : final IVirtualComponent utilComp = ComponentCore.createComponent(util);
The local variable jobMgr is never read
DependencyUtil.java :
66 : final IJobManager jobMgr = Platform.getJobManager();
The local variable jobMgr is never read
DependencyUtil.java :
76 : final IJobManager jobMgr = Platform.getJobManager();
The field ProjectUtil.listener is never read locally
ProjectUtil.java :
362 : private static ClasspathUpdateJobListener listener = new ClasspathUpdateJobListener();
The field ProjectUtil.ClasspathUpdateJobListener.isDone is never read locally
ProjectUtil.java :
366 : public boolean isDone = false;
The field AppClientArtifactEditFVTest.appClientModuleName is never read locally
AppClientArtifactEditFVTest.java :
19 : private String appClientModuleName;
The method validateResource() from the type AppClientArtifactEditFVTest is never used locally
AppClientArtifactEditFVTest.java :
84 : private void validateResource() {
The method createResourceComponent() from the type AppClientArtifactEditFVTest is never used locally
AppClientArtifactEditFVTest.java :
99 : private ComponentResource createResourceComponent() {
The local variable testURI is never read
AppClientArtifactEditTest.java :
202 : boolean testURI = uri.equals(TestWorkspace.APP_CLIENT_DD_XMI_RESOURCE_URI);
The local variable resource is never read
AppClientArtifactEditTest.java :
220 : Resource resource = edit.getDeploymentDescriptorResource();
The local variable edit2 is never read
AppClientArtifactEditTest.java :
221 : AppClientArtifactEdit edit2 = new AppClientArtifactEdit(getArtifactEditModelforRead()) {
The local variable wbComponent is never read
AppClientArtifactEditTest.java :
266 : WorkbenchComponent wbComponent = moduleCore.getComponent();
The local variable wbComponent is never read
AppClientArtifactEditTest.java :
285 : WorkbenchComponent wbComponent = moduleCore.getComponent();
The local variable object is never read
AppClientArtifactEditTest.java :
398 : Object object = edit.getContentModelRoot();
The field ConnectorArtifactEditFVTest.jcaModuleName is never read locally
ConnectorArtifactEditFVTest.java :
19 : private String jcaModuleName;
The method pass(ApplicationClient) from the type ConnectorArtifactEditFVTest is never used locally
ConnectorArtifactEditFVTest.java :
82 : private static void pass(ApplicationClient jca) {
The method validateResource() from the type ConnectorArtifactEditFVTest is never used locally
ConnectorArtifactEditFVTest.java :
87 : private void validateResource() {
The method createResourceComponent() from the type ConnectorArtifactEditFVTest is never used locally
ConnectorArtifactEditFVTest.java :
101 : private ComponentResource createResourceComponent() {
The field ConnectorArtifactEditTest.jcaModuleName is never read locally
ConnectorArtifactEditTest.java :
20 : private String jcaModuleName;
The local variable wbComponent is never read
ConnectorArtifactEditTest.java :
84 : WorkbenchComponent wbComponent = null;
The local variable wbComponent is never read
ConnectorArtifactEditTest.java :
112 : WorkbenchComponent wbComponent = moduleCore.getComponent();
The local variable wbComponent is never read
ConnectorArtifactEditTest.java :
131 : WorkbenchComponent wbComponent = moduleCore.getComponent();
The local variable wbComponent is never read
EARArtifactEditTest.java :
119 : WorkbenchComponent wbComponent = null;
The local variable wbComponent is never read
EARArtifactEditTest.java :
147 : WorkbenchComponent wbComponent = moduleCore.getComponent();
The local variable uriExist is never read
EARArtifactEditTest.java :
281 : boolean uriExist = edit.uriExists(TestWorkspace.EJB_MODULE_URI.toString());
The field EJBArtifactEditFVTest.ejbModuleName is never read locally
EJBArtifactEditFVTest.java :
30 : private String ejbModuleName;
The method validateResource() from the type EJBArtifactEditFVTest is never used locally
EJBArtifactEditFVTest.java :
92 : private void validateResource() {
The method createResourceComponent() from the type EJBArtifactEditFVTest is never used locally
EJBArtifactEditFVTest.java :
106 : private ComponentResource createResourceComponent() {
The local variable uri is never read
EJBArtifactEditTest.java :
165 : String uri = edit.getEJBJarXmiResource().toString();
The local variable test is never read
EJBArtifactEditTest.java :
254 : EnterpriseArtifactEdit test = new EJBArtifactEdit(getArtifactEditModelforRead()) {
The method test() from the type new EJBArtifactEdit(){} is never used locally
EJBArtifactEditTest.java :
260 : public void test() {
The field EarArtiFactEditFVTest.earModuleName is never read locally
EarArtiFactEditFVTest.java :
33 : private String earModuleName;
The method pass(ApplicationClient) from the type EarArtiFactEditFVTest is never used locally
EarArtiFactEditFVTest.java :
95 : private static void pass(ApplicationClient ear) {
The method validateResource() from the type EarArtiFactEditFVTest is never used locally
EarArtiFactEditFVTest.java :
100 : private void validateResource() {
The method createResourceComponent() from the type EarArtiFactEditFVTest is never used locally
EarArtiFactEditFVTest.java :
114 : private ComponentResource createResourceComponent() {
The field EnterpriseArtifactEditTest.earModuleName is never read locally
EnterpriseArtifactEditTest.java :
26 : private String earModuleName;
The local variable wbComponent is never read
EnterpriseArtifactEditTest.java :
41 : WorkbenchComponent wbComponent = null;
The field JaxRPCMapArtifactEditFVTest.serverContextData is never read locally
JaxRPCMapArtifactEditFVTest.java :
17 : private String serverContextData = TestWorkspace.WEB_SERVER_CONTEXT_ROOT + "Test";
The method updateClient(WebServices) from the type JaxRPCMapArtifactEditFVTest is never used locally
JaxRPCMapArtifactEditFVTest.java :
30 : private void updateClient(WebServices client) {
The method pass() from the type JaxRPCMapArtifactEditFVTest is never used locally
JaxRPCMapArtifactEditFVTest.java :
37 : private void pass() {
The local variable webapp is never read
JaxRPCMapArtifactEditFVTest.java :
51 : WebApp webapp = webedit.getWebApp();
The method pass(WebServices) from the type JaxRPCMapArtifactEditFVTest is never used locally
JaxRPCMapArtifactEditFVTest.java :
56 : private static void pass(WebServices webservice) {
The method validateResource() from the type JaxRPCMapArtifactEditFVTest is never used locally
JaxRPCMapArtifactEditFVTest.java :
63 : private void validateResource() {
The field WSDDArtifactEditFVTest.webModuleName is never read locally
WSDDArtifactEditFVTest.java :
16 : private String webModuleName;
The field WSDDArtifactEditFVTest.serverContextData is never read locally
WSDDArtifactEditFVTest.java :
17 : private String serverContextData = TestWorkspace.WEB_SERVER_CONTEXT_ROOT + "Test";
The method validateResource() from the type WSDDArtifactEditFVTest is never used locally
WSDDArtifactEditFVTest.java :
80 : private void validateResource() {
The field WebArtifactEditTest.webModuleName is never read locally
WebArtifactEditTest.java :
25 : private String webModuleName;
The local variable uri is never read
WebArtifactEditTest.java :
61 : String uri = edit.getDeploymentDescriptorResource().getURI().toString();
The method createProject(IProjectDescription, IProject, IProgressMonitor) from the type EJBDeployTest is never used locally
EJBDeployTest.java :
77 : private void createProject(IProjectDescription description, IProject projectHandle, IProgressMonitor monitor) throws CoreException, OperationCanceledException {
The local variable javaResource is never read
EJBDeployTest.java :
119 : IModuleResource javaResource = javaMembers[j];
The local variable operationStatus is never read
EJBDeployTest.java :
143 : IStatus operationStatus = dm.getDefaultOperation().execute(new NullProgressMonitor(), null);
The method getResourceSet(String) from the type EJBDeployTest is never used locally
EJBDeployTest.java :
154 : private ProjectResourceSet getResourceSet(String projName) {
The method createEarProject(String) from the type EJBDeployTest is never used locally
EJBDeployTest.java :
174 : private IProject createEarProject(String projName) throws ExecutionException {
The method registerFactory(URI, ResourceSet, Resource.Factory) from the type EJBDeployTest is never used locally
EJBDeployTest.java :
213 : private void registerFactory(URI uri, ResourceSet resSet, Resource.Factory factory) {
The method getResourceSet() from the type EJBDeployTest is never used locally
EJBDeployTest.java :
217 : private ResourceSet getResourceSet() {
The method createConnectorComponent(int, String, String) from the type PortedComponentCreationTest is never used locally
PortedComponentCreationTest.java :
89 : private void createConnectorComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{
The method createWebComponent(int, String, String) from the type PortedComponentCreationTest is never used locally
PortedComponentCreationTest.java :
98 : private void createWebComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{
The method createAppClientComponent(int, String, String) from the type PortedComponentCreationTest is never used locally
PortedComponentCreationTest.java :
107 : private void createAppClientComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{
The method createEjbComponent(int, String, String) from the type PortedComponentCreationTest is never used locally
PortedComponentCreationTest.java :
116 : private void createEjbComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{
The method createEARComponent(int, String, String) from the type PortedComponentCreationTest is never used locally
PortedComponentCreationTest.java :
125 : private void createEARComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{
The method getOutputPath(IProject) from the type ProjectMigrationTest is never used locally
ProjectMigrationTest.java :
74 : private IPath getOutputPath(IProject project) {
The method pass() from the type Migrate07EJBTest is never used locally
Migrate07EJBTest.java :
45 : private void pass() {
The field FlexibleProjectBuilderTest.emfContext is never read locally
FlexibleProjectBuilderTest.java :
42 : private EMFWorkbenchContext emfContext;
The local variable pm is never read
ModuleStructuralModelTest.java :
120 : ProjectComponents pm = moduleCore.getComponentModelRoot();
The local variable clazz is never read
ModuleStructuralModelTest.java :
121 : Class clazz = moduleCore.getClass();
The local variable name is never read
ModuleStructuralModelTest.java :
122 : String name = StructureEdit.getDeployedName(getWebModuleURI());
The local variable er is never read
ModuleStructuralModelTest.java :
129 : IResource er = StructureEdit.getEclipseResource(wmr);
The local variable b is never read
ModuleStructuralModelTest.java :
137 : boolean b = moduleCore.isLocalDependency(dependentModule);
The local variable secondModel is never read
DeleteProjectTest.java :
101 : EJBJar secondModel = (EJBJar) provider.getModelObject();
The local variable secondModel is never read
DeleteProjectTest.java :
144 : EJBJar secondModel = (EJBJar) provider.getModelObject();
The import org.eclipse.jst.jee.model.internal.EjbAnnotationFactory is never used
EjbAnnotationFactoryTest.java :
24 : import org.eclipse.jst.jee.model.internal.EjbAnnotationFactory;
The local variable beans is never read
EjbAnnotationReaderTest.java :
177 : List<SessionBean> beans = getEJBJar().getEnterpriseBeans().getSessionBeans();
The field GenerateDDTest.EJB_JAR_CONTENT is never read locally
GenerateDDTest.java :
36 : private static final String EJB_JAR_CONTENT = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
The local variable operationStatus is never read
JEE5LegacyModelTest.java :
117 : IStatus operationStatus = importModel.getDefaultOperation().execute(new NullProgressMonitor(), null);
The method registerFactory(URI, ResourceSet, Resource.Factory) from the type JEE5LegacyModelTest is never used locally
JEE5LegacyModelTest.java :
190 : private void registerFactory(URI uri, ResourceSet resSet, Resource.Factory factory) {
The method getResourceSet() from the type JEE5LegacyModelTest is never used locally
JEE5LegacyModelTest.java :
194 : private ResourceSet getResourceSet() {
The method createAppClientProject(String) from the type JEE5ModelTest is never used locally
JEE5ModelTest.java :
331 : private IProject createAppClientProject(String projName) throws ExecutionException {
The method registerFactory(URI, ResourceSet, Resource.Factory) from the type JEE5ModelTest is never used locally
JEE5ModelTest.java :
407 : private void registerFactory(URI uri, ResourceSet resSet, Resource.Factory factory) {
The method getResourceSet() from the type JEE5ModelTest is never used locally
JEE5ModelTest.java :
411 : private ResourceSet getResourceSet() {
The local variable ear is never read
ModelProviderTest.java :
225 : org.eclipse.jst.j2ee.application.Application ear = (org.eclipse.jst.j2ee.application.Application) provider
The local variable client is never read
ModelProviderTest.java :
442 : ApplicationClient client = (ApplicationClient) provider
The local variable client is never read
ModelProviderTest.java :
471 : org.eclipse.jst.javaee.applicationclient.ApplicationClient client = (org.eclipse.jst.javaee.applicationclient.ApplicationClient) provider
The local variable client is never read
ModelProviderTest.java :
507 : org.eclipse.jst.javaee.applicationclient.ApplicationClient client = (org.eclipse.jst.javaee.applicationclient.ApplicationClient) provider
The local variable fragment is never read
Web25MergedModelProviderTest.java :
86 : IPackageFragment fragment = root.createPackageFragment("sap", true, new NullProgressMonitor());
The method saveFileAndUpdate(IFile, String) from the type Web25MergedModelProviderTest is never used locally
Web25MergedModelProviderTest.java :
128 : private void saveFileAndUpdate(IFile webXml, String content) throws InterruptedException, Exception {
The field WebAnnotationReaderTest.BEAN_WITH_NAME is never read locally
WebAnnotationReaderTest.java :
47 : private static String BEAN_WITH_NAME = "package com.sap;" + "import javax.ejb.Stateless;"
The field EARProjectCreationOperationTest.CONNECTOR_PROJ_15 is never read locally
EARProjectCreationOperationTest.java :
70 : private static final String CONNECTOR_PROJ_15 = "myConnector_15";
The local variable proj is never read
AddEJBeanOperationTest.java :
60 : IProject proj = ProjectUtilities.getProject(EJB_PROJECT_NAME);
The local variable proj is never read
AddEJBeanOperationTest.java :
78 : IProject proj = ProjectUtilities.getProject(EJB_PROJECT_NAME);
The method addStateless(IDataModel) from the type EJBExportOperationTest is never used locally
EJBExportOperationTest.java :
85 : private void addStateless(IDataModel dm) throws Exception {
The static method runAndVerify(IDataModel) from the type OperationTestCase should be accessed in a static way
EJBGeneraUseTest.java :
57 : this.runAndVerify(model);
The static method runAndVerify(IDataModel) from the type OperationTestCase should be accessed in a static way
EJBGeneraUseTest.java :
79 : this.runAndVerify(model);
The static method runAndVerify(IDataModel) from the type OperationTestCase should be accessed in a static way
EJBGeneraUseTest.java :
97 : this.runAndVerify(model);
Null pointer access: The variable file can only be null at this location
EJBGeneraUseTest.java :
104 : Assert.assertTrue("The file " + this.FILE1 + " should exsist in the project.", file.exists());
The local variable javaProject is never read
DefectVerificationTests.java :
702 : IJavaProject javaProject = JavaCore.create(proj);
The method getWarFile(String) from the type DefectVerificationTests is never used locally
DefectVerificationTests.java :
772 : private String getWarFile(String fileName) {
The method checkIfModelIsParsed(WebApp) from the type DefectVerificationTests is never used locally
DefectVerificationTests.java :
776 : private void checkIfModelIsParsed(WebApp deploymentDescriptor1) {
The local variable project is never read
ThreadingTest.java :
169 : IProject project = StructureEdit.getContainingProject(writeStructureEdits[structureEditCount][projectCount].getComponent());
The local variable nestedArchive is never read
EJBImportDataModelVerifier.java :
70 : for(IArchive nestedArchive : nestedArchives) {
The local variable iProjVersion is never read
JEEExportDataModelVerifier.java :
59 : int iProjVersion = J2EEVersionUtil.convertVersionStringToInt(sProjVersion);
The local variable facetModel is never read
JEEProjectCreationDataModelVerifier.java :
106 : IDataModel facetModel = facetMap.getFacetDataModel(facetProjectType);
The local variable nestedArchive is never read
JCAImportDataModelVerifier.java :
70 : for(IArchive nestedArchive : nestedArchives) {
The local variable nestedArchive is never read
UtilityImportDataModelVerifier.java :
81 : for(IArchive nestedArchive : nestedArchives) {
The local variable nestedArchive is never read
WebImportDataModelVerifier.java :
78 : for(IArchive nestedArchive : nestedArchives) {
The local variable nestedArchive is never read
AppClientImportDataModelVerifier.java :
72 : for(IArchive nestedArchive : nestedArchives) {
The local variable proj is never read
AppClientProjectCreationDataModelVerifier.java :
73 : IProject proj = ProjectUtilities.getProject(projName);
The local variable utilityList is never read
EARImportDataModelVerifier.java :
103 : List utilityList = (List)model.getProperty(IEARComponentImportDataModelProperties.UTILITY_LIST);
The local variable ejbClientList is never read
EARImportDataModelVerifier.java :
104 : List ejbClientList = (List)model.getProperty(IEARComponentImportDataModelProperties.EJB_CLIENT_LIST);
The local variable utilityModelsList is never read
EARImportDataModelVerifier.java :
105 : List utilityModelsList = (List)model.getProperty(IEARComponentImportDataModelProperties.UTILITY_MODELS_LIST);