|
Clover 2.1 Documentation
|
Produces an XML report of Code Coverage for the given coverage database. Usagejava com.cenqua.clover.reporters.xml.XMLReporter [OPTIONS] PARAMS Params
Options
API UsageXMLReporter 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.xml.XMLReporter; ... String [] cliArgs = { "-i", "clover.db", "-o", "coverage.xml" }; int result = XMLReporter.mainImpl(cliArgs); if (result != 0) { // problem during report generation } Examplesjava com.cenqua.clover.reporters.xml.XMLReporter -i clover.db -o coverage.xml java com.cenqua.clover.reporters.xml.XMLReporter -l -t "My Coverage" -i clover.db -o coverage.xml
|
