From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,33c2f396f345ec59 X-Google-Attributes: gid103376,public From: Ehud Lamm Subject: Re: FRAC tool? Date: 1999/05/20 Message-ID: #1/1 X-Deja-AN: 480321599 References: Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: The hebrew University of Jerusalem Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-05-20T00:00:00+00:00 List-Id: I don't know of any such tool, but it seems that it should be quite straight forward to hack something in Perl/AWK. What should be considered is which lines to count. Only type/subtype declarations? Ehud Lamm mslamm@pluto.mscc.huji.ac.il On Mon, 17 May 1999, Ken Garlington wrote: > I'm using the PRICE-S cost model, and one of the parameters of the model is > FRAC (Fraction of Non-Executable Code) - the fraction of source lines of > code that describe type declarations and data and format statements. Has > anyone written a tool that will scan Ada (or C) source code to compute such > a number? > > > >