Table of Contents

Class DependencyDepthStats

Namespace
ProjGraph.Core.Models
Assembly
ProjGraph.Core.dll

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

Average double?

Mean longest-path depth across all projects; null if cycles are detected.

Min int?

Minimum depth (0 for leaf projects with no dependencies); null if cycles are detected.

Max int?

Maximum depth (the longest dependency chain in the graph); null if 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

double?

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?