ComplexityMetrics

The STIG code-complexity metrics with their function, sink, and component threshold profiles. Order is preserved (used for table rendering).

Properties

Link copied to clipboard
Link copied to clipboard

Lookup by stable metric key.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun calibratedNexy(value: Double, thresholds: MetricThresholds): Double
fun calibratedNexy(value: Double, lowToMediumThreshold: Double): Double
Link copied to clipboard
fun computeNexy(rawValues: Map<String, Double>, scope: ComplexityScope, weights: Map<String, Double> = nexyMetricWeights): Double
Link copied to clipboard
Link copied to clipboard
fun weightedAverage(values: Map<String, Double>, weights: Map<String, Double>): Double
Generated with STIG