代码检查工具findbugs和checkstyle部署




代码检测工具findbugs和checkstyle工具及部署步骤

一、findbugs配置

1.下载Eclipse插件[edu.umd.cs.findbugs.plugin.eclipse_3.0.0.20140706-2cfb468.zip、

2.将该文件解压,获得edu.umd.cs.findbugs.plugin.eclipse_3.0.0.20140706-2cfb468文件夹。

3.将文件夹放到myeclipse的安装目录dropins文件夹中。

4.重启myeclipse

二、checkstyle配置

1.下载checkstyle插件[net.sf.eclipsecs-updatesite_5.7.0.201402131929-bin.zip、
2.将该文件解压,将解压的文件夹中features和plugins中的内容分别放到myeclipse安装目录同等目录中。

3.打开安装目录中myeclipse.ini文件,在文件中加入“-clean”指令。

4.重启myeclipse

猜你喜欢

转载自hcl408533403.iteye.com/blog/2192618