@GOOGLE_ANALYTICS@ @HTML_SIDEBAR@

Contributing to FindBugs

If you have a bug fix or feature enhancement you would like to contribute, we would be happy to consider it for inclusion.

Import FindBugs code as Eclipse projects

The preferred way to get the FindBugs source code and create the patch is to use Eclipse + Git. You can easily import FindBugs code into Eclipse by following the steps described here: Import Eclipse projects .

Preparing a patch

The best way to create a patch is to clone FindBugs Git repository here: http://code.google.com/p/findbugs/source/clones, commit changes with descriptive commit messages (small commits are better) and create a new patch ticket with the link to your repository.

Please follow these guidelines when preparing your patch:

  • Use the same indentation style as the source file(s) you are modifying. In particular, please use spaces to indent your code; four spaces per indent level.
  • If at all possible, avoid making whitespace modifications.
  • Small patches/changesets are appreciated.
  • If you are submitting a new bug detector, please submit a small standalone source file that contains an instance of the kind of bug the detector looks for.

Following these guidelines makes it much easier for us to incorporate new code.

How to submit a patch

Patches may be submitted through the Patches tracker on the sourceforge project page. @HTML_FOOTER@