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
  • 66,094
  • 13
  • 157
  • 251
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825

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
  • 19,247
  • 4
  • 40
  • 67
Jason Kealey
  • 7,988
  • 11
  • 42
  • 55
  • Hint: Last version StatSVN is 2010-01-01: release of 0.7.0 is released. Recommendation: Don't use SVN in 2023. –  Jul 06 '23 at 11:10
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,662
  • 4
  • 37
  • 57
Nitin Bhide
  • 1,685
  • 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
  • Dead, Repository not found. EoL –  Feb 07 '23 at 14:04
8

It seems that some SVN tools are not updated anymore:

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

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

koppor
  • 19,079
  • 15
  • 119
  • 161
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,940
  • 3
  • 22
  • 24
-4

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

Mark Kofman
  • 611
  • 4
  • 12