Tested Functional Requirements for Project
R2026bMetric ID
modeltesting.TestAnalysisOverview[project.TestedFunctionalRequirements]
Description
This metric returns the number of functional requirements in the project that have test results, the number that do not have test results, and the total number of functional requirements.
Use this metric to assess the percentage of functional requirements that have been tested.
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.TestedFunctionalRequirements]")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:
Total— Total number of functional requirements in the project.Linked— Number of functional requirements that have test results.Unlinked— Number of functional requirements that do not have test results.