Home | Forums

Clover.NET Coverage Checker

CloverCheck

CloverCheck allows you to quickly access coverage values from your coverage recording.

Usage

CloverCheck [options] [response_files]

Options

Long Name Short Name Required Description
--initstring -i Yes This option specifies the location of the coverage database generated during instrumentation. This is used to load the coverage database and any associated coverage recordings.
--overall -o No Displays the overall coverage of the coverage recordings.
--namespace -n No Allows you to specify the names of particular namespaces whose coverage is to be displayed.
--class -c No Allows you to specify the names of particular class whose coverage is to be displayed.
--all -a No Display all coverage values including overall, all namespaces and all classes.

Examples

CloverCheck -i CloverBuild\clover.cdb -o

This example prints the overall coverage values. The output would be like this:

        Loaded database at 'CloverBuild\clover.cdb'
        Processing 70 coverage recordings
        Coverage Results
        ----------------
        Overall: Total:19.7% Method:21.7% Statement:18% Conditional:25%