PROCEDURE calling graph

Programming language questions

PROCEDURE calling graph

Postby Robert » Tue Jul 04, 2017 1:44 pm

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
Robert
 
Posts: 84
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Re: PROCEDURE calling graph

Postby DGDanforth » Sat Jul 08, 2017 4:42 am

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
DGDanforth
 
Posts: 40
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, CA, U.S.A.

Re: PROCEDURE calling graph

Postby Robert » Sat Jul 08, 2017 1:09 pm

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.
User avatar
Robert
 
Posts: 84
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland


Return to Component Pascal

Who is online

Users browsing this forum: No registered users and 1 guest

cron