addClassification
(To be removed) Add metric data classification to
slmetric.config.Threshold
object
The Metrics Dashboard user interface, metricdashboard
function, slmetric
package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.
Description
adds a classification category to an TC
= addClassification(threshold
,category
)slmetric.config.Threshold
object.
After creating the object, use the slmetric.config.MetricRange
object
functions to specify ranges for Compliant
,
NonCompliant
, and Warning
. By default, a
classification object has a Compliant
range of -inf
to
inf
. The Metrics Dashboard indicates the range that your metric data
falls under.