CoverageBrowser introduction

CoverageBrowser is a graphical user interface program which enables the user to analyze the test coverage.

CoverageBrowser is typically used in the following way:

  1. Load an instrumentation database (a .csmes file) that was generated by CoverageScanner.
  2. Load a corresponding execution report (a .csexe file). 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.
  3. Search for untested code segments.
  4. Mark dead code or code which cannot be tested as manually validated.
  5. Add comments to the instrumented code.

CoverageBrowser saves all of this data (execution reports, comments, etc.) to the instrumentation database.

CoverageBrowser command line arguments

Syntax

coveragebrowser

coveragebrowser -m <csmes_file> ...

coveragebrowser <csmes_file> ...

Options

  • <csmes_file> |-m <csmes_file> | --csmes=<csmes_file>: Load an instrumentation database from <csmes_file>.

    This option can be used at most once.

  • -e <csexe_file> | --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.

Coco v7.1.0 ©2024 The Qt Company Ltd.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.