AalekhJsonReport
data class AalekhJsonReport(val graph: ModuleDependencyGraph, val summary: GraphSummary, val violations: List<Violation>, val cycleBreakSuggestions: List<CycleBreakSuggestion> = emptyList(), val generatedAt: String, val aalekhVersion: String)(source)
The top-level envelope for aalekh-results.json.
All fields are serializable so the file is self-contained - a consumers does not need to cross-reference the HTML report or JUnit XML to get violation details, summary counts, or the full graph topology.
Constructors
Link copied to clipboard
constructor(graph: ModuleDependencyGraph, summary: GraphSummary, violations: List<Violation>, cycleBreakSuggestions: List<CycleBreakSuggestion> = emptyList(), generatedAt: String, aalekhVersion: String)
Properties
Link copied to clipboard
Aalekh plugin version that produced this report.
Link copied to clipboard
Suggested edges to remove to break each detected cycle, strongest first. Empty for an acyclic graph. Defaulted so reports from older versions still deserialize.
Link copied to clipboard
ISO-8601 timestamp of when this report was generated.
Link copied to clipboard
Complete module dependency graph - all nodes and edges.
Link copied to clipboard
Pre-computed graph statistics (cycles, fan-in/out, instability, etc.).
Link copied to clipboard
All violations found by the rule engine, ordered by severity (ERROR first, then WARNING, then INFO).