Menu

#160 FindBugs Integration

open
nobody
5
2003-06-04
2003-06-04
No

I would like to see some integration of the excellent
FindBugs tool from the University of Maryland with
DrJava. The two stories below describe two potential
levels of integration, for the short-term and
long-term, respectively.

Sort-Term Story:

A user is editing several documents in DrJava and
wishes to run FindBugs on the associated class files
before submitting their work. They select "FindBugs"
from the Tools menu. DrJava launches a new instance of
the FindBugs GUI, passing it the locations of the
classfiles associated with the current open documents
and the user's current classpath. The user can then
use FindBugs as usual, referring back to the documents
in DrJava manually.

Longer-Term Story:

A user wishes to run the FindBugs filters on the
currently opened documents. They select "FindBugs"
from the Tools menu. DrJava uses the FindBugs patterns
with the current documents and classpath, displaying a
new tab with a progress bar a la the JUnit tab. When
the analysis is complete, the pattern hits are
displayed in the tab with the same style of interaction
as errors from the compiler, JUnit, or Javadoc,
including the ability to jump to hit locations and edit
the source in question.

The FindBugs support could also be integrated with any
notion of projects which we might add to DrJava.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.