|
Reports Code Coverage for the given coverage database to the console. Usagejava com.cenqua.clover.reporters.console.ConsoleReporter [OPTIONS] PARAMS Params
Options
API UsageConsoleReporter provides a simple API that accepts an array of strings representing the command line arguments and returns an integer result code. The following fragment illustrates use of the API: import com.cenqua.clover.reporters.console.ConsoleReporter; ... String [] cliArgs = { "-l", "method", "-t", "Method Coverage", "-i", "clover.db" }; int result = ConsoleReporter.mainImpl(cliArgs); if (result != 0) { // problem during report generation } Examplesjava com.cenqua.clover.reporters.console.ConsoleReporter -i clover.db Reads coverage for the Clover database "clover.db", and produces a summary report to the console. java com.cenqua.clover.reporters.console.ConsoleReporter -l "method" -t "Method Coverage" -i clover.db Produces the same report as above, but includes method-level coverage information, and a report title. |
