Class DependencyDepthStats
Aggregate dependency depth statistics across all projects in the graph.
When cycles are detected, all values are null.
public record DependencyDepthStats : IEquatable<DependencyDepthStats>
- Inheritance
-
DependencyDepthStats
- Implements
- Inherited Members
Constructors
DependencyDepthStats(double?, int?, int?)
Aggregate dependency depth statistics across all projects in the graph.
When cycles are detected, all values are null.
public DependencyDepthStats(double? Average, int? Min, int? Max)
Parameters
Averagedouble?Mean longest-path depth across all projects;
nullif cycles are detected.Minint?Minimum depth (0 for leaf projects with no dependencies);
nullif cycles are detected.Maxint?Maximum depth (the longest dependency chain in the graph);
nullif cycles are detected.
Properties
Average
Mean longest-path depth across all projects; null if cycles are detected.
[JsonPropertyName("average")]
public double? Average { get; init; }
Property Value
Max
Maximum depth (the longest dependency chain in the graph); null if cycles are detected.
[JsonPropertyName("max")]
public int? Max { get; init; }
Property Value
- int?
Min
Minimum depth (0 for leaf projects with no dependencies); null if cycles are detected.
[JsonPropertyName("min")]
public int? Min { get; init; }
Property Value
- int?