Package | Description |
---|---|
classycle | |
classycle.dependency | |
classycle.graph | |
classycle.renderer |
Modifier and Type | Class and Description |
---|---|
class |
PackageVertex |
Modifier and Type | Method and Description |
---|---|
AtomicVertex[] |
Analyser.getClassGraph()
Returns the class graph.
|
AtomicVertex[] |
PackageProcessor.getGraph()
Returns the package graph after processing.
|
AtomicVertex[] |
Analyser.getPackageGraph()
Returns the package graph created the class graph.
|
static AtomicVertex[] |
Parser.readClassFiles(java.lang.String[] classFiles)
Reads and parses class files and creates a direct graph.
|
static AtomicVertex[] |
Parser.readClassFiles(java.lang.String[] classFiles,
StringPattern pattern,
StringPattern reflectionPattern,
boolean mergeInnerClasses)
Reads the specified class files and creates a directed graph where each
vertex represents a class.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<AtomicVertex,java.lang.Integer> |
Analyser.getClassLayerMap()
Calculates the for each class its layer index and returns
a Map where the classes are the keys (type
AtomicVertex )
and the layer indices are the values (type Integer). |
java.util.Map<AtomicVertex,java.lang.Integer> |
Analyser.getPackageLayerMap()
Calculates the for each package its layer index and returns
a Map where the packages are the keys (type
AtomicVertex )
and the layer indices are the values (type Integer). |
Modifier and Type | Method and Description |
---|---|
AtomicVertex[] |
DependencyResult.getPaths()
Returns the vertices of the paths of unwanted dependencies.
|
Modifier and Type | Method and Description |
---|---|
Result |
Statement.execute(AtomicVertex[] graph) |
Result |
ShowStatement.execute(AtomicVertex[] graph) |
Result |
LayeringStatement.execute(AtomicVertex[] graph) |
Result |
DependencyStatement.execute(AtomicVertex[] graph) |
Result |
CheckSetStatement.execute(AtomicVertex[] graph) |
Result |
CheckCyclesStatement.execute(AtomicVertex[] graph) |
Result |
DependencyProcessor.executeNextStatement(AtomicVertex[] graph)
Executes the next unprocessed statement and returns its result.
|
Constructor and Description |
---|
DependencyResult(StringPattern startSet,
StringPattern finalSet,
java.lang.String statement,
AtomicVertex[] paths) |
Modifier and Type | Method and Description |
---|---|
AtomicVertex[] |
PathsFinder.findPaths(AtomicVertex[] graph)
Finds all paths from the specified start vertices to the vertices
fullfilling the specified condition.
|
AtomicVertex[] |
StrongComponentAnalyser.getGraph()
Returns the original graph.
|
AtomicVertex |
StrongComponent.getVertex(int index)
Returns the vertex of the specified index.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<AtomicVertex,java.lang.Integer> |
StrongComponentAnalyser.getLayerMap()
Returns the maping of the nodes of the original graph onto a layer index
(i.e.
|
Modifier and Type | Method and Description |
---|---|
void |
StrongComponent.addVertex(AtomicVertex vertex)
Adds the specified vertex to this strong component.
|
AtomicVertex[] |
PathsFinder.findPaths(AtomicVertex[] graph)
Finds all paths from the specified start vertices to the vertices
fullfilling the specified condition.
|
Constructor and Description |
---|
StrongComponentAnalyser(AtomicVertex[] graph)
Creates an instance for the specified graph.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
XMLAtomicVertexRenderer.render(AtomicVertex vertex,
StrongComponent cycle,
int layerIndex)
Renderes the specified vertex.
|
java.lang.String |
TemplateBasedClassRenderer.render(AtomicVertex vertex,
StrongComponent cycle,
int layerIndex)
Renderes the specified vertex.
|
java.lang.String |
PlainClassRenderer.render(AtomicVertex vertex,
StrongComponent cycle,
int layerIndex)
Renderes the specified vertex.
|
java.lang.String |
AtomicVertexRenderer.render(AtomicVertex vertex,
StrongComponent cycle,
int layerIndex)
Renders an
AtomicVertex . |