Main Content

Explore Metric Results, Monitor Progress, and Identify Issues

R2026b

You can view metrics for your Model-Based Design artifacts, assess the current status of a project, and identify and fix noncompliant metric results by using the Simulink® Check™ dashboards. You can use the dashboards to visualize the metric results or collect the metric results programmatically. You can also save reports for offline review of metric results.

The dashboards and metric results provide an overview of model quality and the project verification status. Use the detailed metric results to identify specific artifacts that are not in compliance with industry standards and guidelines. The dashboard summarizes metric results so you can track progress and identify gaps. As you update, refactor, and fix artifacts, return to the dashboard to monitor your progress towards fixing noncompliant artifacts or gaps in requirements-based testing.

Metric Results in the Dashboards

There are different types of dashboards:

  • Model Design Dashboard — Review design structure, diagnostics, and reuse.

  • Model Maintainability Dashboard — Assess the size, architecture, and complexity of the models in your project.

  • Project Model Testing Dashboard — Summarize the model testing, coverage, and requirements traceability across models in your project.

  • Model Testing Dashboard — Assess the model testing artifacts in your project.

  • SIL Code Testing and PIL Code Testing Dashboards — Assess the code testing artifacts in your project.

The following table shows examples of common dashboard results, the associated dashboard and metrics, and links to related examples.

Note

If you currently use the Metrics Dashboard to review MATLAB® Code Analyzer warnings, Simulink diagnostics, and reuse metrics, consider using the new Model Design Dashboard instead. The Metrics Dashboard will be removed in a future release.

DashboardDashboard ResultsDashboard and Metric ExamplesGuidelines and Standards
Model Design Dashboard

View an overview of the composition, complexity, and dimensions of a unit.

Complexity section showing Halstead difficulty and cyclomatic complexity for the design

Assess the total number of links and the distribution of link types for a unit.

Requirements section showing implemented requirements, links, and link types such as "Implements" and "Relates to"

Use the Model Design Dashboard to visualize the metric results or collect results programmatically with the model design metrics. For more information, see:

The Model Design Dashboard summarizes model maintainability metric results from the Model Maintainability Dashboard. For information on the model testing metrics and ISO 26262, see Assess Model Size and Complexity for ISO 26262.

Identify parts of your model that use library content to reuse existing modeling components or parts of your model that you can potentially refactor to reuse modeling components.

Reuse section showing number of Referenced Models, Linked Libraries, and Subsystem References

Model Maintainability Dashboard

View the overall architecture of the Simulink, Stateflow®, and MATLAB artifacts in your project.

Simulink Architecture section with metric results for the number of blocks, signal lines, and Goto blocks

Use the Model Maintainability Dashboard to visualize the metric results or collect results programmatically with the model maintainability metrics. For more information, see:

Assess Model Size and Complexity for ISO 26262

Pinpoint areas in the design that have high complexity.

Component Structure and Design Cyclomatic Complexity Breakdown sections pointing to metric results for Simulink design complexity

Project Model Testing Dashboard

Assess the status and quality of models in your project.

Project Model Testing dashboard with metric results in sections for Test Status, Coveage, Requirements Traceability, and Component Breakdown

Use the Project Model Testing dashboard to view a summary of the test statuses, model coverage, and requirements traceability for the individual components in your design.

For more information, see Summarize Status of Testing for Project.

The Project Model Testing dashboard summarizes model testing metric results from the Model Testing Dashboard. For information on the model testing metrics and ISO 26262, see Assess Requirements-Based Testing for ISO 26262.

Model Testing Dashboard

Trace the relationships between models, requirements, and tests.

Tests Linked to Requirements section with metric results for the number of tests with requirements, tests that are unlinked, and the distribution of requirements per test

Use the Model Testing Dashboard to visualize the metric results or collect results programmatically with the model testing metrics. For more information, see:

Assess Requirements-Based Testing for ISO 26262

View the current status of model testing and identify gaps in test results.

Model Test Status with the percentage of tests that passed, the number of inconclusive test results, and the number of disabled tests

View the overall achieved model coverage and monitor the sources of coverage.

Model Coverage and Achieved Coverage Ratio sections with metric results for overall achieved coverage and whether the overall achieved coverage came from requirements-based, unit-boundary tests

SIL Code Testing and PIL Code Testing Dashboards

View the current status of code testing and identify gaps in test results.

Test Summary with the percentage of tests that passed and a Test Status with the number of passed, failed, untested, not run, and disabled tests

Use the SIL Code Testing and PIL Code Testing dashboards to visualize the metric results or collect results programmatically with the code testing metrics. For more information, see:

Identify and Troubleshoot Gaps in Code Testing Results and Coverage

View the overall achieved code coverage and monitor the sources of coverage.

Overall SIL code coverage achieved, justified, and missed

Identify issues across model and code testing results.

Coverage Recap table showing justified and completed, model and SIL coverage

See Also

Topics