From owner-freebsd-current@FreeBSD.ORG Wed Jan 21 09:59:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E24C816A4CE; Wed, 21 Jan 2004 09:59:20 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96C7743D5E; Wed, 21 Jan 2004 09:59:04 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i0LHx3Cf027700; Wed, 21 Jan 2004 18:59:03 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Josef Karthauser From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 21 Jan 2004 17:38:09 GMT." <20040121173809.GG68003@genius.tao.org.uk> Date: Wed, 21 Jan 2004 18:59:03 +0100 Message-ID: <27699.1074707943@critter.freebsd.dk> cc: freebsd-current@freebsd.org cc: Colin Percival Subject: Re: LOC per committer? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2004 17:59:21 -0000 In message <20040121173809.GG68003@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@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.