Skip to content

AndersDJohnson/findbugs-diff

Repository files navigation

Report FindBugs diffs.

Build Status

Use

Note: Must be run on FindBugs XML reports generated with the xml:withMessages option, so that BugInstance elements have instanceHash attributes, which is necessary for diffing.

CLI

JAR

Download a JAR findbugs-diff-${version}-all.jar from releases, e.g. v0.1.0.

For CLI usage, including all available options, run:

java -jar findbugs-diff-0.1.0-all.jar

Here's a basic example:

java -jar findbugs-diff-0.1.0-all.jar "./path/to/1st/findbugs.xml" "./path/to/2nd/findbugs.xml"

maven-bin

Alternatively, you can use my project maven-bin as follows:

  1. Install maven-bin.
  2. Run mvbn me.andrz.findbugs:findbugs-diff.

Support

  • FindBugs 2, 3
  • Java 1.6, 1.7

Alternatives

Other research

Dev

Set default log level for slf4j simple:

-Dorg.slf4j.simpleLogger.defaultLogLevel=debug