一、我的运行环境如下
* MacOS
* Java 1.8
* python2.7
* Git 2.15.1
二、在这里下载 repoScan-1.0.jar 。
https://download.youkuaiyun.com/download/tony1130/12239750
三、在自己电脑上安装:
1. 安装 git
2. 安装Python。
3. 用下面的命令安装 lizard
(它是扫描代码内部质量的工具,如圈复杂度,函数长度,代码重复读等等,https://github.com/terryyin/lizard)
pip install lizard
四、开始收集代码仓库的质量数据
1、Clone 一个git代码仓库到本地,例如 谷歌的Guava
git clone https://github.com/google/guava.git guava
2.进入到代码仓库的根目录guava
# 项目说明
按统计Git仓库中的代码圈复杂度
(去除所有的 */test/* 目录)
# 用到的工具
* Git
* [lizard](https://github.com/terryyin/lizard)
## 克隆和build
* 克隆本项目
* 在命令行下执行 `mvn test`,或者导