Test Type Distribution for Project
R2026bMetric ID
modeltesting.TestAnalysisOverview[project.TestTypeDistribution]
Description
This metric returns the distribution of tests in the project grouped by test type. Each test type category reports the number of tests of that type.
Use this metric to understand how tests are distributed across test types (simulation, equivalence, and baseline) in the project.
Supported Artifacts
This metric collects results at the project level.
Collection
To collect data for this metric, execute the metric engine with the metric ID.
metric_engine = metric.Engine;
results = execute(metric_engine,"modeltesting.TestAnalysisOverview[project.TestTypeDistribution]")View the metric result values.
results.Value
To collect all metrics in the modeltesting.TestAnalysisOverview group
at once, use the group name with empty brackets. Use the MetricID property
to distinguish results from different metrics in the
group.
results = execute(metric_engine,"modeltesting.TestAnalysisOverview[]")Results
The metric returns a single object for the project.metric.Result
The Value property returns a structure with these fields:
Simulation— Number of simulation tests in the project.Equivalence— Number of equivalence tests in the project.Baseline— Number of baseline tests in the project.