Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!ubc-cs!alberta!arcsun.arc.ab.ca!jade!jameson From: jameson@jade.uucp (Kevin Jameson) Newsgroups: comp.software-eng Subject: Re: Counting semicolons (was: Re: WANTED: "C" code line counter program) Message-ID: <1991Mar15.231326.972@jade.uucp> Date: 15 Mar 91 23:13:26 GMT Organization: Jade Simulations International, Inc. Lines: 17 If the author figured that something (semicolons, brackets, partial boolean expressions, etc) was worth putting on a line by itself when the code was written, wouldn't it be reasonable to count it as a distinct line of code? Surely something like this if ((some-long-condition1 && some-other-long-condition2) || third condition) { ...; ...; } should count as more lines of code than something like this: if (debug) ...;