Overview › callgraph.bas
Module callgraph.bas
fbdoc/inc/callgraph.bas:1
Module callgraph.bas. Contains 17 function(s).auto
CallTargetAt
function CallTargetAt(ByVal i As Integer, ByRef nameOut As String) returns(Integer)
Herkent naam( en a.b.naam( en geeft de index van '(' terug (0 = geen).
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByVal | i As Integer | by valauto | |
ByRef | nameOut As String | by refauto |
Returns
Integer — value of type Integerno callers within the scanned code
callgraph.bas:6
QualNameStr
function QualNameStr(ByVal i As Integer) returns(String)
Geeft a.b.c terug vanaf tokenpositie i.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByVal | i As Integer | by valauto |
Returns
String — value of type StringCalled by
callgraph.bas.ScanBindingscallgraph.bas:28
AddCallauto
function AddCall(ByVal fromM As Integer, ByRef nm As String, ByVal ln As Integer, ByVal kindC As Integer)
Adds call.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByVal | fromM As Integer | by valauto | |
ByRef | nm As String | by refauto | |
ByVal | ln As Integer | by valauto | |
ByVal | kindC As Integer | by valauto |
Calls
IsBuiltinMethod, LC (5x)Called by
callgraph.bas.ScanBindingscallgraph.bas:48
FindPartByNameauto
function FindPartByName(ByRef nm As String) returns(Integer)
Searches for part by name. Returns Integer.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByRef | nm As String | by refauto |
Returns
Integer — value of type IntegerCalls
LC (2x)Called by
callgraph.bas.ResolveCallscallgraph.bas:112
FindFuncInPartauto
function FindFuncInPart(ByVal pidx As Integer, ByRef nm As String) returns(Integer)
Searches for func in part. Returns Integer.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByVal | pidx As Integer | by valauto | |
ByRef | nm As String | by refauto |
Returns
Integer — value of type IntegerCalls
LC (2x)callgraph.bas:120
ResolveCallsauto
function ResolveCalls()
Function resolve calls.
no callers within the scanned code
callgraph.bas:133
ScanBindings
function ScanBindings(ByVal a As Integer, ByVal b As Integer, ByVal ownerPart As Integer, ByVal ownerFunc As Integer)
Zoekt in een tokenbereik naar koppelingen als onClick = doeIets of onConstructionFunction = start.
Zulke functies worden nergens expliciet aangeroepen maar zijn wel degelijk in gebruik; zonder deze scan komen ze onterecht in het overzicht van mogelijk dode code terecht.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByVal | a As Integer | by valauto | |
ByVal | b As Integer | by valauto | |
ByVal | ownerPart As Integer | by valauto | |
ByVal | ownerFunc As Integer | by valauto |
no callers within the scanned code
callgraph.bas:221
ResolveBindingsauto
function ResolveBindings()
Function resolve bindings.
no callers within the scanned code
callgraph.bas:247
DeadKind
function DeadKind(ByVal midx As Integer) returns(Integer)
Waarom heeft deze functie geen aanroeper? 0 = wel aangeroepen 1 = mogelijk ongebruikt 2 = ingang van een service, dus van buiten aangeroepen 3 = gekoppeld via een property (event handler, onConstructionFunction)
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByVal | midx As Integer | by valauto |
Returns
Integer — value of type IntegerCalls
callgraph.bas.CallerCount, LCno callers within the scanned code
callgraph.bas:260
EdgeKindLabel
function EdgeKindLabel(ByVal kindC As Integer) returns(String)
Korte aanduiding van het soort relatie.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByVal | kindC As Integer | by valauto |
Returns
String — value of type Stringno callers within the scanned code
callgraph.bas:281
CalleeCountauto
function CalleeCount(ByVal midx As Integer) returns(Integer)
Function callee count. Returns Integer.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByVal | midx As Integer | by valauto |
Returns
Integer — value of type Integerno callers within the scanned code
callgraph.bas:288
CallerCountauto
function CallerCount(ByVal midx As Integer) returns(Integer)
Function caller count. Returns Integer.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByVal | midx As Integer | by valauto |
Returns
Integer — value of type IntegerCalled by
callgraph.bas.DeadKindcallgraph.bas:300
MemberFullNameauto
function MemberFullName(ByVal midx As Integer) returns(String)
Function member full name. Returns String.
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByVal | midx As Integer | by valauto |
Returns
String — value of type Stringno callers within the scanned code
callgraph.bas:309
CollectExterns
function CollectExterns()
Verzamelt de niet-opgeloste aanroepen per qualifier: dat zijn precies de bibliotheken uit andere projecten waarvan deze code afhankelijk is.
Calls
IsSysLibName, LC (3x)no callers within the scanned code
callgraph.bas:319
CollectAmbigauto
function CollectAmbig()
Function collect ambig.
Calls
LC (2x)no callers within the scanned code
callgraph.bas:354
ComputeRefDist
function ComputeRefDist()
Hoe ver staat een referentiefunctie van de gedocumenteerde code af?
--follow trekt hele projecten naar binnen. Voor de graaf wil je alleen de grens zien: welke functies roept jouw code aan, en eventueel een paar stappen daarachter. Alles wat verder weg ligt valt buiten beeld, anders krijg je een diagram met tienduizenden knopen.
no callers within the scanned code
callgraph.bas:384
GraphVisible
function GraphVisible(ByVal midx As Integer) returns(Integer)
Hoort deze functie in de graaf?
| Parameter | Type | Direction | Description |
|---|---|---|---|
ByVal | midx As Integer | by valauto |
Returns
Integer — value of type Integerno callers within the scanned code
callgraph.bas:414