MainSequenceReportGenerator

Renders a MainSequenceReport as the two local artefacts aalekhMainSequence writes:

  • markdown - a reviewable table of each module's abstractness (A), instability (I) and distance from the main sequence (D), worst first, with the off-sequence modules called out.

  • json - the same data machine-readable.

Both are pure string transforms - no Gradle, no I/O.

Functions

Link copied to clipboard

Serialises the report to pretty-printed JSON.

Link copied to clipboard
fun markdown(report: MainSequenceReport, projectName: String): String

Renders the report as a Markdown document.