Main Content

View Code Coverage Information at the End of SIL or PIL Simulations

If you configure third-party code coverage for a SIL or PIL simulation, when the simulation is complete, the code generation report opens automatically and you see hyperlinks in the Command Window.

View LDRA Testbed Results

If you specified the LDRA Testbed®, you see three links in the Command Window:

### Starting SIL simulation for component: rtwdemo_sil_topmodel
### Stopping SIL simulation for component: rtwdemo_sil_topmodel
### Starting analysis of coverage data
### Use the following links to view code coverage results:
    LDRA Testbed GUI
    LDRA Testbed Code Coverage Overview Report
    HTML code generation report with code coverage annotations
### Completed code coverage analysis
>> 

To go to the LDRA Testbed GUI, click the LDRA Testbed GUI link.

To open the LDRA Testbed Report with your Web browser, click the LDRA Testbed Code Coverage Overview Report link.

For information about using this report, refer to the LDRA Testbed documentation.

LDRA Testbed analysis results for all code in the current code generation folder belong to a set. In this set, you can find analysis results for models that share the same code generation folder. The LDRA Testbed Code Coverage Overview Report link identifies the location of the LDRA Testbed® analysis results, which is determined by:

  • The LDRA Testbed configuration.

  • The name of the LDRA Testbed set associated with the current code generation folder.

To view summary data and code annotations with coverage information in the code generation report, click the HTML code generation report with code coverage annotations link. To view the code coverage information in the Code view, from the drop-down list to the right of the search box, select Show code coverage.

View BullseyeCoverage Results

If you specified the BullseyeCoverage tool, you see two links in the Command Window:

### Starting SIL simulation for component: rtwdemo_sil_topmodel
### Stopping SIL simulation for component: rtwdemo_sil_topmodel
### Processing code coverage data
### Use the following links to view code coverage results:
    BullseyeCoverage browser (coverage for last run)
    HTML code generation report (cumulative coverage)
### Completed code coverage analysis
>> 

To view the coverage report using the BullseyeCoverage Browser, click the BullseyeCoverage browser (coverage for last run) link.

The BullseyeCoverage Browser shows coverage data for instrumented files associated with your latest top-model simulation. The coverage data shown in the browser is not cumulative and pertains only to the most recent simulation. For information about the BullseyeCoverage Browser, go to www.bullseye.com.

To view summary data and code annotations with coverage information in the code generation report, click the HTML code generation report (cumulative coverage) link. To view the code coverage information in the Code view, from the drop-down list to the right of the search box, select Show code coverage.

Related Topics