-=[ In:ggr...@internetland.ne was heard to say... ]=-
In> grif...@magicnet.net (Michael Griffin) wrote:
>I'm looking for software that will "analyze" my Pascal files and give me
> information like this:
> 1. Which variables are not being used
> 2. A list of procedures/functions and their callers
In> Callers? Meaning what calls the functions?
> 3. Procs/funcs that are not used
> 4. General overview of program flow (what calls what, given primary file
> starting point).
In> What would 4 look like for output as a key?
In> What kind of need might there be for such a program? I might consider
In> making that my next project...
I see a definite need for such a program, or something like it, and if I had
the time I'd give it a whirl myself, at least for my own use. The need comes
mostly when I'm reworking my code and making improvements or trying to add
new features, or trying to organize my units more efficiently, and I need a
breakdown of the overall flow. Right now I make good use out of GREP, which
is great for checking if variables or procedures/functions are being used,
and I use it to locate where functions and procedures are being called, but
it isn't enough, because I can't see what functions/procedures are related
and how they are related (where two routines tend to be used together alot,
for instance). It would also be nice to be able to get a complete tree
diagram of unit usage, in order to see relationships there. I have tried one
utility called UNITREE, but it doesn't give the full tree and only seems to
go a certain level, often missing some units completely. I guess I could
write my own utility to do this easy enough. Hmmm...
-- Kim Forwood --
/-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-\
$ Kim Forwood <kim.forw...@access.cn.camriv.bc.ca> %
% http://goodship.cn.camriv.bc.ca/~kforwood/ $
$ For what purpose is life, if one cannot live freely? %
\-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-/
___ Blue Wave/QWK v2.20