Class SolutionStats
Aggregated metrics snapshot for one solution or project analysis run.
public record SolutionStats : IEquatable<SolutionStats>
- Inheritance
-
SolutionStats
- Implements
- Inherited Members
Constructors
SolutionStats(string, string, int, IReadOnlyDictionary<string, int>, DependencyDepthStats, IReadOnlyList<HotspotProject>, bool)
Aggregated metrics snapshot for one solution or project analysis run.
public SolutionStats(string SolutionName, string SolutionPath, int TotalProjectCount, IReadOnlyDictionary<string, int> TypeBreakdown, DependencyDepthStats DepthStats, IReadOnlyList<HotspotProject> HotspotProjects, bool HasCycles)
Parameters
SolutionNamestringThe name of the analysed solution or project.
SolutionPathstringThe absolute path to the analysed file.
TotalProjectCountintNumber of non-Package projects in the graph.
TypeBreakdownIReadOnlyDictionary<string, int>Count per project type. Keys are ProjectType names (Library, Executable, Test, Other).
DepthStatsDependencyDepthStatsAggregate dependency depth statistics. All values are null when
HasCyclesis true.HotspotProjectsIReadOnlyList<HotspotProject>Top-N most directly-referenced projects, ranked descending by direct in-degree.
HasCyclesbooltrue if a dependency cycle was detected in the graph. When true, DepthStats values are all null.
Properties
DepthStats
[JsonPropertyName("depthStats")]
public DependencyDepthStats DepthStats { get; init; }
Property Value
HasCycles
true if a dependency cycle was detected in the graph. When true, DepthStats values are all null.
[JsonPropertyName("hasCycles")]
public bool HasCycles { get; init; }
Property Value
HotspotProjects
Top-N most directly-referenced projects, ranked descending by direct in-degree.
[JsonPropertyName("hotspotProjects")]
public IReadOnlyList<HotspotProject> HotspotProjects { get; init; }
Property Value
SolutionName
The name of the analysed solution or project.
[JsonPropertyName("solutionName")]
public string SolutionName { get; init; }
Property Value
SolutionPath
The absolute path to the analysed file.
[JsonPropertyName("solutionPath")]
public string SolutionPath { get; init; }
Property Value
TotalProjectCount
Number of non-Package projects in the graph.
[JsonPropertyName("totalProjectCount")]
public int TotalProjectCount { get; init; }
Property Value
TypeBreakdown
Count per project type. Keys are ProjectType names (Library, Executable, Test, Other).
[JsonPropertyName("typeBreakdown")]
public IReadOnlyDictionary<string, int> TypeBreakdown { get; init; }