Previous Versions

  • Version 2.5.2
  • Version 2.5
  • Version 2.4.0
  • Version 2.3.3
  • Back to Mojo

Overview

  • Introduction
  • Goals
  • Usage
  • FAQ

Examples

  • Sample Report
  • Sample XML xdoc Report
  • Sample Legacy XML Report
  • Multi-Module Configuration
  • Violation Checking Configuration

Project Documentation

  • Project Information
    • Continuous Integration
    • About
    • Issue Tracking
    • Mailing Lists
    • Project Team
    • Source Repository
    • Project Summary
    • Dependencies
    • Dependency Management
    • Project License
    • Plugin Management
  • Project Reports

spacer

FindBugs Maven Plugin

Please Note - This version is using Findbugs 2.0.1.

FindBugs looks for bugs in Java programs. It is based on the concept of bug patterns. A bug pattern is a code idiom that is often an error. Bug patterns arise for a variety of reasons:

  • Difficult language features
  • Misunderstood API methods
  • Misunderstood invariants when code is modified during maintenance
  • Garden variety mistakes: typos, use of the wrong boolean operator

FindBugs uses static analysis to inspect Java bytecode for occurrences of bug patterns. We have found that FindBugs finds real errors in most Java software. Because its analysis is sometimes imprecise, FindBugs can report false warnings, which are warnings that do not indicate real errors. In practice, the rate of false warnings reported by FindBugs is generally less than 50%.

FindBugs is free software, available under the terms of the Lesser GNU Public License. It is written in Java, and can be run with any virtual machine compatible with Java 5. It can analyze programs written for any version of Java. FindBugs was originally developed by Bill Pugh. It is maintained by Bill Pugh, David Hovemeyer, and a team of volunteers.

FindBugs uses BCEL to analyze Java bytecode. It uses dom4j for XML manipulation.

This introduction is an excerpt from the Facts Sheet at FindBugs home page.

See a sample report.

To see more documentation about FindBugs' options, please see the FindBugs Manual.

Please Note

As of version 2.0, you will need to use JDK 5 or greater to run this plugin. This is a requirement imposed by Findbugs.


gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.