주요 콘텐츠

Summary of Model Testing Statuses 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.ComponentTestStatusDistribution

Description

This metric returns the distribution of failed, passed, disabled, and untested component tests for 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:

  • Aggregates the Model Test Status metric results from the components in the project.

  • Includes only tests in the project that test the model or subsystems in the components in the project for which you collect metric data.

  • Does not count the status of tests that run in software-in-the-loop (SIL) or processor-in-the-loop (PIL) mode. The metric shows these tests as untested.

Collection

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

Compliance Thresholds

This metric does not have predefined thresholds.

See Also

Topics