This chapter will tell you how to use the findbugs, static analysis tools under MyEclipse, without the developer having to work hard to find the flaws that are already in the code.
A: MyEclipse How to install the FindBugs plugin
1:findbugs plugin:
https://sourceforge.net/projects/findbugs/files/findbugs%20eclipse%20plugin/
I am using 1.3.9 version, click on the download version link, go to the download page, select File: Edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821.zip
2: After the plugin download, unzip to the%myeclipse%myeclipse 10\dropins directory, restart the myeclipse can be used.
II: Under MyEclipse, how to use FindBugs
1: Open findbugs View
Enter MyEclipse, select Window-Show View-Other--findbugs, select both views, check out the problem will be displayed in both views
2: Use FindBugs for the project
Select item, right--Select Find Bugs--find Bugs, if there is a problem with the project, it will be listed in FindBugs view
Three: Frequently asked questions explanation and processing
1: Issue:Bug: The class name test doesn ' t start with a upper case letter
Pattern ID: Nm_class_naming_convention, type: Nm, Category: bad_practice
Cause: The type first character of the class should be capitalized.
The use of project management _findbugs