NDepend.API Documentation
ILCyclomaticComplexity Property (IType)
NDepend.CodeModel Namespace > IType Interface : ILCyclomaticComplexity Property
Gets a numeric nullable value measuring this type child methods additive IL code complexity.
Syntax
Nullable<uint> ILCyclomaticComplexity {get;}

Property Value

null if this type is declared in a third-party assembly.
null if this type has no method with IMethod.ILCyclomaticComplexity available.
Otherwise returns this type child methods additive IL code complexity.
Remarks
Types IL Cyclomatic Complexity code metric description:
Adapted to the Object-Oriented world, the IMethod.ILCyclomaticComplexity (ILCC) metric is also defined for classes and structures as the sum of its methods ILCC.

Availability:
A non-null numeric value is returned for types with methods where IMethod.ILCyclomaticComplexity is available.
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