public class ClassControlFlowGraph extends EvoSuiteGraph<CCFGNode,CCFGEdge>
| Modifier and Type | Class and Description |
|---|---|
static class |
ClassControlFlowGraph.FrameNodeType |
| Modifier and Type | Field and Description |
|---|---|
Set<CCFGMethodEntryNode> |
publicMethods |
edgeClass, graph, graphId| Constructor and Description |
|---|
ClassControlFlowGraph(ClassCallGraph ccg)
Given the ClassCallGraph of a class this constructor will build up the
corresponding CCFG using the RCFGs from the GraphPool.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
dotSubFolder()
Subclasses can overwrite this method in order to separate their .dot and
.png export to a special folder.
|
ClassCallGraph |
getCcg() |
CCFGFrameNode |
getFrameNode(ClassControlFlowGraph.FrameNodeType type)
getFrameNode
|
CCFGMethodEntryNode |
getMethodEntryNodeForClassCallNode(ClassCallNode ccgNode) |
CCFGMethodEntryNode |
getMethodEntryOf(CCFGMethodExitNode methodExit)
getMethodEntryOf
|
CCFGMethodExitNode |
getMethodExitOf(CCFGMethodEntryNode methodEntry)
getMethodExitOf
|
String |
getName()
getName
|
boolean |
isPublicMethod(CCFGMethodEntryNode node) |
boolean |
isPublicMethod(String method) |
boolean |
isPure(String methodName) |
addEdge, addEdge, addVertex, addVertices, addVertices, computeReverseJGraph, containsEdge, containsEdge, containsVertex, determineBranches, determineConnectedVertices, determineEntryPoints, determineExitPoints, determineJoins, edgeCount, edgeSet, getChildren, getDistance, getEdge, getEdgeSource, getEdgeTarget, getIsolatedNodes, getNodesWithoutChildren, getParents, getRandomVertex, getSingleChild, hasNPartentsMChildren, incomingEdgesOf, inDegreeOf, isConnected, isDirectSuccessor, isEmpty, outDegreeOf, outgoingEdgesOf, redirectEdges, redirectEdgeSource, redirectEdgeTarget, redirectIncomingEdges, redirectOutgoingEdges, registerEdgeAttributeProvider, registerVertexAttributeProvider, toDot, toFileString, vertexCount, vertexSetpublic Set<CCFGMethodEntryNode> publicMethods
public ClassControlFlowGraph(ClassCallGraph ccg)
ccg - a ClassCallGraph object.public boolean isPure(String methodName)
public boolean isPublicMethod(String method)
public boolean isPublicMethod(CCFGMethodEntryNode node)
public CCFGMethodEntryNode getMethodEntryNodeForClassCallNode(ClassCallNode ccgNode)
public CCFGMethodExitNode getMethodExitOf(CCFGMethodEntryNode methodEntry)
getMethodExitOf
methodEntry - a CCFGMethodEntryNode object.CCFGMethodExitNode object.public CCFGMethodEntryNode getMethodEntryOf(CCFGMethodExitNode methodExit)
getMethodEntryOf
methodExit - a CCFGMethodExitNode object.CCFGMethodEntryNode object.public CCFGFrameNode getFrameNode(ClassControlFlowGraph.FrameNodeType type)
getFrameNode
type - a
ClassControlFlowGraph.FrameNodeType
object.CCFGFrameNode object.public String getName()
getName
getName in class EvoSuiteGraph<CCFGNode,CCFGEdge>String object.protected String dotSubFolder()
dotSubFolder in class EvoSuiteGraph<CCFGNode,CCFGEdge>String object.public ClassCallGraph getCcg()
Copyright © 2010–2017 EvoSuite. All rights reserved.