Test Case Tag Distribution
This metric returns a distribution of the tags on the test cases that run on the unit. For a test case, you can specify custom tags in a comma-separated list in the Test Manager. Use this metric to determine if there is a disproportionate number of test cases that have a particular tag.
This metric returns the result as a distribution of the results of the
case tag metric.
The metric includes only test cases in the project that test the model or subsystems in the unit for which you collect metric data.
To collect data for this metric:
In the Model Testing Dashboard, view the Tests with Tag widget.
getMetricswith the metric ID
Collecting data for this metric loads the model file and requires a Simulink® Test™ license.
For this metric, instances of
Value as a distribution structure that contains these fields:
BinCounts— The number of test cases in each bin, returned as an integer vector.
BinEdges— The bin edges for the tags that are specified for the test cases, returned as a string array.
This metric does not have predefined thresholds. Consequently, the compliance threshold overlay icon appears when you click Uncategorized in the Overlays section of the toolstrip.