Compiler: Eclipse Java Compiler Version: 0.959, 3.5.0 rc1
Number of source files: 103 Number of classfiles: 106
Problems: 108 (Errors: 0 Warnings: 108 )
The local variable exampleDeploymentDesURI is never read
AppClientEMFEditTest.java :
54 : String exampleDeploymentDesURI = curDir + "EMFTests/application-client.xml";
The local variable curDeploymentDesURI is never read
AppClientEMFEditTest.java :
55 : String curDeploymentDesURI = curDir + out + "/AppClientfoo/META-INF/application-client.xml";
The local variable exampleDeploymentDesURI is never read
EarEMFEditTest.java :
60 : String exampleDeploymentDesURI = curDir + "EMFTests/application.xml";
The local variable curDeploymentDesURI is never read
EarEMFEditTest.java :
61 : String curDeploymentDesURI = curDir + out + "/META-INF/application.xml";
The local variable exampleDeploymentDesURI is never read
EjbEMFEditTest.java :
94 : String exampleDeploymentDesURI = null;
The local variable curDeploymentDesURI is never read
EjbEMFEditTest.java :
102 : String curDeploymentDesURI = out + "/META-INF/ejb-jar.xml";
The local variable curDir is never read
EjbEMFEditTest.java :
123 : String curDir = AutomatedBVT.baseDirectory;
Discouraged access: The type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
EjbEMFTest.java :
26 : import org.eclipse.jem.java.internal.impl.JavaClassImpl;
Discouraged access: The type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
EjbEMFTest.java :
310 : setReferenceValue(eObject, ref, JavaClassImpl.createClassRef("java.util.Collection"));
Discouraged access: The method createClassRef(String) from the type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
EjbEMFTest.java :
310 : setReferenceValue(eObject, ref, JavaClassImpl.createClassRef("java.util.Collection"));
Discouraged access: The type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
GeneralEMFEditingTest.java :
35 : import org.eclipse.jem.java.internal.impl.JavaClassImpl;
Discouraged access: The type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
GeneralEMFEditingTest.java :
201 : return JavaClassImpl.createClassRef(name);
Discouraged access: The method createClassRef(String) from the type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
GeneralEMFEditingTest.java :
201 : return JavaClassImpl.createClassRef(name);
The local variable endCommentIndx is never read
GeneralEMFEditingTest.java :
247 : int endCommentIndx = 0;
The local variable pkg is never read
GeneralEMFPopulationTest.java :
136 : EPackage pkg = ref.getEType().getEPackage();
The local variable msg is never read
GeneralEMFPopulationTest.java :
282 : String msg = null;
The local variable exampleDeploymentDesURI is never read
RarEMFEditTest.java :
53 : String exampleDeploymentDesURI = curDir + "EMFTests/ra.xml";
The local variable curDeploymentDesURI is never read
RarEMFEditTest.java :
54 : String curDeploymentDesURI = curDir + out + "/fooRAR/META-INF/ra.xml";
The local variable DD is never read
ResolverTest.java :
84 : EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
The local variable DD is never read
ResolverTest.java :
107 : EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
The local variable exampleDeploymentDesURI is never read
WarEMFEditTest.java :
66 : String exampleDeploymentDesURI = curDir + "EMFTests/web.xml";
The local variable curDeploymentDesURI is never read
WarEMFEditTest.java :
67 : String curDeploymentDesURI = curDir + out + "/fooWAR/WEB-INF/web.xml";
The static field ArchiveOptions.SAX should be accessed in a static way
WarEMFTest.java :
148 : options.setRendererType(options.SAX);
The field AbstractArchiveTest.copyright is never read locally
AbstractArchiveTest.java :
27 : private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$
The field AllArchiveTestsJava.copyright is never read locally
AllArchiveTestsJava.java :
19 : private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$
The field ClientContainerResourceLoadTest.copyright is never read locally
ClientContainerResourceLoadTest.java :
24 : private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$
The local variable res is never read
ClientContainerResourceLoadTest.java :
68 : Resource res;
The field CopyTests.copyright is never read locally
CopyTests.java :
41 : private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$
The method readFile(File) from the type DefectVerificationTests is never used locally
DefectVerificationTests.java :
154 : private void readFile(File file) throws FileNotFoundException, IOException {
The local variable appl is never read
DefectVerificationTests.java :
211 : Application appl = earFile.getDeploymentDescriptor();
The local variable pInst1 is never read
DomComparitor.java :
131 : ProcessingInstruction pInst1 = (ProcessingInstruction)node1;
The local variable pInst2 is never read
DomComparitor.java :
132 : ProcessingInstruction pInst2 = (ProcessingInstruction)node2;
The local variable frag1 is never read
DomComparitor.java :
136 : DocumentFragment frag1 = (DocumentFragment)node1;
The local variable frag2 is never read
DomComparitor.java :
137 : DocumentFragment frag2 = (DocumentFragment)node2;
The field InitializationTests.copyright is never read locally
InitializationTests.java :
29 : private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$
The field JavaTests.copyright is never read locally
JavaTests.java :
22 : private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$
Dead code
LooseArchiveTests.java :
152 : for (int i = 0; i < files.size(); i++) {
The field RarFileTests.copyright is never read locally
RarFileTests.java :
35 : private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$
The local variable dd is never read
RarFileTests.java :
167 : Connector dd = rarFile.getDeploymentDescriptor();
The local variable myAuthList is never read
RarFileTests.java :
199 : EList myAuthList = rd.getAuthenticationMechanisms();
The local variable bean is never read
ResourceTests.java :
96 : EnterpriseBean bean = (EnterpriseBean)jar.getDeploymentDescriptor().getEnterpriseBeans().get(0);
The field SaveTests.copyright is never read locally
SaveTests.java :
31 : private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$
The field SecurityRoleTests.copyright is never read locally
SecurityRoleTests.java :
29 : private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$
The field SimpleTests.copyright is never read locally
SimpleTests.java :
54 : private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$
The local variable jar is never read
SimpleTests.java :
111 : EJBJar jar = jarFile.getDeploymentDescriptor();
Discouraged access: The type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
TestModuleClassLoading.java :
20 : import org.eclipse.jem.java.internal.impl.JavaClassImpl;
The local variable filename is never read
TestModuleClassLoading.java :
68 : String filename = files[i];
Discouraged access: The type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
TestModuleClassLoading.java :
97 : (JavaClass) JavaClassImpl.reflect(testClass, module.getResourceSet());
Discouraged access: The method reflect(String, ResourceSet) from the type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
TestModuleClassLoading.java :
97 : (JavaClass) JavaClassImpl.reflect(testClass, module.getResourceSet());
The field WARFileTests.copyright is never read locally
WARFileTests.java :
32 : private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$
The local variable libs is never read
WARFileTests.java :
98 : List libs = aWarFile.getLibs();
The local variable classes is never read
WARFileTests.java :
99 : List classes = aWarFile.getClasses();
The local variable resources is never read
WARFileTests.java :
100 : List resources = aWarFile.getResources();
Discouraged access: The type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
EMFAttributeFeatureGenerator.java :
27 : import org.eclipse.jem.java.internal.impl.JavaClassImpl;
Discouraged access: The type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
EMFAttributeFeatureGenerator.java :
201 : return JavaClassImpl.createClassRef(name);
Discouraged access: The method createClassRef(String) from the type JavaClassImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
EMFAttributeFeatureGenerator.java :
201 : return JavaClassImpl.createClassRef(name);
The method populate_1_2List(int) from the type J2EEVersionCheck is never used locally
J2EEVersionCheck.java :
86 : private static void populate_1_2List(int type) {
The method populate_1_2Connector() from the type J2EEVersionCheck is never used locally
J2EEVersionCheck.java :
140 : private static void populate_1_2Connector(){
The local variable tmpCommonFactory is never read
CommonFactoryTest.java :
39 : CommonFactory tmpCommonFactory =getInstance();
The method getInstance() from the type CompatibilityDescriptionGroupTest is never used locally
CompatibilityDescriptionGroupTest.java :
10 : private CompatibilityDescriptionGroup getInstance() {
The method getFixture() from the type CompatibilityDescriptionGroupTest is never used locally
CompatibilityDescriptionGroupTest.java :
46 : private CompatibilityDescriptionGroup getFixture() {
The method getFixture() from the type DescriptionGroupTest is never used locally
DescriptionGroupTest.java :
66 : private DescriptionGroup getFixture() {
The method getFixture() from the type DescriptionTest is never used locally
DescriptionTest.java :
66 : private Description getFixture() {
The method getFixture() from the type DisplayNameTest is never used locally
DisplayNameTest.java :
66 : private DisplayName getFixture() {
The method getFixture() from the type EJBLocalRefTest is never used locally
EJBLocalRefTest.java :
46 : private EJBLocalRef getFixture() {
The method getFixture() from the type EjbRefTest is never used locally
EjbRefTest.java :
66 : private EjbRef getFixture() {
The method getFixture() from the type EnvEntryTest is never used locally
EnvEntryTest.java :
66 : private EnvEntry getFixture() {
The method getFixture() from the type IconTypeTest is never used locally
IconTypeTest.java :
66 : private IconType getFixture() {
The method getFixture() from the type IdentityTest is never used locally
IdentityTest.java :
66 : private Identity getFixture() {
The method getFixture() from the type JNDIEnvRefsGroupTest is never used locally
JNDIEnvRefsGroupTest.java :
34 : private JNDIEnvRefsGroup getFixture() {
The method getFixture() from the type ListenerTest is never used locally
ListenerTest.java :
46 : private Listener getFixture() {
The method getFixture() from the type MessageDestinationRefTest is never used locally
MessageDestinationRefTest.java :
66 : private MessageDestinationRef getFixture() {
The method getFixture() from the type MessageDestinationTest is never used locally
MessageDestinationTest.java :
46 : private MessageDestination getFixture() {
The method getFixture() from the type ParamValueTest is never used locally
ParamValueTest.java :
66 : private ParamValue getFixture() {
The method getFixture() from the type QNameTest is never used locally
QNameTest.java :
66 : private QName getFixture() {
The method getFixture() from the type ResourceEnvRefTest is never used locally
ResourceEnvRefTest.java :
66 : private ResourceEnvRef getFixture() {
The method getFixture() from the type ResourceRefTest is never used locally
ResourceRefTest.java :
66 : private ResourceRef getFixture() {
The method getFixture() from the type RunAsSpecifiedIdentityTest is never used locally
RunAsSpecifiedIdentityTest.java :
46 : private RunAsSpecifiedIdentity getFixture() {
The method getFixture() from the type SecurityIdentityTest is never used locally
SecurityIdentityTest.java :
66 : private SecurityIdentity getFixture() {
The method getFixture() from the type SecurityRoleRefTest is never used locally
SecurityRoleRefTest.java :
66 : private SecurityRoleRef getFixture() {
The method getFixture() from the type SecurityRoleTest is never used locally
SecurityRoleTest.java :
66 : private SecurityRole getFixture() {
The method getFixture() from the type UseCallerIdentityTest is never used locally
UseCallerIdentityTest.java :
46 : private UseCallerIdentity getFixture() {
Discouraged access: The type JavaRefFactoryImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
ContainerManagedEntityTest.java :
20 : import org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl;
Discouraged access: The type JavaRefFactoryImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
ContainerManagedEntityTest.java :
54 : Field aField = JavaRefFactoryImpl.getActiveFactory().createField();
Discouraged access: The method getActiveFactory() from the type JavaRefFactoryImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
ContainerManagedEntityTest.java :
54 : Field aField = JavaRefFactoryImpl.getActiveFactory().createField();
Discouraged access: The type JavaRefFactoryImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
ContainerManagedEntityTest.java :
149 : Field aField = JavaRefFactoryImpl.getActiveFactory().createField();
Discouraged access: The method getActiveFactory() from the type JavaRefFactoryImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
ContainerManagedEntityTest.java :
149 : Field aField = JavaRefFactoryImpl.getActiveFactory().createField();
Discouraged access: The type JavaRefFactoryImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
EjbFactoryTest.java :
21 : import org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl;
The local variable tmpEjbFactory is never read
EjbFactoryTest.java :
60 : EjbFactory tmpEjbFactory = getInstance();
Discouraged access: The type JavaRefFactoryImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
EjbFactoryTest.java :
75 : Method aMethod = JavaRefFactoryImpl.getActiveFactory().createMethod();
Discouraged access: The method getActiveFactory() from the type JavaRefFactoryImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
EjbFactoryTest.java :
75 : Method aMethod = JavaRefFactoryImpl.getActiveFactory().createMethod();
The local variable assemblyDescriptor is never read
EntityTest.java :
43 : AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();
The local variable assemblyDescriptor is never read
EntityTest.java :
73 : AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();
The local variable name is never read
EntityTest.java :
85 : String name = entityBean.getPrimaryKeyName();
Discouraged access: The type JavaRefFactoryImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
MethodElementTest.java :
23 : import org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl;
The field MethodElementTest.SESSION is never read locally
MethodElementTest.java :
32 : private final int SESSION =0;
The field MethodElementTest.ENTITY is never read locally
MethodElementTest.java :
33 : private final int ENTITY = 1;
The field MethodElementTest.CONTAINER_MANAGED_ENTITY is never read locally
MethodElementTest.java :
34 : private final int CONTAINER_MANAGED_ENTITY =2;
The local variable retValue is never read
MethodElementTest.java :
71 : boolean retValue = false;
The local variable param4 is never read
MethodElementTest.java :
95 : String param4= "param4";
The local variable retValue is never read
MethodElementTest.java :
138 : boolean retValue = false;
The local variable name is never read
MethodElementTest.java :
241 : String name = "setTwoParamMethod";
The local variable retValue is never read
MethodElementTest.java :
347 : boolean retValue = false;
Discouraged access: The type JavaRefFactoryImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
MethodElementTest.java :
355 : Method aMethod = JavaRefFactoryImpl.getActiveFactory().createMethod();
Discouraged access: The method getActiveFactory() from the type JavaRefFactoryImpl is not accessible due to restriction on classpath entry /shared/webtools/projects/wtp-R3.1-S/workdir/plugins/org.eclipse.jem/@dot
MethodElementTest.java :
355 : Method aMethod = JavaRefFactoryImpl.getActiveFactory().createMethod();
The local variable assemblyDescriptor is never read
QueryMethodTest.java :
44 : AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();
The local variable retValue is never read
SessionTest.java :
99 : boolean retValue = false;
The local variable tmpJcaFactory is never read
JcaFactoryTest.java :
31 : JcaFactory tmpJcaFactory = getInstance();