Main Content

Average Model Coverage for Project

Since R2025a

Note

Starting in R2026a, the Project Model Testing dashboard no longer uses or displays this metric. This metric ID will be removed in a future release. To view project metric results, use the widgets in the Project Model Testing dashboard as shown in Summarize Status of Testing for Project. You can continue to access model testing metrics using the metric.Engine APIs.

Metric ID

project.mt.ComponentCoverageBreakdownAverage

Description

This metric returns the average execution, decision, condition, MC/DC, and integer overflow coverage across the components in the project.

Supported Artifacts

This metric collects metric results for Units in the project. To control what the dashboard classifies as a unit, see Categorize Models in Hierarchy as Components or Units.

Computation Details

The metric:

  • Calculates the average by using the Model Coverage Breakdown metric results from the components in the project.

  • Does not include coverage from tests that run in software-in-the-loop (SIL) or processor-in-the-loop (PIL) mode.

  • Returns 100% coverage for models that do not have coverage points.

Collection

Collecting data for this metric loads the model file and test result files and requires licenses for Simulink® Coverage™ and Simulink Test™.

Compliance Thresholds

This metric does not have predefined thresholds.

See Also

Topics