findbugs, checkstyle, pmd的myeclipse7.5+插件安装(转:http://blog.csdn.net/priestmoon/article/details/63941)
CheckStyle
(1)下載net.sf.eclipsecs_5.3.0.201012121300-updatesite-.zip
(2)打開MyEclipse,Help->Software Updates->Add/Remove Software
(3)Add->Add Archive,選中zip包->next->Apply
(4)右鍵菜單中出現(xiàn)Checkstyle
?
?
FindBugs
(1)下載edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821.zip,解壓到D:/program files/Genuitec/Common/plugins
(2)D:/program files/Genuitec/MyEclipse 7.5/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info文件末尾添加一行:
edu.umd.cs.findbugs.plugin.eclipse,1.3.9.20090821,file:/d:/Program Files/Genuitec/Common/plugins/edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821/,4,false
保存
(3)打開MyEclipse,右鍵菜單中出現(xiàn)Find bugs
?
?
PMD
(1)下載pmd-eclipse-1.8.0.zip,解壓將其中的文件夾net.sourceforge.pmd.eclipse_1.8.0拷貝到D:/program files/Genuitec/Common/plugins
(2)D:/program files/Genuitec/MyEclipse 7.5/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info文件末尾添加一行:
net.sourceforge.pmd.eclipse,1.8.0,file:/d:/Program Files/Genuitec/Common/plugins/net.sourceforge.pmd.eclipse_1.8.0/,4,false
保存
(3)打開MyEclipse,右鍵菜單中出現(xiàn)PMD。如需使用,必須先右鍵工程->PMD->PMD->Toggle PMD Nature添加PMD特性后方可使用。
?
?
FindBugs的GUI版
?
(1)啟動(dòng)findbugs-1.3.9/bin/findbugs.bat
(2)New Project->添加class和source路徑,必要時(shí)還可加上輔助jar包路徑->finish
(3)check被運(yùn)行并顯示找到的bug
總結(jié)
以上是生活随笔為你收集整理的findbugs, checkstyle, pmd的myeclipse7.5+插件安装(转:http://blog.csdn.net/priestmoon/article/details/63941)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 水滴互助是什么
- 下一篇: 花呗临时额度到期日就是还款日么