Code Coverage

Code coverage reports using EMMA coverage tool.

These reports are a combination of multiple derbyall runs, jdk14 and jdk15 and Java SE 6. Numbers have most likely dropped compared to 2006/08/07 due to conversion of tests to run under JUnit and no longer running under jdk13.

When

Class

Method

Block

Full Report

2008/05/02

87% ((1226/1404)

74% (16629/22556)

69% (486715/704201)

SVN 648739

2007/02/12

93.6% (1182/1262)

73.6% (15530/21092)

71.9% (479876/667139)

SVN 504766

These reports are a combination of multiple derbyall runs, jdk13, jdk14 and jdk15 and Java SE 6.

When

Class

Method

Block

Full Report

2006/08/07

93.4% (1177/1260)

78.0% (15499/20684)

74.5% (479138/652357)

SVN 428586

These reports are a combination of multiple derbyall runs, jdk13, jdk14 and jdk15.

When

Class

Method

Block

Full Report

2006/05/15

90.2% (1129/1251)

74.9% (15499/20684)

73.4% (479138/652357)

SVN 405263

2006/03/31

91.0% (1122/1232) (92.5% excluding JDBC 4.0 code)

74.8% (15585/20815)

72.9% (484308/663784)

SVN 390306

2006/03/08

91.1% (1115/1223)

74.8% (15509/20733)

72.7% (481124/661790)

SVN 383002

2006/02/01

92.4% (1106/1196)

75.3% (15338/20367)

72.2% (474503/656406)

SVN 373975 (not posted)

These reports are against a single jdk14 derbyall run.

When

Class

Method

Block

Full Report

2006/02/01

92% (1106/1196)

75% (15364/20367)

72% (475140/656406)

SVN 373975 (not posted)

2006/01/13

92% (1084/1184)

74% (15114/20298)

72% (467775/651316)

SVN 366406

10.1.1.0 candidate (2005/06/24)

89% (1062/1188)

73% (14688/20201)

69% (440815/640728)

SVN 208786

2005/4/27

90% (1057/1172)

73% (14464/19856)

69% (431895/629256)

SVN 164704

Raman pointed out that the combination of multiple jdk runs made very little change, no additional classes, 26 additional methods and 637 additional blocks. This was for the run against SVN revision 373975.

Note

EMMA marks a block as covered, only if that block exits normally. Thus if a block terminates due to a thrown exception, it is not marked as covered. http://emma.sourceforge.net/faq.html#q.blockcoverage. So, although coverage report indicates a block of code as uncovered, it might have been invoked.

How to measure code coverage with EMMA

An explanation for how to measure code coverage with EMMA for the Derby junit tests can be found here: CodeCoverageWithEMMA

CodeCoverage (last edited 2012-07-19 05:54:13 by MohamedNufail)