CodeQL library for C/C++
codeql/cpp-all 0.13.1 (changelog, source)

Member predicate MetricNamespace::getAbstractness

Gets the abstractness of this namespace. Abstractness measures the proportion of abstract classes in a namespace relative to the total number of classes in that namespace. A highly abstract namespace (where the metric value is close 1) that is furthermore instable is likely to be useless: the class hierarchy has been over-engineered, and all those abstract classes are not heavily used.

float getAbstractness()