Collect code coverage metrics during software-in-the-loop (SIL) and processor-in-the-loop (PIL) simulations. You can use these metrics to show that the generated code does not contain unintended functionality.
Code Coverage with Simulink
Metrics produced by code coverage analysis.
Configure code coverage for SIL and PIL simulations and review results.
Code Coverage with Third-Party Tools
Use LDRA tool suite or BullseyeCoverage to collect code coverage metrics during a SIL or PIL simulation.
Use line commands to set up third-party code coverage analysis for a SIL or PIL simulation.
Access results from third-party code coverage tools.
The use of a third-party code coverage tool produces a code generation report with summary data and annotated coverage information.
Measure code coverage with third-party tools.
Third party code coverage tool and compiler support.
Miscellaneous information about code coverage with third-party tools.