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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,41100a78496a4c71 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-04 06:20:00 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dennison@telepath.com (Ted Dennison) Newsgroups: comp.lang.ada Subject: Re: Nethack! (was): AdaGames Date: 4 Apr 2002 06:19:59 -0800 Organization: http://groups.google.com/ Message-ID: <4519e058.0204040619.4c064f8e@posting.google.com> References: <98104da8.0203280310.143a1c18@posting.google.com> <4519e058.0203290613.73b55af4@posting.google.com> <6g4gaugv9a85i56kvgcgmu4h2jkjprutec@4ax.com> <4519e058.0204010704.ed2cd06@posting.google.com> <4519e058.0204021030.14127b06@posting.google.com> <4519e058.0204030750.78a30287@posting.google.com> NNTP-Posting-Host: 65.115.221.98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1017930000 30780 127.0.0.1 (4 Apr 2002 14:20:00 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 4 Apr 2002 14:20:00 GMT Xref: archiver1.google.com comp.lang.ada:22094 Date: 2002-04-04T14:20:00+00:00 List-Id: "Bobby D. Bryant" wrote in message news:... > Somewhere along the way I picked up a perl script by one Christopher > Moore, which reports (pseudo) SLOC, comment lines, blank lines, the > total, and the number of subrountines. If you give it a wildcard > argument it reports those counts per-sourcefile and totals them at the > bottom. There's also a SLOC counter program written in Ada in OpenToken (http://www.telepath.com/dennison/Ted/OpenToken/OpenToken.html ) that gives a similar breakdown. Generally I'd just use grep -c ";" because its easy to do and easy to remember and tell other people to do. But I've had managers who insist on some snazzy tool, and that fits the bill nicely. -- T.E.D. Home - mailto:dennison@telepath.com (Yahoo: Ted_Dennison) Homepage - http://www.telepath.com/dennison/Ted/TED.html