NDepend.API Documentation
Rank Property (IType)
NDepend.CodeModel Namespace > IType Interface : Rank Property
Gets a numeric nullable value assessing this type rank, computed by the original Google Parge Rank algorithm.
Syntax
Nullable<float> Rank {get;}

Property Value

null if this type is declared in a third-party assembly.
Otherwise returns this type Rank numeric value.
Remarks
When discovering a legacy application, type ranking naturally sorts application types by an order of importance. Hence this code metric can help focusing on most relevant types first.
A homothety of center 0.15 is applied to make it so that the average of all application types.Rank is 1.

Recommendations:
Types with high rank should be more carefully tested because bugs in such types will likely be more catastrophic.
Requirements

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

See Also

Reference

IType Interface
IType Members