Ad

How To Export Findbugs Results From Eclipse Findbugs Plugin?

- 1 answer

I have findbugs plugin for eclipse which when run on my project will show results in Bugs explorer clubbed by the type of bug.

I need to be able to do two things:

  • Export all these to excel sheet
  • Find out the bugs reported in a set of files (and be able to do it recursively w/o running for whole project and exporting and finding out the classes to be modified.

Any suggestions?

FYI, I am using MyEclipse v 6.0.1 and FindBugs 1.3.4

Ad

Answer

Findbugs dumps its results into an XML file in your workspace's .metadata folder. Look for the subfolder that's named something like findbugs.

You can also download a standalone version of Findbugs that will save the results wherever you like.

Once you have the results file, you might be able to import from XML to Excel and filter there. Alternatively, you can use XSLT to transform to several CSV files and open them in Excel.

Ad
source: stackoverflow.com
Ad