Install:
1.
In Eclipse, click on Help -> Install New
Software...
2.
Click on Add.. Enter the following:
3.
Name: FindBugs for Eclipse
4.
URL: http://findbugs.cs.umd.edu/eclipse/
and click OK.
5.
You should see FindBugs. Select the checkbox
next to it and click Next >
Usage:
- Open new Perspective > Choose FindBugs
- Open any file and right click > Find Bugs > Check code with Find Bugs
Now you can see the list of bugs
(potential risks, best practice issues) in Bug
Explorer.
Click on each bug and then you can
see in Bug Info the detail,
description and suggestion to solve the bug.
No comments:
Post a Comment