[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Percent of authorship

From: Alexander Klenin <klenin_at_gmail.com>
Date: Mon, 19 Apr 2010 17:48:39 +0400

I am the mentor of Dmitry Kravtsov and Oleg "Corwin" Pinchuk at the
Far Eastern National University, Russia. The do their works for the TSVN
as a courseworks.
Unfortunately, they may sometimes have problems with English,
so I'll try to help them answer some questions here.

On Mon, Apr 19, 2010 at 10:59, Hans-Emil Skogh
<Hans-Emil.Skogh_at_tritech.se> wrote:
> How is the new "Percent of authorship"-metric calculated?
>
> I would expect it to use some kind of lines-changed-metric (blame), but
> since that is very expensive I guess it is done in another way?

In theory, it should be indeed lines-changes, but aggregated through
the entire history
of the file, with diminishing weight.
Additionally, some kind of heuristic may be applied to reduce the weight
of whitespace-only changes such as indentation fixes.
Roughly speaking, this metric should answer the question
"which person should I talk to if I want to understand/fix/improve
this part of code".

I did not review the actual patch for algorithmic complexity, but it is
quite possible that the low speed is just a result of some oversight and
may be improved.

-- 
Alexander S. Klenin
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2589273
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-19 15:48:49 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.