CoverageBrowser is a graphical user interface program which enables the user to analyze the test coverage.
CoverageBrowser is typically used in the following way:
- Load an instrumentation database (a
.csmesfile) that was generated by CoverageScanner.
- Load a corresponding execution report (a
.csexefile). There may be several reports to choose from: CoverageBrowser displays them in a tree view where they can be selected or deselected individually for coverage analysis.
- Search for untested code segments.
- Mark dead code or code which cannot be tested as manually validated.
- Add comments to the instrumented code.
CoverageBrowser saves all of this data (execution reports, comments, etc.) to the instrumentation database.
CoverageBrowser command line arguments
coveragebrowser -m <csmes_file> ...
coveragebrowser <csmes_file> ...
- <csmes_file> |
--csmes=<csmes_file>: Load an instrumentation database from <csmes_file>.
This option can be used at most once.
--csexe=<csexe_file>: After the CoverageBrowser has started, an import dialog is opened to import the <csexe_file>.
This option can be used only once, and only if a <csmes_file> is given.
- @<path>: Read command line options from the file at <path> and insert them at the position of this option. The option file is a text file with one option per line. Leading and trailing blanks and empty lines are ignored.
If no option is given, the CoverageBrowser tries to reopen the <csmes_file> that it had shown in its previous run.