Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for Java/Kotlin
codeql/java-all 7.2.1-dev (changelog, source)

Member predicate MetricPackage::getDistanceFromMain

Distance from Main Sequence.

This measure intends to capture the tradeoff between abstractness and instability: the ideal situation occurs when the sum of abstractness and instability is one. That is, a package is completely abstract and stable (abstractness=1 and instability=0) or it is concrete and unstable (abstractness=0 and instability=1). We thus measure the distance from that ideal situation.

float getDistanceFromMain()