From: Rolf Ebert <re@waporo.muc.de>
Subject: Re: Perl script to show dependencies
Date: 1996/10/21
Date: 1996-10-21T00:00:00+00:00 [thread overview]
Message-ID: <m2lod09lv8.fsf@waporo.muc.de> (raw)
In-Reply-To: dewar.844959342@merv
On 10 Oct 1996, Robert Dewar wrote:
> Rolf said
>
> "The following is a simple minded perl-script which analyses Ada files
> and generates a spreadsheet of the dependencies between the Ada units.
> I wrote it, because I wanted to know about the relation between several
> units before reorganizing a project."
>
> Wouldn't it be better to use the dependency information in the ali files,
> because then you would pick up inlining and generic body dependencies as
> well.
I was not interested in the dependancies which concern the compiler, but
in the logical dependancies between the modules. I wanted to apply the
rule of a thumb saying "if there are too many with clauses (~> 8), think
about your design".
Even for that pupose it might be a good idea to use the ALI files as
they reliably contain *all* with clauses (lines starting with W) whereas
my script is limited to a certain style for writing with clauses.
Rolf
ebert@waporo.muc.de
next prev parent reply other threads:[~1996-10-21 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-05 0:00 Perl script to show dependencies Rolf Ebert
1996-10-10 0:00 ` Robert Dewar
1996-10-12 0:00 ` Keith Thompson
1996-10-20 0:00 ` Richard Riehle
1996-10-21 0:00 ` Rolf Ebert [this message]
1996-10-24 0:00 ` Too many WITH's? (was: Perl script to show dependencies) Adam Beneschan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox