Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!ukma!xanth!ginosko!uunet!opel!johnk
From: johnk@opel.UUCP (John Kennedy)
Newsgroups: comp.software-eng
Subject: Re: C source lines in file
Keywords: C
Message-ID: <257@opel.UUCP>
Date: 14 Aug 89 07:07:09 GMT
References: <35120@ccicpg.UUCP> <10707@smoke.BRL.MIL>
Reply-To: johnk@opel.UUCP (John Kennedy)
Organization: Second Source, Inc., Annapolis, MD
Lines: 19

In article <10707@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn) writes:
>In article <35120@ccicpg.UUCP> swonk@ccicpg.UUCP (Glen Swonk) writes:
>-Does anyone have a program or a method of determing
>-the number of C source lines in a source file?
>-My assumption is that comments don't count as source
>-lines unless the comment is on a line with code.
>
>What precisely is this supposed to measure?

It is not uncommon to generate NCSL (Non-Commentary Source Lines) for
purposes of productivity.  No, this does not encourage programmers
not to comment their files.  NCSL estimates have a relationship to
size and execution time predictions.  Comments do not.

John
-- 
John Kennedy                     johnk@opel.UUCP
Second Source, Inc.
Annapolis, MD