FindBugs 網站http://findbugs.sourceforge.net/bugDescriptions.html提供了完整的類型清單。
- In Eclipse, click on Help -> Software Update -> Find and Install...
- Choose the Search for new features to install option, and click Next.
- Click New Remote Site.
- Enter the following:
- Name: FindBugs update site
- URL: one of the following (note: no final slash on the url)
- http://findbugs.cs.umd.edu/eclipse for official releases
- http://findbugs.cs.umd.edu/eclipse-candidate for candidate releases and official releases
- http://findbugs.cs.umd.edu/eclipse-daily for all releases, including developmental ones
- "FindBugs update site" should appear under Sites to include in search.
Click the checkbox next to it to select it, and click Finish. - You should see FindBugs Feature under Select features to install.
(You may have to click on one or two triangles to make it visible in the tree.)
Select the checkbox next to it and click next. - Select the I accept option to accept the license and click Next.
- Make sure the location is correct where you're installing it. The default (your workspace) should be fine. Click Finish.
- The plugin is not digitally signed. Go ahead and install it anyway.
- Click Yes to make Eclipse restart itself.
它是幹嘛的?
哪裏下載?
如何安裝?
copy到eclipse的plugin目錄中去;
怎麼用?
(eclipse 左下角)
找出的bug有3中顏色, 黑色的臭蟲標誌是分類, 紅色的臭蟲表示嚴重bug發現後必須修改代碼,橘黃色的臭蟲表示潛在警告性bug 儘量修改。(附錄是各種bug的解釋及修改方案,請大家按附表參考修改)
參考資料
所有插件都必須配置在這個文件裏纔可以使用,這個文件的格式是