43

Are there other open source/free packages for producing repository statistics for a Subversion repository?

I've tried StatSVN but it seems to be incompatible with the logfiles for Subversion 1.5 and above.

Note, I know that TortoiseSVN has some statistics built into its dialogs and repository browsing code, but this is not what I'm looking for.

What I'm looking for is a tool that can analyze the repository, and its logs, and produce statistics like these:

  • Who checked in the most code
  • Code growth over time
  • Busy files (changed often)
Wim Coenen
  • 64,994
  • 13
  • 151
  • 241
Lasse V. Karlsen
  • 366,661
  • 96
  • 610
  • 798

5 Answers5

21

StatSVN does work for Subversion 1.5 and above. See my comment on the SourceForge forums concerning a similar issue reported today on the StatSVN forums.

Richard Harrison
  • 18,923
  • 4
  • 38
  • 66
Jason Kealey
  • 7,898
  • 10
  • 41
  • 53
17

Try SVNPLot .

Its written in python and doesnot required a 'checkout working copy'. It will be easy to modify.

Disclosure: I am developer of SVNPlot. So possibly my opinion is somewhat biased. :-)

earcam
  • 6,602
  • 4
  • 36
  • 56
Nitin Bhide
  • 1,675
  • 14
  • 15
  • 4
    Have you already installed `matplotlib` and `pysvn` inside a virtualenv? It's giving me slight headaches... Just asking. I'm giving up for now on SVNPlot. I don't have time to deal with pages and pages of install instructions. I may give it a shot again in a few months... ;) – exhuma Feb 22 '11 at 13:27
  • 2
    I'm also having endless headaches trying to get pysvn installed so that I can install svnplot. Year and a half later and still no dice. – Nate Nov 06 '12 at 20:02
  • Disclaimer: I've not yet tried StatSVN or SVNPlot - but cursory due-diligence 7 years on StatSVN is dead (last commit 2010) SVNPlot is active (https://bitbucket.org/nitinbhide/svnplot/issues - switch filter to "all"). Kudos to @Nitin Bhide for commit(ment) – earcam Nov 04 '16 at 22:52
8

It seems that some SVN tools are not updated anymore:

One reason might be that these tools are "good enough".

There seems to be one actively maintained tool:

  • SVNPlot. Latest release 2016-05-13.

The "modern" way to go is to convert the repo to git and then use a git statistics tool.

Community
  • 1
  • 1
koppor
  • 17,003
  • 14
  • 105
  • 150
2

I just came across MPY SVN STATS:

https://sourceforge.net/projects/mpy-svn-stats.berlios/

It works quite well but the graphs are a bit ugly.

Some stats from MPY SVN STATS

2017/1/10: Replaced original download link with more recent sourceforge. MPY-SVN was extremely easy to setup (called python using bash script on win10). Unlike statsvn.org it does not need a working copy, works from repository url. Unlike svnplot I was able to get it working on 3 repositories in <5min.

Nate
  • 2,880
  • 2
  • 21
  • 24
-4

You can try programeter.com. It has free package if you need.

Mark Kofman
  • 609
  • 4
  • 12