db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "CodeCoverage" by MohamedNufail
Date Thu, 19 Jul 2012 05:54:13 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The "CodeCoverage" page has been changed by MohamedNufail:
http://wiki.apache.org/db-derby/CodeCoverage?action=diff&rev1=19&rev2=20

Comment:
Mention EMMA's limitation with thrown exceptions

  no additional classes, 26 additional methods and 637 additional blocks. This was for
  the run against SVN revision 373975.
  
+ {{{#!wiki note
+ '''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]]

Mime
View raw message