统计SVN代码提交情况-官方方法

目录

准备

开始

结果

参考资料


SVN命令统计项目代码行数,开发人数,提交占比.......

准备

工具:satasvn.jar
下载地址StatSVN download | SourceForge.net

注意这里下载的文件是statsvn-0.7.0版本的

如遇到如下问题
Subversion binary is incorrect version. Found: 1.14.1, required: 1.3.0
请使用0.7.1版本,修复

https://github.com/AusHick/StatSVN/releases/tag/v0.7.1

https://gitee.com/tianmuyese/aushick-statsvn/releases/tag/v0.7.1

前提条件
1.java环境
2.svn安装时勾选了“命令行功能”并安装。

开始

下载satasvn后,解压

网上很多小哥都是写命令行操作,咱们今天使用官方方法

打开readme

StatSVN README
  ==============
      StatSVN is a statistics tool for SVN repositories. It generates
      HTML reports from SVN log files.
  The StatSVN Manual
      The StatSVN manual is located here: http://svn.statsvn.org/statsvnwiki/index.php/UserManual
  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.
  1. http://sourceforge.net/projects/statsvn/,下载文件statsvn
  2. 解压出statsvn.jar
  3. 导出你的svn项目到一个目录myproject
  4. 在你的项目文件夹myproject下打开命令行,执行命令svn log --xml -v > svn.log
  5. 重新进入statsvn文件夹
  6. 打开命令行,执行java -jar statsvn.jar c:\myproject\svn.log c:\myproject
  7. 打开你的statsvn下index.html就可以看到你的代码统计量了

中文版操作方法参考

https://qingquanspace.yuque.com/docs/share/df267b34-5633-463e-8893-504603c585fd?#%20《统计SVN代码提交情况-官方方法》

结果

参考资料

svn代码量统计_Charles.zhang的博客-CSDN博客_svn代码统计

统计svn 代码提交情况 - testway - 博客园

快速统计SVN代码提交行数_sunxiaolin2016的博客-CSDN博客_svn统计每个人代码提交行数

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值