Lars Vogel, (c) 2008, 2016 vogella GmbH Version 1.6, 29.08.2016
FindBugs. This tutorial describes the usage of the FindBugs plug-in for Eclipse. It is based on Eclipse 4.6.
- 1. What is FindBugs
- 2. Installation of the FindBugs tooling for Eclipse
- 3. Using FindBugs in Eclipse
- 4. Links and Literature
- 5. vogella training and consulting support
- Appendix A: Copyright, License and Source code
FindBugs is an open source project for a static analysis of the Java bytecode to identify potential software bugs. Findbugs provides early feedback about potential errors in the code. This helps the developer to access these problems early in the development phase.
The analysis of Findbugs can be integrated into existing IDEs like the Eclipse IDE of IntelliJ.
Use themenu entry to install all the FindBugs components from the following URL. Restart your Eclipse IDE after the installation completes.
To run the error analysis of FindBugs on a project, right-click on it and select themenu entry.
FindBugs provides specialized views to see the reported error messages. Selectto access the views.
The FindBugs error messages are also displayed in the Problems view or as decorators in the Package Explorer view.
You can configure that FindBugs should run automatically for a selected project. For this right-click on a project and select Properties from the popup menu. Select.
Copyright © 2012-2019 vogella GmbH. Free use of the software examples is granted under the terms of the Eclipse Public License 2.0. This tutorial is published under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany license.