Simulink Coverage
Simulink Coverage analyzes model and code coverage to measure testing completeness in simulations, SIL, and PIL workflows. It uses industry-standard metrics like decision, condition, MCDC, and relational boundary coverage to evaluate test effectiveness and identify gaps, missing requirements, or unintended functionality.
Interactive reports show coverage for models, C/C++ S-functions, MATLAB functions, and Embedded Coder-generated code. You can highlight coverage directly in blocks and subsystems, trace results to requirements and tests, and accumulate data across multiple runs. Filtering and justification options help manage exclusions and explain missing coverage.
Support for standards is available via the DO Qualification Kit and IEC Certification Kit.
Model Coverage
Evaluate simulation test coverage to assess the effectiveness and completeness of your design testing. Use coverage data from requirements-based tests to identify gaps, missing requirements, or unintended behavior.
Code Coverage
Measure coverage for SIL and PIL tests of code generated with Embedded Coder or for external code integrated into Simulink models.
Manage Aggregated Coverage Results
Aggregate coverage results from multiple simulations and assess system-level test coverage achieved through unit tests.
Coverage Metrics
Measure model and code coverage across multiple metrics, including decision, condition, MCDC, relational boundaries, and signal ranges.
Reconcile Missing Coverage
Filter out model constructs like defensive modeling patterns that hinder full test coverage, allowing you to focus testing on the rest of your design.
Generate Coverage Reports
Generate detailed reports with cumulative coverage results for selected metrics and view requirements traceability for model elements and test cases.