Java, Eclipse and Web programming Tutorials
Follow me on twitter About Lars Vogel

FindBugs in Eclipse

Lars Vogel

Version 0.5

03.08.2008

Revision History
Revision 0.118.03.2008Lars Vogel
Findbugs
Revision 0.218.05.2008Lars Vogel
Checkstyle
Revision 0.316.07.2009Lars Vogel
updated installation of Findbugs, new screenshots
Revision 0.421.07.2009Lars Vogel
update installation description to checkstyle
Revision 0.503.08.2009Lars Vogel
Own article for Findbugs

Findbugs

This article will describe the usage of the Findbugs plugin for Eclipse.


Table of Contents

1. Findbugs
2. Using Findbugs
2.1. Installation
2.2. Configuration
2.3. Using Findbugs in your projects
3. Thank you
4. Questions and Discussion

1.  Findbugs

Findbugs performs static analysis for the Java byte-code to identify software bugs. By providing early feedback about certain (potential) errors in the coding it helps the developer to quickly identify problems in his coding.

2. Using Findbugs

2.1.  Installation

Use the update manager to install Findbugs from the Findbugs Update Site http://findbugs.cs.umd.edu/eclipse .

Please see Eclipse Update Manager for more information on how to use the update manager.

2.2. Configuration

After installing findbugs you can activate findbugs for your project via the properties of your project and select FindBugs -> Run FindBugs automatically.

2.3.  Using Findbugs in your projects

To see the Findbugs errors, select Window->Show View -> Other. The Findbugs errors will be displayed in this view.

3. Thank you

Thank you for practicing with this tutorial.

Please note that I maintain this website in my private time. If you like the information I'm providing please help me by donating.

4. Questions and Discussion

For questions and discussion around this article please use the www.vogella.de Google Group. Also if you note an error in this article please post the error and if possible the correction to the Group.

I believe the following is a very good guideline for asking questions in general and also for the Google group How To Ask Questions The Smart Way.

/>