addCodeMetrics

fun addCodeMetrics(graph: Vista, metricsJsonText: String?): Vista

Parses the metrics JSON produced by analyzeFunctionMetrics and folds each function's metrics into the matching CodeConstructViews.

Join key is the simple-name token extracted from view.name (the demangled name, if applyDemangling ran) or view.construct.demangledName / view.construct.name as fallback.

Generated with STIG