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 Tool Suite Results

If you specified the LDRA tool suite, you see three links in the Command Window:

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

To open the LDRA GUI, click the LDRAcover or LDRA tool suite GUI link.

To open the LDRA report with your Web browser, click the LDRAcover or LDRA tool suite Code Coverage Overview Report link. For information about using the report, refer to the LDRA documentation.

LDRA 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 LDRAcover or LDRA tool suite Code Coverage Overview Report link identifies the location of the LDRA analysis results, which is determined by:

  • The LDRA tool suite configuration.

  • The name of the LDRA tool suite 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

Note

SIL and PIL simulation support for BullseyeCoverage will be removed in a future release.

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

### Starting SIL simulation for component: SILTopModel
### Stopping SIL simulation for component: SILTopModel
### 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