ArchitectureDiff

constructor(addedModules: List<String> = emptyList(), removedModules: List<String> = emptyList(), addedEdges: List<String> = emptyList(), removedEdges: List<String> = emptyList(), newCycles: List<String> = emptyList(), resolvedCycles: List<String> = emptyList(), layerChanges: Map<String, LayerChange> = emptyMap(), metricDeltas: Map<String, MetricDelta> = emptyMap())(source)

Parameters

addedModules

Modules present now and not before.

removedModules

Modules present before and not now.

addedEdges

Dependencies added, as "from>to".

removedEdges

Dependencies removed, as "from>to".

newCycles

Modules newly caught in a cycle.

resolvedCycles

Modules no longer in a cycle.

layerChanges

Modules that moved from one declared layer to another, as module to (before, after). A module entering or leaving layer coverage counts too.

metricDeltas

Structural metrics that moved, keyed by metric name, as before to after.