SVN analysis tool

2019-02-01 22:39发布

问题:

I have been searching all over the net to find something remotely usable. I tried all kinds of HTML based tools for analyzing an SVN repository (commits by users, reports etc) but none of them are user friendly.

I am interested in a desktop client (that does NOT depend on an external svn.exe to be installed on my system) that does just that. Analyze the repository and create reports.

Does anyone know of such a program?

回答1:

you can look into statsvn which just needs a checkedout workingcopy and a connection to the repo. It will extract tons of informations out of your repository. It is a java project and will run on all architectures. It will also create heatmaps, LOC-graphs and other images to visualize the data.



回答2:

I tryed svnplot on a large repository, it generates nice HTML reports with the following graphs:

  • Lines of Code vs time
  • Lines of Code per author vs time
  • Average file size vs time
  • File count vs time
  • File types histogram
  • File changes vs time
  • Directories size pie chart
  • Commits vs time
  • Commits per days of week histogram
  • Commits per hours histogram
  • Time between commits
  • Add/Modify/Delete ratio per user
  • Developer activity over time (date and hours, one dot per commit)

It requires Python and a few Python libs.



回答3:

TortoiseSVN can show you some, well, basic statistics.



回答4:

I've used StatSVN also. It does provide useful stats (have a look at an example output for Ant), but it does require you to have already done a svnlog of the repository and have a working copy checked out to perform the analysis on.



回答5:

In case this is useful: https://github.com/dsw/svn-dump-tools

The Queensland Australia police once used it for something, but I don't know what.

                        SVN Dump Tools
                     Daniel S. Wilkerson

File svn-dumpfile-grammar.txt is documentation for the grammar of an svn dumpfile.

Tools svn-dump2dir and svn-dir2dump are utilities for easily hacking on the history of a subversion repository.

Tool simple-patch is a simpler version of patch that you can control much more easily than Larry Wall's patch (written in Perl; I can hear Larry screaming).

All software is released under the BSD license, which you can find in each program file.