db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramandeep Kaur" <ramandhin...@gmail.com>
Subject code coverage for junit tests for svn trunk revision 525347
Date Wed, 04 Apr 2007 21:55:57 GMT
Hi,

I ran code coverage for junit suites in the following environment:

OS: Windows 2000
JVM: sun jdk142, sun jdk15, sun jdk16

Summary
--------------
I got some errors for suites - lang (java.lang.OutOfMemoryError for all jvms
) and jdbcapi (only on jdk16). Results and errors are given below.
I am planning to rerun code coverage with increased heap size for lang and
for jdbcapi errors, I am planning to get latest version of jdk16 and rerun
again.

Results
------------
OVERALL COVERAGE SUMMARY
Classes: 80%  (1019/1276)
Methods: 62%  (13166/21270)
Blocks:  54%  (365347/672746)
Lines:   54%  (74650.3/138963)

OVERALL STATS SUMMARY
total packages: 79
total executable files: 1194
total classes: 1276
total methods: 21270
total executable lines: 138963

Errors for jdbcapi suite with sun jdk16
------------------------------------------------------
There were 12 errors:
1) class org.apache.derby.impl.jdbc.EmbedConnection40.createQueryObject(
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest)java.lang.AbstractMethodError:
org.apache.derby.impl.jdbc.EmbedConnection40.createQueryObject
(Ljava/lang/Class;Ljava/sql/Connection;)Ljava/sql/BaseQuery;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest.testClosedObjects
(ClosedObjectTest.java:97)
 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
2) class org.apache.derby.impl.jdbc.EmbedConnection40.createQueryObject(
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest)java.lang.AbstractMethodError:
org.apache.derby.impl.jdbc.EmbedConnection40.createQueryObject
(Ljava/lang/Class;)Ljava/sql/BaseQuery;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest.testClosedObjects
(ClosedObjectTest.java:97)
 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
3) class org.apache.derby.iapi.jdbc.BrokeredConnection40.createQueryObject(
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest)java.lang.AbstractMethodError:
org.apache.derby.iapi.jdbc.BrokeredConnection40.createQueryObject
(Ljava/lang/Class;Ljava/sql/Connection;)Ljava/sql/BaseQuery;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest.testClosedObjects
(ClosedObjectTest.java:97)
 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
4) class org.apache.derby.iapi.jdbc.BrokeredConnection40.createQueryObject(
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest)java.lang.AbstractMethodError:
org.apache.derby.iapi.jdbc.BrokeredConnection40.createQueryObject
(Ljava/lang/Class;)Ljava/sql/BaseQuery;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest.testClosedObjects
(ClosedObjectTest.java:97)
 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
5) class org.apache.derby.iapi.jdbc.BrokeredConnection40.createQueryObject(
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest)java.lang.AbstractMethodError:
org.apache.derby.iapi.jdbc.BrokeredConnection40.createQueryObject
(Ljava/lang/Class;Ljava/sql/Connection;)Ljava/sql/BaseQuery;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest.testClosedObjects
(ClosedObjectTest.java:97)
 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
6) class org.apache.derby.iapi.jdbc.BrokeredConnection40.createQueryObject(
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest)java.lang.AbstractMethodError:
org.apache.derby.iapi.jdbc.BrokeredConnection40.createQueryObject
(Ljava/lang/Class;)Ljava/sql/BaseQuery;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest.testClosedObjects
(ClosedObjectTest.java:97)
 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
7) class org.apache.derby.client.net.NetConnection40.createQueryObject(
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest)java.lang.AbstractMethodError:
org.apache.derby.client.net.NetConnection40.createQueryObject
(Ljava/lang/Class;Ljava/sql/Connection;)Ljava/sql/BaseQuery;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest.testClosedObjects
(ClosedObjectTest.java:97)
 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
8) class org.apache.derby.client.net.NetConnection40.createQueryObject(
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest)java.lang.AbstractMethodError:
org.apache.derby.client.net.NetConnection40.createQueryObject
(Ljava/lang/Class;)Ljava/sql/BaseQuery;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest.testClosedObjects
(ClosedObjectTest.java:97)
 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
9) class org.apache.derby.client.am.LogicalConnection40.createQueryObject(
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest)java.lang.AbstractMethodError:
org.apache.derby.client.am.LogicalConnection40.createQueryObject
(Ljava/lang/Class;Ljava/sql/Connection;)Ljava/sql/BaseQuery;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest.testClosedObjects
(ClosedObjectTest.java:97)
 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
10) class org.apache.derby.client.am.LogicalConnection40.createQueryObject(
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest)java.lang.AbstractMethodError:
org.apache.derby.client.am.LogicalConnection40.createQueryObject
(Ljava/lang/Class;)Ljava/sql/BaseQuery;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest.testClosedObjects
(ClosedObjectTest.java:97)
 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
11) class org.apache.derby.client.am.LogicalConnection40.createQueryObject(
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest)java.lang.AbstractMethodError:
org.apache.derby.client.am.LogicalConnection40.createQueryObject
(Ljava/lang/Class;Ljava/sql/Connection;)Ljava/sql/BaseQuery;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest.testClosedObjects
(ClosedObjectTest.java:97)
 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
12) class org.apache.derby.client.am.LogicalConnection40.createQueryObject(
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest)java.lang.AbstractMethodError:
org.apache.derby.client.am.LogicalConnection40.createQueryObject
(Ljava/lang/Class;)Ljava/sql/BaseQuery;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at
org.apache.derbyTesting.functionTests.tests.jdbcapi.ClosedObjectTest.testClosedObjects
(ClosedObjectTest.java:97)
 at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
 at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)
 at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
 at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
 at junit.extensions.TestSetup.run(TestSetup.java:23)

-- 
Ramandeep Kaur

Mime
View raw message