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

Re: SVN Statistics

From: Kevin Grover <kevin_at_kevingrover.net>
Date: Sun, 12 Dec 2010 20:35:38 -0800

On Sat, Dec 11, 2010 at 03:27, Gavin Beau Baumanis <beau_at_palcare.com.au>wrote:

> Hi kevin,
>
> This is indeed the stats package that I already have.
> But it is a little sparse on documentation.
> It has great statistics that are useful when I report on the whole project
> - but I have been unable to find a way to say,
> Start at this Revision / in this path...
>
> I did find this;
> http://statsvn.1260.n2.nabble.com/forum/PostLink.jtp?post=5283797
>
> Which I overlooked (that it actually uses the log you create, prior to
> running the jar) - but it does says that;
> "the produced results are not the best since StatSVN assumes it knows all
> the data in the repository. "
>
> The biggest issue I have really, is that I am not a java developer (not a
> SVN developer) for that matter.
> So I really am unable to do it myself.
>
> I'll give the svn log route a go and see how it works out.
>
>
>
>
> On 11/12/2010, at 6:21 AM, Kevin Grover wrote:
>
> Check out StatSVN:
>
> http://www.statsvn.org/
>
> Cheers.
>
>
> On Thu, Dec 9, 2010 at 20:46, Gavin Beau Baumanis <beau_at_palcare.com.au>wrote:
>
>> Hi Everyone,
>>
>> I have been asked for some statistics about our code base and am hoping
>> that someone might have had a task for something similar already, and will
>> be able to help me out.
>>
>> Here is the text I was sent - but it is really just a guide - it is more a
>> case of "something" to show as opposed to have any specific item(s).
>>
>> I do have a jar that I downloaded from SourceForge - that provides pretty
>> much what I'm after.
>> Lines of code / Churn,
>> Number of commits etc.
>>
>> But it is based on the entire repository from revision 0:head.
>>
>> The specific request (below) comes from the point of view ;
>> These are stats are from rev xxx - when we started work on the latest
>> version.
>>
>> We don't have a classical "release" branch either - just a forever going
>> trunk, so we can't use anything "path" specific to obtain the requested
>> results either.
>>
>> Anyway - if you have ideas - I would be most grateful, here is the
>> questions I was asked;
>>
>> Added xxx Lines of new code
>> Removed xxx Lines of redundant code
>> Performed more than xxx individual code changes.
>>
>>
>> As always - thanks very much in advance!
>>
>> Gavin.
>
>
>
>
Granted, the StatSVN documentation could be better - I had also looked for a
way to exclude the twitter links, but just did not care enough.

One possible solution for you may just be to use svnadmin dump and filter
out what you want to report on (svndumptool could also be helpful for this).

Good luck.
Received on 2010-12-13 05:36:16 CET

This is an archived mail posted to the Subversion Users mailing list.

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