Test Status Distribution for Project
R2026bMetric ID
modeltesting.TestResultAnalysisOverview[project.TestStatusDistribution]
Description
This metric returns the distribution of test result statuses across the project. Each status category reports the number of tests with that status.
Use this metric to assess the overall status of tests 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.TestResultAnalysisOverview[project.TestStatusDistribution]")View the metric result values.
results.Value
Results
The metric returns a single object for the project.metric.Result
The Value property returns a structure with these fields:
Passed— Number of tests that passed.Failed— Number of tests that failed.Disabled— Number of tests that are disabled.NotRun— Number of tests that have not been run. A test has a status of not run when there is no test result available for the test.Untested— Number of tests that ran, but no verification was performed. This occurs if noverifystatements or other criteria were specified, or if the criteria were specified but not executed.