vogella.de

Follow me on twitter
About Lars Vogel
Flattr this

FindBugs in Eclipse - Tutorial

Lars Vogel

Version 0.6

02.06.2010

Revision History
Revision 0.118.03.2008Lars Vogel
Created
Revision 0.2 - 0.5 18.05.2008 - 03.08.2009 Lars Vogel
bugfixes and updates
Revision 0.602.06.2010Lars Vogel
updated to latest Findbugs version and Eclipse 3.6

Findbugs

This article will describe the usage of the Findbugs plugin for Eclipse. Article is based on Eclipse 3.6 (Helios).


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
5. Links and Literature
5.1. Code Analysis resources
5.2. vogella Resources

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 Eclipse update manager to install Findbugs from the Findbugs update site http://findbugs.cs.umd.edu/eclipse .

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.

I maintain this tutorial in my private time. If you like the information please help me by using flattr or donating or by recommending this tutorial to other people.

Flattr this

4. Questions and Discussion

Before posting questions, please see the vogella FAQ . If you have questions or find an error in this article please use the www.vogella.de Google Group . I have created a short list how to create good questions which might also help you. .

5. Links and Literature

5.1. Code Analysis resources

http://findbugs.sourceforge.net Findbugs Homepage