PROCEDURE calling graph

Programming language questions
Post Reply
User avatar
Robert
Posts: 177
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

PROCEDURE calling graph

Post by Robert »

Does anyone have a tool that produces a graph of which procedures call which within one module?

In some ways this is a more difficult question than producing a multi-module IMPORT tree, as the graph can be a general (recursive) directed graph, and not simply just a tree.
User avatar
DGDanforth
Posts: 59
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, CA, U.S.A.
Contact:

Re: PROCEDURE calling graph

Post by DGDanforth »

Robert wrote:Does anyone have a tool that produces a graph of which procedures call which within one module?

In some ways this is a more difficult question than producing a multi-module IMPORT tree, as the graph can be a general (recursive) directed graph, and not simply just a tree.
There is also the issue of conditional calling (IF flag THEN proc END).
How would you want that depicted?
User avatar
Robert
Posts: 177
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Re: PROCEDURE calling graph

Post by Robert »

DGDanforth wrote:There is also the issue of conditional calling (IF flag THEN proc END).
How would you want that depicted?
As a dependancy. If it was shown as a conditional dependancy that would be added information.

I've solved my problem for which I thought this would be a useful tool, so have no immediate need for it. However I still think such a tool might be generally useful.
Post Reply