From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: Fri, 16 Oct 92 09:17:25 EDT From: Dennis Doubleday Subject: Re: Assy/Ada SLOC ratio;What's an Ada SLOC? Message-ID: <9210161317.AA29667@bullwinkle.sware.com> List-Id: (Dave Collard x7468) writes: > IMHO, any method that depends on semicolons for counting > lines of code is pretty useless. The tool I wrote back in '87 counts it just about every way imaginable: it counts ALL semicolons, actual lines (with subtotals of blank, non-blank, and non-comment lines), and Ada statements (with subtotals of executable and declarative statements, and a breakdown of statements by statement type). It also includes a lot of other code size/complexity measures. The best way to do it is to give the user all the well-organized information you can and let him decide what to make of it. If you are interested, the tool is called ASAP. The last time I was able to check, it was still available via anonymous ftp from ftp.sei.cmu.edu, in the pub/dd directory. There is also a document there describing the tool and giving installation and operation instructions. It works only on VMS with DEC Ada. It could be ported to UNIX with not too much effort; the VMS/DEC Ada dependencies are enumerated in the accompanying document. Dennis Doubleday (dday@sware.com) (404)315-6296 (x62) SecureWare, Inc. 2957 Clairmont Rd., Suite 200 Atlanta, GA 30329