StatSvn导出SVN代码量报告
来源:互联网 发布:淘宝网有没有海外版 编辑:程序博客网 时间:2024/04/30 20:28
Step 1.从subversion官网下载安装程序,下载地址为:http://sourceforge.net/projects/win32svn/(这个是Windows版的~)。安装之后就有了svn.exe这个基于命令行的客户端工具,安装程序把svn.exe的路径加入了path环境变量,我们已经可以在命令行中直接输入svn就可以使用了;
Step 2.从SVN仓库拉取最新的项目,svn checkout [svn地址] --username [用户名];
Step 3.进入到工作目录,生成SVN Log文件:svn log -v --xml > logfileName.log;logfileName.log为log文件的名称;
Step 4.到StatSvn的官网下载StatSvn的压缩包,官网地址:http://www.statsvn.org/;解压到硬盘随意一个目录,会发现里面有个StatSvn的jar包~;
Step 5.调用StatSvn的命令进行统计:java -jar statsvn.jar [LogFile Path] [SVN CheckOut Path]
执行完上面的步骤,会发现在解压的statSvn的文件夹下生成了一大堆的文件,找到index.html双击打开查看统计结果~
Some options:
-version print the version information and exit
-output-dir <dir> directory where HTML suite will be saved
-include <pattern> include only files matching pattern, e.g. **/*.c;**/*.h
-exclude <pattern> exclude matching files, e.g. tests/**;docs/**
-tags <regexp> show matching tags in lines of code chart, e.g. version-.*
-title <title> Project title to be used in reports
-viewvc <url> integrate with ViewVC installation at <url>
-trac <url> integrate with Trac at <url>
-bugzilla <url> integrate with Bugzilla installation at <url>
-username <svnusername> username to pass to svn
-password <svnpassword> password to pass to svn
-verbose print extra progress information
-xdoc optional switch output to xdoc
-xml optional switch output to xml
-threads <int> how many threads for svn diff (default: 25)
-concurrency-threshold <millisec> switch to concurrent svn diff if 1st call>threshol
-dump dump the Repository content on console
-charset <charset> specify the charset to use for html/xdoc
-tags-dir <directory> optional, specifies the director for tags (default '/tags/')
Full options list: http://www.statsvn.org
- StatSvn导出SVN代码量报告
- StatSVN统计SVN中的代码量
- 使用statsvn统计svn中的代码量
- 使用statsvn统计svn代码量方法
- StatSVN统计SVN中的代码量
- 使用statsvn来统计svn中的代码量
- svn代码量统计工具StatSVN的使用
- 用StatSVN统计svn项目中每人代码提交量
- SVN代码统计工具statsvn
- StatSvn 统计SVN代码信息
- StatSvn 统计SVN代码信息
- SVN代码统计工具statsvn
- SVN代码统计工具statsvn
- SVN代码统计工具——statsvn
- 代码统计工具statsvn
- 使用StatSVN统计代码
- statsvn查看代码情况
- statsvn SVN不是内部命令
- void NetReceive(volatile uchar * inpkt, int len)
- 寻找最大的第K个数
- Pascal's Triangle
- android performance analyse
- Android调用天气预报的WebService简单例子
- StatSvn导出SVN代码量报告
- Win7无法访问2003server中的TFS,并且无法访问共享文件夹
- OpenCV函数cvWatershed图像分割中分水岭算法
- const函数参数优点
- GetPrivateProfileString 配置文件 ini
- Andriod 实现自己的Service
- eclipse快捷键及各种设置
- hadoop kerberos 安全机制
- 二级联通