From owner-freebsd-current@FreeBSD.ORG Wed Jan 21 13:42:32 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 783FB16A4CE for ; Wed, 21 Jan 2004 13:42:32 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90B8443D2F for ; Wed, 21 Jan 2004 13:42:30 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i0LLeTUd084045; Wed, 21 Jan 2004 16:40:29 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i0LLeTj7084042; Wed, 21 Jan 2004 16:40:29 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Wed, 21 Jan 2004 16:40:29 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Colin Percival In-Reply-To: <6.0.1.1.1.20040121092953.0435a3d8@imap.sfu.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org 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 21:42:32 -0000 On Wed, 21 Jan 2004, 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. Well, there were some stats running at some point relating to the output of cvs annotate, which shows you the "most recent version of any given line on a tag". However, it's a bit hard to measure lines of code, because CVS is much more about maintaining sequential patches/diffs, and so there is a lot of noise due to the diff context. Those number used to be substantially skewed also by lines that haven't changed since the BSD import; it's also not clear how to handle things like contrib, which can involve a lot of work, but generate "few lines of code". However, since you asked :-). Take a look at the commit logs embedded in the CVSROOT. The format has changed once or twice, and there have been nits, but they're very useful for generating a summary of all commit activity, including sizes of patches committed in each commit. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research