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-Thread: 103376,59f7e099a1b75f38 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.190.99 with SMTP id gp3mr2046789pbc.1.1326972444340; Thu, 19 Jan 2012 03:27:24 -0800 (PST) Path: lh20ni199573pbb.0!nntp.google.com!news2.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: source code line counting in ada Date: Thu, 19 Jan 2012 11:27:22 +0000 Organization: A noiseless patient Spider Message-ID: References: <2a71b926-6ba5-4bb4-a4bf-c575e1a9711c@z12g2000yqm.googlegroups.com> <6ebd171e-149b-4ed5-8317-dea6ad1ef094@o12g2000vbd.googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="1608"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199rv2ZUX4FCG1+fOTcJqKrF3h87rB49D8=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:zIfCtHOovHx5c1rSzstODK/2+L0= sha1:XZ02BP0HiGUryGssN5gLfPbCjDc= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Date: 2012-01-19T11:27:22+00:00 List-Id: Martin writes: > On Jan 19, 9:39 am, tonyg wrote: >> Is there a utility that can count lines of ada source code? Maybe >> there is something in gnat-gps? > > GPS -> Tools -> Metrics which I guess uses gnatmetric.exe, which can > be used from the command line. For some bizarre reason, "gnatmetric" doesn't understand -P , but "gnat metric" does! (I think there are other tools like this; "gnatls" vs "gnat list")