Callgraph

plugins.callgraph.vertex (DATA)

vertex ::= { fields… }

Field Format Description
"kf" fct The function represented by the node
"is_root" boolean whether this node is the root of a service
"root" fct the root of this node’s service

plugins.callgraph.edgeKind (DATA)

Whether the call goes through services or not

edgeKind ::= tags…

Tags Value Description
Inter_services "inter_services" a call between two services
Inter_functions "inter_functions" a call inside a service
Both "both" both cases above

plugins.callgraph.edgeKindTags (GET)

Registered tags for the above type.

input ::= null

output ::= tag []

plugins.callgraph.edge (DATA)

edge ::= { fields… }

Field Format Description
"src" fct src
"dst" fct dst
"kind" edgeKind kind

plugins.callgraph.graph (DATA)

The callgraph of the current project

graph ::= { fields… }

Field Format Description
"vertices" vertex [] vertices
"edges" edge [] edges

plugins.callgraph.callgraph (STATE)

The current callgraph or an empty graph if it has not been computed yet

plugins.callgraph.signalCallgraph (SIGNAL)

Signal for state callgraph

plugins.callgraph.getCallgraph (GET)

Getter for state callgraph

input ::= null

output ::= graph ?

plugins.callgraph.isComputed (STATE)

This boolean is true if the graph has been computed

plugins.callgraph.signalIsComputed (SIGNAL)

Signal for state isComputed

plugins.callgraph.getIsComputed (GET)

Getter for state isComputed

input ::= null

output ::= boolean

plugins.callgraph.compute (EXEC)

Compute the callgraph for the current project

input ::= null

output ::= null