CodeQL library for C/C++

Member predicate MetricNamespace::getInstability

Gets the instability of this namespace. Instability is a measure of how likely a namespace is to be influenced by changes to other namespace. If this metric value is high, it is easily influenced, if it is low, the impact is likely to be minimal. Instability is estimated as the number of outgoing dependencies relative to the total number of dependencies.

float getInstability()