LOC per committer?

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Jan 21 09:59:21 PST 2004


In message <20040121173809.GG68003 at genius.tao.org.uk>, Josef Karthauser writes:
>
>--uTRFFR9qmiCqR05s
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>Content-Transfer-Encoding: quoted-printable
>
>On Wed, Jan 21, 2004 at 09:41:22AM +0000, Colin Percival wrote:
>>   Has anyone done any graphs of lines-of-code for each committer
>> over the lifetime of the project?  I know that rwatson produced
>> all sorts of graphs relating to the number of commits, but lines
>> of code is something I haven't yet seen anywhere.
>>=20
>> Colin Percival
>
>I did one a few years ago.  It's not too hard to do.  I did it by
>parsing the output of 'cvs log' in a perl script.  Another way of
>getting the "current" count would be to parse the output of 'cvs
>annotate' on each file.

Considering how much harder it is to get rid of code than to add
it to our repository, a metric based purely on "lines added" would
be very misleading.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list