ModuleMainSequence
constructor(path: String, instability: Double, abstractness: Double, distance: Double, zone: MainSequenceZone, abstractTypes: Int, concreteTypes: Int)(source)
Parameters
path
Module Gradle path.
instability
Efferent coupling ratio Ce / (Ca + Ce) - 0 stable, 1 unstable. From the graph.
abstractness
Ratio of abstract to total types Na / Nc - 0 all concrete, 1 all abstract. From a coarse source scan.
distance
Distance from the main sequence |A + I - 1| - 0 is ideal, 1 is worst.
zone
Which region the module falls in.
abstractTypes
Abstract type declarations counted (interfaces, abstract/sealed classes).
concreteTypes
Concrete type declarations counted (classes, objects, enums).