NDepend.API Documentation
Instability Property
NDepend.CodeModel Namespace > IAssembly Interface : Instability Property
Gets a float numeric nullable value in the range [0,1] assessing an value of the assembly's resilience to change..
Syntax
Nullable<float> Instability {get;}

Property Value

null if this assembly is a third-party assembly.
Otherwise returns this assembly Instability numeric value.
Remarks
The Instability value for an assembly is equal to the ratio of the incoming coupling (NbTypesUsingMe) to the total coupling (NbTypesUsingMe + NbTypesUsed).
This metric is an indicator of the assembly's resilience to change.
The range for this metric is 0 to 1, with Instability=0 indicating a completely stable package and Instability=1 indicating a completely instable package.
More information concerning the usefulness of this code metric is available in the descripion of the NormDistFromMainSeq code metric.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IAssembly Interface
IAssembly Members