SVN 统计工具 StatSVN

StatSVN可以根据SVN版本库的日志记录分析库,生成各种统计结果,比如:

1、统计每个开发人员提交代码的行数;

2、统计一天中用户的活动分布

3、文件的数量

4、文件夹的大小

等等。

 

StatSVN网址:http://www.statsvn.org/

下载地址:http://www.statsvn.org/downloads.html

下载后解压缩即可,按照readme.txt中的方法操作就行了。

需要安装JDK和SVN服务端,在SVN服务端中进入SVN命令行,然后执行生成svn.log的操作。

生成图片使用的是JFreeChart,对于汉字可能会出现乱码。

 

官方给的使用方法:

写道
Quick Start

* Download the latest release from http://sourceforge.net/projects/statsvn/
* Expand the zip file into some directory, e.g c:\statsvn
* Check out a working copy of the desired SVN module into some directory, e.g. c:\myproject.
* Change into that directory and type 'svn log --xml -v > svn.log'
* Change back to the c:\statsvn directory
* type 'java -jar statsvn.jar c:\myproject\svn.log c:\myproject'
* Open c:\statsvn\index.html in your web browser

You can tweak the output of StatSVN in various ways. Run
'java -jar statsvn.jar' for an overview of the command line
parameters, and check the manual for full information.

 

建议输入如下命令进行统计:

java -jar statsvn.jar c:\myproject\svn.log c:\myproject -output-dir c:\outputdir

 这样可以指定输出目录

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值