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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no 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-03 19:37:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!diablo.netcom.net.uk!netcom.net.uk!psiuk-p2!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Nethack! (was): AdaGames Date: Wed, 3 Apr 2002 11:14:14 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: 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: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1017850456 20918 136.170.200.133 (3 Apr 2002 16:14:16 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 3 Apr 2002 16:14:16 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:22076 Date: 2002-04-03T16:14:16+00:00 List-Id: I once ran a comparison between raw SLOC, semicolons and Halstead bits on a large body of Ada code. The correlation between them was so close as to make the method of counting pretty much irrelavent. The secret is to pick your metric and then be *consistent* in applying it and use it only in monitoring internal things within a project. ("SLOCs modified in this release", for example) You can't really use any of them to compare what goes on in one language/project with another anyway. The best it tells you is some gross level of difference between the size of one thing and another. You might be able to say "This project has a whole lot more code to look at than that project" and that's about the extent of its relevance. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "Ted Dennison" wrote in message news:4519e058.0204030750.78a30287@posting.google.com... > > Generally, I think SLOC is a stupid metric, so tons of effort should > *not* be spent in calculating it or figuring out the perfect way to > calculate it. For that reason, I wouldn't really blink at someone who > uses your method, or most any other method. But methods that count > both comments *and* blank lines are just a bit *too* slack. :-) >