Coverage Info

Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 3.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.
Documentation Index

Coverage Info

Option Description

Code coverage
Check this option, if you want code coverage to be analyzed. 
Note

The mechanism used in TeamCity is based on EMMA open-source toolkit (see http://emma.sourceforge.net/ for details).
'metadata is empty' problem

For some complex build scripts, coverage metadata cannot be collected. In this case, try adding debug=true parameter to javac tasks in your ant script.

If this option is not checked, the following two options are disabled.


Include Source Files in the Coverage Data
Check this option to include source files into the code coverage report (you'll be able to see sources on the Web).
Warning
Enabling this option can increase the report size and the slow down creation of your builds. To avoid this situation, you can specify some EMMA properties (see http://emma.sourceforge.net/reference_single/reference.html#prop-ref.tables for details).

Coverage Instrumentation Parameters
Use this field to specify the filters to be used for creating the code coverage report. These filters define classes to be exempted from instrumentation. For detailed description of filters refer to http://emma.sourceforge.net/reference_single/reference.html#prop-ref.tables.

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.