Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to export findbugs results from Eclipse findbugs plugin?

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

like image 277
Jagmal Avatar asked Sep 05 '08 17:09

Jagmal


1 Answers

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.

like image 91
Don Kirkby Avatar answered Oct 13 '22 18:10

Don Kirkby