Using Simulink    

The Coverage Report

The coverage report generated by the Model Coverage Tool contains the following sections.

Coverage Summary

The coverage summary sections has three subsections.

Details Section

The "Details" section reports the model coverage results in detail.

The "Details" section starts with a summary of results for the model as a whole followed by a list of subsystems and charts that the model contains. Subsections on each subsystem and chart follow. Clicking on the name of a subsystem or chart in the model summary takes you to a detailed report on that subsystem or chart.

Subsystem Report

The section for each subsystem starts with a summary of the test coverage results for the subsystem and a list of the subsystems that it contains. The overview is followed by block reports, one for each block that represents a decision point in the subsystem.

Block Report

The section for each block has a table that lists possible decision outcomes and the number of times that an outcome occurred in each test simulation. The report highlights outcomes that did not occur in red. Clicking on the block name causes Simulink to display the block diagram containing the block. Simulink also highlights the block to help you find it in the diagram.

The section for each block contains a backward and a forward arrow. Clicking the forward arrow takes you to the next section in the report that lists an uncovered outcome. Clicking the back arrow takes you back to the previous uncovered outcome in the report.

Chart Report

The detailed report for each Stateflow chart has a similar format, with decision tables for each state and transition in the chart.


 Creating and Running Test Cases Coverage Settings Dialog Box