官方网址:http://findbugs.sourceforge.net
下载地址:https://download.csdn.net/download/luxiukang/10540185其他地址: https://zh.osdn.net/projects/sfnet_findbugs/releases/
两个做法:1 - 2.1 - 3.1 - 4 - 5
或 1 - 2.2 - 3.3 - 4 - 5
1.下载edu.umd.cs.findbugs.plugin.eclipse_2.0.2.20121119;
2.1.解压到MyEclipse安装目录下common/plugins目录下;
3.1.修改MyEclipse安装目录下\MyEclipse 10\configuration\org.eclipse.equinox.simpleconfigurator的bundles.info文件
在最后一行添加:
edu.umd.cs.findbugs.plugin.eclipse,2.0.2.20121119,../Common/plugins/edu.umd.cs.findbugs.plugin.eclipse_2.0.2.20121119/,4,false
或
2.2.解压到MyEclipse安装目录下MyEclipse 10\dropins目录下;
3.2.修改MyEclipse安装目录下\MyEclipse 10\configuration\org.eclipse.equinox.simpleconfigurator的bundles.info文件
在最后一行添加:
edu.umd.cs.findbugs.plugin.eclipse,2.0.2.20121119,dropins/edu.umd.cs.findbugs.plugin.eclipse_2.0.2.20121119/,4,false
4.重启MyEclipse;
5.使用方法: 选中项目右击->FindBugs->FindBugs;
6. bugs的信息可在problems中查看FindBugs的详细Bug描述见
7.FindBugs的详细bug描述清单见:http://findbugs.sourceforge.net/bugDescriptions.html
参考文章:
https://blog.csdn.net/p1i2n3g4/article/details/53556602