Package pl.gdela.socomo.composition
Class Level
java.lang.Object
pl.gdela.socomo.composition.Level
public class Level
extends java.lang.Object
Level at which we model source code composition. Level name is actually a java package name,
all sibling and parent packages are not included in determining the composition. Only code in
subpackages (transitively) forms components of this level.
-
Field Summary
Fields Modifier and Type Field Description java.util.Collection<Component>componentsjava.util.Collection<ComponentDep>dependenciesjava.lang.Stringname -
Method Summary
Modifier and Type Method Description java.lang.Stringformatted()Returns a human-friendly, textual multiline representation of the level.intmaxComponentSize()intmaxDependencyStrength()intsumComponentSize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
name
public final java.lang.String name -
components
-
dependencies
-
-
Method Details
-
maxComponentSize
public int maxComponentSize() -
sumComponentSize
public int sumComponentSize() -
maxDependencyStrength
public int maxDependencyStrength() -
formatted
public java.lang.String formatted()Returns a human-friendly, textual multiline representation of the level.
-