Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!cs.uoregon.edu!ns.uoregon.edu!milton!uw-beaver!mit-eddie!bbn.com!rlandsma From: rlandsma@bbn.com (Rick Landsman) Newsgroups: comp.software-eng Subject: Re: WANTED: "C" code line counter program Keywords: C metrics Message-ID: <63351@bbn.BBN.COM> Date: 21 Mar 91 13:19:15 GMT References: <1991Mar6.214157.18633@ntpal.uucp> <9082@suns6.crosfield.co.uk> <12781@ur-cc.UUCP> Sender: news@bbn.com Reply-To: rlandsma@ccv1.bbn.com (Rick Landsman) Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 17 Sorry if this has already been mentioned. We have been using a "C" SLOC counting tool available via anonymous FTP from uunet.uu.net comp.sources.unix archives. I believe it is available in volume20,21 or 22 but interested parties should get the Index and search it for "metrics" to see where the actual package is located in the archive. Not only does it generate slocs (we modified it to count ASSY lines as well), it generates McCabe and Halstead complexity metrics for C modules. We have found it very useful. regards rick landsman - bbn Rick Landsman address: uunet.uu.net!bbn.com!rlandsman rlandsman@bbn.com