It is a static analysis tool that analyzes the source and finds out potential problems (bugs). A plug-in for Eclipse is also available, and execution and display of execution results from eclipse Is possible.
-Right-click on the target project-> Find Bugs-> Find Bugs Will perform the source analysis.
[After execution] "(Number of bugs)" is displayed to the right of the file name that is determined to have a potential bug.
[Open the file] As shown below, the bug icon is displayed in the place where there seems to be a latent bug.
[Click the bug icon] The Bug Info View shows the following possible bugs:
If you check "Run FindBugs automatically" in the project unit settings, analysis will be automatically executed at the time of build, and potential bugs can be eliminated at an early stage.
Recommended Posts