ComplexityMetric

data class ComplexityMetric(val key: String, val label: String, val function: MetricThresholds, val sink: MetricThresholds, val component: MetricThresholds, val scopeNormalized: Boolean = false)

One complexity metric with all threshold profiles and display metadata.

For aggregate raw metrics, every component threshold must equal the corresponding sink threshold multiplied by COMPONENT_SCALE.

Constructors

Link copied to clipboard
constructor(key: String, label: String, function: MetricThresholds, sink: MetricThresholds, component: MetricThresholds, scopeNormalized: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val key: String

Stable identifier used in JSON reports and threshold maps.

Link copied to clipboard

Human-readable label used in tables and chart axes.

Link copied to clipboard
Link copied to clipboard
Generated with STIG